1// Jest Snapshot v1, https://goo.gl/fbAQLP 2 3exports[`APISection expo-apple-authentication 1`] = ` 4<div> 5 <h2 6 class=" css-13x385i-TextComponent" 7 data-heading="true" 8 > 9 <a 10 class="css-1y48vg3" 11 href="#component" 12 > 13 <span 14 class="css-s3qkfm" 15 id="component" 16 /> 17 <span 18 class="css-6n7j50" 19 > 20 Component 21 </span> 22 <span 23 class="css-1eysgws" 24 > 25 <svg 26 aria-label="permalink" 27 class="anchor-icon" 28 fill="none" 29 height="24" 30 viewBox="0 0 24 24" 31 width="24" 32 xmlns="http://www.w3.org/2000/svg" 33 > 34 <path 35 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 36 stroke="#9B9B9B" 37 stroke-linecap="round" 38 stroke-linejoin="round" 39 stroke-width="2" 40 /> 41 <path 42 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 43 stroke="#9B9B9B" 44 stroke-linecap="round" 45 stroke-linejoin="round" 46 stroke-width="2" 47 /> 48 </svg> 49 </span> 50 </a> 51 </h2> 52 <div 53 class="css-1h8tzv" 54 > 55 <h3 56 class=" css-6r23rc-TextComponent" 57 data-heading="true" 58 > 59 <a 60 class="css-1y48vg3" 61 href="#appleauthenticationbutton" 62 > 63 <span 64 class="css-s3qkfm" 65 id="appleauthenticationbutton" 66 /> 67 <span 68 class="css-6n7j50" 69 > 70 <code 71 class="css-4xa05b-TextComponent" 72 data-text="true" 73 > 74 AppleAuthenticationButton 75 </code> 76 </span> 77 <span 78 class="css-1eysgws" 79 > 80 <svg 81 aria-label="permalink" 82 class="anchor-icon" 83 fill="none" 84 height="24" 85 viewBox="0 0 24 24" 86 width="24" 87 xmlns="http://www.w3.org/2000/svg" 88 > 89 <path 90 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 91 stroke="#9B9B9B" 92 stroke-linecap="round" 93 stroke-linejoin="round" 94 stroke-width="2" 95 /> 96 <path 97 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 98 stroke="#9B9B9B" 99 stroke-linecap="round" 100 stroke-linejoin="round" 101 stroke-width="2" 102 /> 103 </svg> 104 </span> 105 </a> 106 </h3> 107 <p 108 class="css-hnkmoy-TextComponent" 109 data-text="true" 110 > 111 <strong 112 class="css-bvflvn-TextComponent" 113 > 114 Type: 115 </strong> 116 117 <code 118 class="css-4xa05b-TextComponent" 119 data-text="true" 120 > 121 React.Element 122 < 123 <a 124 class="css-1na8e0o-A" 125 href="#appleauthenticationbuttonprops" 126 > 127 AppleAuthenticationButtonProps 128 </a> 129 > 130 </code> 131 </p> 132 <p 133 class="css-hnkmoy-TextComponent" 134 data-text="true" 135 > 136 This component displays the proprietary "Sign In with Apple" / "Continue with Apple" button on 137your screen. The App Store Guidelines require you to use this component to start the 138authentication process instead of a custom button. Limited customization of the button is 139available via the provided properties. 140 </p> 141 142 143 <p 144 class="css-hnkmoy-TextComponent" 145 data-text="true" 146 > 147 You should only attempt to render this if 148 <a 149 class="css-1na8e0o-A" 150 href="#isavailableasync" 151 > 152 <code 153 class="css-23wgco-TextComponent" 154 data-text="true" 155 > 156 AppleAuthentication.isAvailableAsync() 157 </code> 158 </a> 159 160resolves to 161 <code 162 class="css-23wgco-TextComponent" 163 data-text="true" 164 > 165 true 166 </code> 167 . This component will render nothing if it is not available, and you will get 168a warning in development mode ( 169 <code 170 class="css-23wgco-TextComponent" 171 data-text="true" 172 > 173 __DEV__ === true 174 </code> 175 ). 176 </p> 177 178 179 <p 180 class="css-hnkmoy-TextComponent" 181 data-text="true" 182 > 183 The properties of this component extend from 184 <code 185 class="css-23wgco-TextComponent" 186 data-text="true" 187 > 188 View 189 </code> 190 ; however, you should not attempt to set 191 192 <code 193 class="css-23wgco-TextComponent" 194 data-text="true" 195 > 196 backgroundColor 197 </code> 198 or 199 <code 200 class="css-23wgco-TextComponent" 201 data-text="true" 202 > 203 borderRadius 204 </code> 205 with the 206 <code 207 class="css-23wgco-TextComponent" 208 data-text="true" 209 > 210 style 211 </code> 212 property. This will not work and is against 213the App Store Guidelines. Instead, you should use the 214 <code 215 class="css-23wgco-TextComponent" 216 data-text="true" 217 > 218 buttonStyle 219 </code> 220 property to choose one of the 221predefined color styles and the 222 <code 223 class="css-23wgco-TextComponent" 224 data-text="true" 225 > 226 cornerRadius 227 </code> 228 property to change the border radius of the 229button. 230 </p> 231 232 233 <p 234 class="css-hnkmoy-TextComponent" 235 data-text="true" 236 > 237 Make sure to attach height and width via the style props as without these styles, the button will 238not appear on the screen. 239 </p> 240 <blockquote 241 class="css-opaww-Callout" 242 data-testid="callout-container" 243 > 244 <div 245 class="css-ks2t0-Callout" 246 > 247 <svg 248 color="var(--expo-theme-icon-default)" 249 fill="none" 250 height="16" 251 role="img" 252 size="16" 253 viewBox="0 0 20 20" 254 width="16" 255 > 256 <title> 257 Info-icon 258 </title> 259 <path 260 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 261 fill="var(--expo-theme-icon-default)" 262 /> 263 </svg> 264 </div> 265 <div 266 class="css-1m74yfi-Callout" 267 > 268 <p 269 class="css-hnkmoy-TextComponent" 270 data-text="true" 271 > 272 <strong 273 class="css-bvflvn-TextComponent" 274 > 275 See: 276 </strong> 277 278 <a 279 class="css-1na8e0o-A" 280 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidbutton" 281 rel="noopener noreferrer" 282 target="_blank" 283 > 284 Apple 285Documentation 286 </a> 287 288for more details. 289 </p> 290 </div> 291 </blockquote> 292 <h2 293 class=" css-13x385i-TextComponent" 294 data-heading="true" 295 > 296 <a 297 class="css-1y48vg3" 298 href="#props" 299 > 300 <span 301 class="css-s3qkfm" 302 id="props" 303 /> 304 <span 305 class="css-6n7j50" 306 > 307 Props 308 </span> 309 <span 310 class="css-1eysgws" 311 > 312 <svg 313 aria-label="permalink" 314 class="anchor-icon" 315 fill="none" 316 height="24" 317 viewBox="0 0 24 24" 318 width="24" 319 xmlns="http://www.w3.org/2000/svg" 320 > 321 <path 322 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 323 stroke="#9B9B9B" 324 stroke-linecap="round" 325 stroke-linejoin="round" 326 stroke-width="2" 327 /> 328 <path 329 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 330 stroke="#9B9B9B" 331 stroke-linecap="round" 332 stroke-linejoin="round" 333 stroke-width="2" 334 /> 335 </svg> 336 </span> 337 </a> 338 </h2> 339 <div> 340 <div 341 class="css-c22nmz" 342 > 343 <h3 344 class=" css-6r23rc-TextComponent" 345 data-heading="true" 346 > 347 <a 348 class="css-1y48vg3" 349 href="#buttonstyle" 350 > 351 <span 352 class="css-s3qkfm" 353 id="buttonstyle" 354 /> 355 <span 356 class="css-6n7j50" 357 > 358 <code 359 class="css-1qdx416-TextComponent" 360 data-text="true" 361 > 362 buttonStyle 363 </code> 364 </span> 365 <span 366 class="css-1eysgws" 367 > 368 <svg 369 aria-label="permalink" 370 class="anchor-icon" 371 fill="none" 372 height="24" 373 viewBox="0 0 24 24" 374 width="24" 375 xmlns="http://www.w3.org/2000/svg" 376 > 377 <path 378 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 379 stroke="#9B9B9B" 380 stroke-linecap="round" 381 stroke-linejoin="round" 382 stroke-width="2" 383 /> 384 <path 385 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 386 stroke="#9B9B9B" 387 stroke-linecap="round" 388 stroke-linejoin="round" 389 stroke-width="2" 390 /> 391 </svg> 392 </span> 393 </a> 394 </h3> 395 <p 396 class="css-hnkmoy-TextComponent" 397 data-text="true" 398 > 399 <span 400 class="css-1lk0cux" 401 > 402 Type: 403 </span> 404 405 <code 406 class="css-4xa05b-TextComponent" 407 data-text="true" 408 > 409 <a 410 class="css-1na8e0o-A" 411 href="#appleauthenticationbuttonstyle" 412 > 413 AppleAuthenticationButtonStyle 414 </a> 415 </code> 416 </p> 417 <p 418 class="css-hnkmoy-TextComponent" 419 data-text="true" 420 > 421 The Apple-defined color scheme to use to display the button. 422 </p> 423 <br /> 424 </div> 425 <div 426 class="css-c22nmz" 427 > 428 <h3 429 class=" css-6r23rc-TextComponent" 430 data-heading="true" 431 > 432 <a 433 class="css-1y48vg3" 434 href="#buttontype" 435 > 436 <span 437 class="css-s3qkfm" 438 id="buttontype" 439 /> 440 <span 441 class="css-6n7j50" 442 > 443 <code 444 class="css-1qdx416-TextComponent" 445 data-text="true" 446 > 447 buttonType 448 </code> 449 </span> 450 <span 451 class="css-1eysgws" 452 > 453 <svg 454 aria-label="permalink" 455 class="anchor-icon" 456 fill="none" 457 height="24" 458 viewBox="0 0 24 24" 459 width="24" 460 xmlns="http://www.w3.org/2000/svg" 461 > 462 <path 463 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 464 stroke="#9B9B9B" 465 stroke-linecap="round" 466 stroke-linejoin="round" 467 stroke-width="2" 468 /> 469 <path 470 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 471 stroke="#9B9B9B" 472 stroke-linecap="round" 473 stroke-linejoin="round" 474 stroke-width="2" 475 /> 476 </svg> 477 </span> 478 </a> 479 </h3> 480 <p 481 class="css-hnkmoy-TextComponent" 482 data-text="true" 483 > 484 <span 485 class="css-1lk0cux" 486 > 487 Type: 488 </span> 489 490 <code 491 class="css-4xa05b-TextComponent" 492 data-text="true" 493 > 494 <a 495 class="css-1na8e0o-A" 496 href="#appleauthenticationbuttontype" 497 > 498 AppleAuthenticationButtonType 499 </a> 500 </code> 501 </p> 502 <p 503 class="css-hnkmoy-TextComponent" 504 data-text="true" 505 > 506 The type of button text to display ("Sign In with Apple" vs. "Continue with Apple"). 507 </p> 508 <br /> 509 </div> 510 <div 511 class="css-c22nmz" 512 > 513 <h3 514 class=" css-6r23rc-TextComponent" 515 data-heading="true" 516 > 517 <a 518 class="css-1y48vg3" 519 href="#cornerradius" 520 > 521 <span 522 class="css-s3qkfm" 523 id="cornerradius" 524 /> 525 <span 526 class="css-6n7j50" 527 > 528 <code 529 class="css-1qdx416-TextComponent" 530 data-text="true" 531 > 532 cornerRadius 533 </code> 534 </span> 535 <span 536 class="css-1eysgws" 537 > 538 <svg 539 aria-label="permalink" 540 class="anchor-icon" 541 fill="none" 542 height="24" 543 viewBox="0 0 24 24" 544 width="24" 545 xmlns="http://www.w3.org/2000/svg" 546 > 547 <path 548 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 549 stroke="#9B9B9B" 550 stroke-linecap="round" 551 stroke-linejoin="round" 552 stroke-width="2" 553 /> 554 <path 555 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 556 stroke="#9B9B9B" 557 stroke-linecap="round" 558 stroke-linejoin="round" 559 stroke-width="2" 560 /> 561 </svg> 562 </span> 563 </a> 564 </h3> 565 <p 566 class="css-hnkmoy-TextComponent" 567 data-text="true" 568 > 569 <span 570 class="css-1lk0cux" 571 > 572 Optional • 573 </span> 574 <span 575 class="css-1lk0cux" 576 > 577 Type: 578 </span> 579 580 <code 581 class="css-4xa05b-TextComponent" 582 data-text="true" 583 > 584 number 585 </code> 586 </p> 587 <p 588 class="css-hnkmoy-TextComponent" 589 data-text="true" 590 > 591 The border radius to use when rendering the button. This works similarly to 592 593 <code 594 class="css-23wgco-TextComponent" 595 data-text="true" 596 > 597 style.borderRadius 598 </code> 599 in other Views. 600 </p> 601 <br /> 602 </div> 603 <div 604 class="css-c22nmz" 605 > 606 <h3 607 class=" css-6r23rc-TextComponent" 608 data-heading="true" 609 > 610 <a 611 class="css-1y48vg3" 612 href="#onpress" 613 > 614 <span 615 class="css-s3qkfm" 616 id="onpress" 617 /> 618 <span 619 class="css-6n7j50" 620 > 621 <code 622 class="css-1qdx416-TextComponent" 623 data-text="true" 624 > 625 onPress 626 </code> 627 </span> 628 <span 629 class="css-1eysgws" 630 > 631 <svg 632 aria-label="permalink" 633 class="anchor-icon" 634 fill="none" 635 height="24" 636 viewBox="0 0 24 24" 637 width="24" 638 xmlns="http://www.w3.org/2000/svg" 639 > 640 <path 641 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 642 stroke="#9B9B9B" 643 stroke-linecap="round" 644 stroke-linejoin="round" 645 stroke-width="2" 646 /> 647 <path 648 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 649 stroke="#9B9B9B" 650 stroke-linecap="round" 651 stroke-linejoin="round" 652 stroke-width="2" 653 /> 654 </svg> 655 </span> 656 </a> 657 </h3> 658 <p 659 class="css-hnkmoy-TextComponent" 660 data-text="true" 661 > 662 <span 663 class="css-1lk0cux" 664 > 665 Type: 666 </span> 667 668 <code 669 class="css-4xa05b-TextComponent" 670 data-text="true" 671 > 672 ( 673 ) => 674 void 675 </code> 676 </p> 677 <p 678 class="css-hnkmoy-TextComponent" 679 data-text="true" 680 > 681 The method to call when the user presses the button. You should call 682 <a 683 class="css-1na8e0o-A" 684 href="#isavailableasync" 685 > 686 <code 687 class="css-23wgco-TextComponent" 688 data-text="true" 689 > 690 AppleAuthentication.signInAsync 691 </code> 692 </a> 693 694in here. 695 </p> 696 <br /> 697 </div> 698 <div 699 class="css-c22nmz" 700 > 701 <h3 702 class=" css-6r23rc-TextComponent" 703 data-heading="true" 704 > 705 <a 706 class="css-1y48vg3" 707 href="#style" 708 > 709 <span 710 class="css-s3qkfm" 711 id="style" 712 /> 713 <span 714 class="css-6n7j50" 715 > 716 <code 717 class="css-1qdx416-TextComponent" 718 data-text="true" 719 > 720 style 721 </code> 722 </span> 723 <span 724 class="css-1eysgws" 725 > 726 <svg 727 aria-label="permalink" 728 class="anchor-icon" 729 fill="none" 730 height="24" 731 viewBox="0 0 24 24" 732 width="24" 733 xmlns="http://www.w3.org/2000/svg" 734 > 735 <path 736 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 737 stroke="#9B9B9B" 738 stroke-linecap="round" 739 stroke-linejoin="round" 740 stroke-width="2" 741 /> 742 <path 743 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 744 stroke="#9B9B9B" 745 stroke-linecap="round" 746 stroke-linejoin="round" 747 stroke-width="2" 748 /> 749 </svg> 750 </span> 751 </a> 752 </h3> 753 <p 754 class="css-hnkmoy-TextComponent" 755 data-text="true" 756 > 757 <span 758 class="css-1lk0cux" 759 > 760 Optional • 761 </span> 762 <span 763 class="css-1lk0cux" 764 > 765 Type: 766 </span> 767 768 <code 769 class="css-4xa05b-TextComponent" 770 data-text="true" 771 > 772 StyleProp 773 < 774 <span> 775 <a 776 class="css-1na8e0o-A" 777 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" 778 rel="noopener noreferrer" 779 target="_blank" 780 > 781 Omit 782 </a> 783 < 784 <span> 785 <a 786 class="css-1na8e0o-A" 787 href="https://reactnative.dev/docs/view-style-props" 788 rel="noopener noreferrer" 789 target="_blank" 790 > 791 ViewStyle 792 </a> 793 , 794 </span> 795 <span> 796 <span> 797 'backgroundColor' 798 | 799 </span> 800 <span> 801 'borderRadius' 802 </span> 803 </span> 804 > 805 </span> 806 > 807 </code> 808 </p> 809 <p 810 class="css-hnkmoy-TextComponent" 811 data-text="true" 812 > 813 The custom style to apply to the button. Should not include 814 <code 815 class="css-23wgco-TextComponent" 816 data-text="true" 817 > 818 backgroundColor 819 </code> 820 or 821 <code 822 class="css-23wgco-TextComponent" 823 data-text="true" 824 > 825 borderRadius 826 </code> 827 828properties. 829 </p> 830 <br /> 831 </div> 832 <h3 833 class=" css-6r23rc-TextComponent" 834 data-heading="true" 835 > 836 <a 837 class="css-1y48vg3" 838 href="#inherited-props" 839 > 840 <span 841 class="css-s3qkfm" 842 id="inherited-props" 843 /> 844 <span 845 class="css-6n7j50" 846 > 847 Inherited Props 848 </span> 849 <span 850 class="css-1eysgws" 851 > 852 <svg 853 aria-label="permalink" 854 class="anchor-icon" 855 fill="none" 856 height="24" 857 viewBox="0 0 24 24" 858 width="24" 859 xmlns="http://www.w3.org/2000/svg" 860 > 861 <path 862 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 863 stroke="#9B9B9B" 864 stroke-linecap="round" 865 stroke-linejoin="round" 866 stroke-width="2" 867 /> 868 <path 869 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 870 stroke="#9B9B9B" 871 stroke-linecap="round" 872 stroke-linejoin="round" 873 stroke-width="2" 874 /> 875 </svg> 876 </span> 877 </a> 878 </h3> 879 <ul 880 class="css-57cmsk-TextComponent" 881 > 882 <li 883 class="css-1hxzfrf-TextComponent" 884 data-text="true" 885 > 886 <code 887 class="css-4xa05b-TextComponent" 888 data-text="true" 889 > 890 <a 891 class="css-1na8e0o-A" 892 href="https://reactnative.dev/docs/view#props" 893 rel="noopener noreferrer" 894 target="_blank" 895 > 896 ViewProps 897 </a> 898 </code> 899 </li> 900 </ul> 901 </div> 902 </div> 903 <h2 904 class=" css-13x385i-TextComponent" 905 data-heading="true" 906 > 907 <a 908 class="css-1y48vg3" 909 href="#methods" 910 > 911 <span 912 class="css-s3qkfm" 913 id="methods" 914 /> 915 <span 916 class="css-6n7j50" 917 > 918 Methods 919 </span> 920 <span 921 class="css-1eysgws" 922 > 923 <svg 924 aria-label="permalink" 925 class="anchor-icon" 926 fill="none" 927 height="24" 928 viewBox="0 0 24 24" 929 width="24" 930 xmlns="http://www.w3.org/2000/svg" 931 > 932 <path 933 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 934 stroke="#9B9B9B" 935 stroke-linecap="round" 936 stroke-linejoin="round" 937 stroke-width="2" 938 /> 939 <path 940 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 941 stroke="#9B9B9B" 942 stroke-linecap="round" 943 stroke-linejoin="round" 944 stroke-width="2" 945 /> 946 </svg> 947 </span> 948 </a> 949 </h2> 950 <div 951 class="css-c22nmz" 952 > 953 <h3 954 class=" css-6r23rc-TextComponent" 955 data-heading="true" 956 > 957 <a 958 class="css-1y48vg3" 959 href="#getcredentialstateasyncuser" 960 > 961 <span 962 class="css-s3qkfm" 963 id="getcredentialstateasyncuser" 964 /> 965 <span 966 class="css-6n7j50" 967 > 968 <code 969 class="css-1qdx416-TextComponent" 970 data-text="true" 971 > 972 getCredentialStateAsync(user) 973 </code> 974 </span> 975 <span 976 class="css-1eysgws" 977 > 978 <svg 979 aria-label="permalink" 980 class="anchor-icon" 981 fill="none" 982 height="24" 983 viewBox="0 0 24 24" 984 width="24" 985 xmlns="http://www.w3.org/2000/svg" 986 > 987 <path 988 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 989 stroke="#9B9B9B" 990 stroke-linecap="round" 991 stroke-linejoin="round" 992 stroke-width="2" 993 /> 994 <path 995 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 996 stroke="#9B9B9B" 997 stroke-linecap="round" 998 stroke-linejoin="round" 999 stroke-width="2" 1000 /> 1001 </svg> 1002 </span> 1003 </a> 1004 </h3> 1005 <div 1006 class="css-1uyflf8-Table" 1007 > 1008 <table 1009 class="css-q84cm9-Table" 1010 > 1011 <thead 1012 class="css-1hxdjqf-TableHead" 1013 > 1014 <tr 1015 class="css-190f936-Row" 1016 > 1017 <th 1018 class="css-1uwgm7m-HeaderCell" 1019 > 1020 Name 1021 </th> 1022 <th 1023 class="css-1uwgm7m-HeaderCell" 1024 > 1025 Type 1026 </th> 1027 <th 1028 class="css-1uwgm7m-HeaderCell" 1029 > 1030 Description 1031 </th> 1032 </tr> 1033 </thead> 1034 <tbody> 1035 <tr 1036 class="css-190f936-Row" 1037 > 1038 <td 1039 class="css-zstkv9-Cell" 1040 > 1041 <strong 1042 class="css-bvflvn-TextComponent" 1043 > 1044 user 1045 </strong> 1046 </td> 1047 <td 1048 class="css-zstkv9-Cell" 1049 > 1050 <code 1051 class="css-4xa05b-TextComponent" 1052 data-text="true" 1053 > 1054 string 1055 </code> 1056 </td> 1057 <td 1058 class="css-zstkv9-Cell" 1059 > 1060 <p 1061 class="css-hnkmoy-TextComponent" 1062 data-text="true" 1063 > 1064 The unique identifier for the user whose credential state you'd like to check. 1065This should come from the user field of an 1066 <a 1067 class="css-1na8e0o-A" 1068 href="#appleauthenticationcredentialstate" 1069 > 1070 <code 1071 class="css-23wgco-TextComponent" 1072 data-text="true" 1073 > 1074 AppleAuthenticationCredential 1075 </code> 1076 </a> 1077 object. 1078 </p> 1079 </td> 1080 </tr> 1081 </tbody> 1082 </table> 1083 </div> 1084 <br /> 1085 <p 1086 class="css-hnkmoy-TextComponent" 1087 data-text="true" 1088 > 1089 Queries the current state of a user credential, to determine if it is still valid or if it has been revoked. 1090 </p> 1091 1092 1093 <blockquote 1094 class="css-opaww-Callout" 1095 data-testid="callout-container" 1096 > 1097 <div 1098 class="css-ks2t0-Callout" 1099 > 1100 <svg 1101 color="var(--expo-theme-icon-default)" 1102 fill="none" 1103 height="16" 1104 role="img" 1105 size="16" 1106 viewBox="0 0 20 20" 1107 width="16" 1108 > 1109 <title> 1110 Info-icon 1111 </title> 1112 <path 1113 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 1114 fill="var(--expo-theme-icon-default)" 1115 /> 1116 </svg> 1117 </div> 1118 <div 1119 class="css-1m74yfi-Callout" 1120 > 1121 1122 1123 <p 1124 class="css-hnkmoy-TextComponent" 1125 data-text="true" 1126 > 1127 <strong 1128 class="css-bvflvn-TextComponent" 1129 > 1130 Note: 1131 </strong> 1132 This method must be tested on a real device. On the iOS simulator it always throws an error. 1133 </p> 1134 1135 1136 </div> 1137 </blockquote> 1138 <p 1139 class="css-1eksndl-BoxSectionHeader" 1140 data-text="true" 1141 > 1142 Returns 1143 </p> 1144 <ul 1145 class="css-1c9clym-TextComponent" 1146 > 1147 <li 1148 class="css-1hxzfrf-TextComponent" 1149 data-text="true" 1150 > 1151 <svg 1152 class="css-1a9xr20" 1153 color="var(--expo-theme-icon-secondary)" 1154 fill="none" 1155 height="16" 1156 role="img" 1157 size="16" 1158 viewBox="0 0 20 20" 1159 width="16" 1160 > 1161 <title> 1162 Undo-icon 1163 </title> 1164 <path 1165 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 1166 fill="var(--expo-theme-icon-secondary)" 1167 /> 1168 </svg> 1169 <code 1170 class="css-4xa05b-TextComponent" 1171 data-text="true" 1172 > 1173 <a 1174 class="css-1na8e0o-A" 1175 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1176 rel="noopener noreferrer" 1177 target="_blank" 1178 > 1179 Promise 1180 </a> 1181 < 1182 <span> 1183 <a 1184 class="css-1na8e0o-A" 1185 href="#appleauthenticationcredentialstate" 1186 > 1187 AppleAuthenticationCredentialState 1188 </a> 1189 </span> 1190 > 1191 </code> 1192 </li> 1193 </ul> 1194 <br /> 1195 <p 1196 class="css-hnkmoy-TextComponent" 1197 data-text="true" 1198 > 1199 A promise that fulfills with an 1200 <a 1201 class="css-1na8e0o-A" 1202 href="#appleauthenticationcredentialstate" 1203 > 1204 <code 1205 class="css-23wgco-TextComponent" 1206 data-text="true" 1207 > 1208 AppleAuthenticationCredentialState 1209 </code> 1210 </a> 1211 1212value depending on the state of the credential. 1213 </p> 1214 </div> 1215 <div 1216 class="css-c22nmz" 1217 > 1218 <h3 1219 class=" css-6r23rc-TextComponent" 1220 data-heading="true" 1221 > 1222 <a 1223 class="css-1y48vg3" 1224 href="#isavailableasync" 1225 > 1226 <span 1227 class="css-s3qkfm" 1228 id="isavailableasync" 1229 /> 1230 <span 1231 class="css-6n7j50" 1232 > 1233 <code 1234 class="css-1qdx416-TextComponent" 1235 data-text="true" 1236 > 1237 isAvailableAsync() 1238 </code> 1239 </span> 1240 <span 1241 class="css-1eysgws" 1242 > 1243 <svg 1244 aria-label="permalink" 1245 class="anchor-icon" 1246 fill="none" 1247 height="24" 1248 viewBox="0 0 24 24" 1249 width="24" 1250 xmlns="http://www.w3.org/2000/svg" 1251 > 1252 <path 1253 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1254 stroke="#9B9B9B" 1255 stroke-linecap="round" 1256 stroke-linejoin="round" 1257 stroke-width="2" 1258 /> 1259 <path 1260 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1261 stroke="#9B9B9B" 1262 stroke-linecap="round" 1263 stroke-linejoin="round" 1264 stroke-width="2" 1265 /> 1266 </svg> 1267 </span> 1268 </a> 1269 </h3> 1270 <p 1271 class="css-hnkmoy-TextComponent" 1272 data-text="true" 1273 > 1274 Determine if the current device's operating system supports Apple authentication. 1275 </p> 1276 <p 1277 class="css-1eksndl-BoxSectionHeader" 1278 data-text="true" 1279 > 1280 Returns 1281 </p> 1282 <ul 1283 class="css-1c9clym-TextComponent" 1284 > 1285 <li 1286 class="css-1hxzfrf-TextComponent" 1287 data-text="true" 1288 > 1289 <svg 1290 class="css-1a9xr20" 1291 color="var(--expo-theme-icon-secondary)" 1292 fill="none" 1293 height="16" 1294 role="img" 1295 size="16" 1296 viewBox="0 0 20 20" 1297 width="16" 1298 > 1299 <title> 1300 Undo-icon 1301 </title> 1302 <path 1303 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 1304 fill="var(--expo-theme-icon-secondary)" 1305 /> 1306 </svg> 1307 <code 1308 class="css-4xa05b-TextComponent" 1309 data-text="true" 1310 > 1311 <a 1312 class="css-1na8e0o-A" 1313 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1314 rel="noopener noreferrer" 1315 target="_blank" 1316 > 1317 Promise 1318 </a> 1319 < 1320 <span> 1321 boolean 1322 </span> 1323 > 1324 </code> 1325 </li> 1326 </ul> 1327 <br /> 1328 <p 1329 class="css-hnkmoy-TextComponent" 1330 data-text="true" 1331 > 1332 A promise that fulfills with 1333 <code 1334 class="css-23wgco-TextComponent" 1335 data-text="true" 1336 > 1337 true 1338 </code> 1339 if the system supports Apple authentication, and 1340 <code 1341 class="css-23wgco-TextComponent" 1342 data-text="true" 1343 > 1344 false 1345 </code> 1346 otherwise. 1347 </p> 1348 </div> 1349 <div 1350 class="css-c22nmz" 1351 > 1352 <h3 1353 class=" css-6r23rc-TextComponent" 1354 data-heading="true" 1355 > 1356 <a 1357 class="css-1y48vg3" 1358 href="#refreshasyncoptions" 1359 > 1360 <span 1361 class="css-s3qkfm" 1362 id="refreshasyncoptions" 1363 /> 1364 <span 1365 class="css-6n7j50" 1366 > 1367 <code 1368 class="css-1qdx416-TextComponent" 1369 data-text="true" 1370 > 1371 refreshAsync(options) 1372 </code> 1373 </span> 1374 <span 1375 class="css-1eysgws" 1376 > 1377 <svg 1378 aria-label="permalink" 1379 class="anchor-icon" 1380 fill="none" 1381 height="24" 1382 viewBox="0 0 24 24" 1383 width="24" 1384 xmlns="http://www.w3.org/2000/svg" 1385 > 1386 <path 1387 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1388 stroke="#9B9B9B" 1389 stroke-linecap="round" 1390 stroke-linejoin="round" 1391 stroke-width="2" 1392 /> 1393 <path 1394 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1395 stroke="#9B9B9B" 1396 stroke-linecap="round" 1397 stroke-linejoin="round" 1398 stroke-width="2" 1399 /> 1400 </svg> 1401 </span> 1402 </a> 1403 </h3> 1404 <div 1405 class="css-1uyflf8-Table" 1406 > 1407 <table 1408 class="css-q84cm9-Table" 1409 > 1410 <thead 1411 class="css-1hxdjqf-TableHead" 1412 > 1413 <tr 1414 class="css-190f936-Row" 1415 > 1416 <th 1417 class="css-1uwgm7m-HeaderCell" 1418 > 1419 Name 1420 </th> 1421 <th 1422 class="css-1uwgm7m-HeaderCell" 1423 > 1424 Type 1425 </th> 1426 <th 1427 class="css-1uwgm7m-HeaderCell" 1428 > 1429 Description 1430 </th> 1431 </tr> 1432 </thead> 1433 <tbody> 1434 <tr 1435 class="css-190f936-Row" 1436 > 1437 <td 1438 class="css-zstkv9-Cell" 1439 > 1440 <strong 1441 class="css-bvflvn-TextComponent" 1442 > 1443 options 1444 </strong> 1445 </td> 1446 <td 1447 class="css-zstkv9-Cell" 1448 > 1449 <code 1450 class="css-4xa05b-TextComponent" 1451 data-text="true" 1452 > 1453 <a 1454 class="css-1na8e0o-A" 1455 href="#appleauthenticationrefreshoptions" 1456 > 1457 AppleAuthenticationRefreshOptions 1458 </a> 1459 </code> 1460 </td> 1461 <td 1462 class="css-zstkv9-Cell" 1463 > 1464 <p 1465 class="css-hnkmoy-TextComponent" 1466 data-text="true" 1467 > 1468 An 1469 <a 1470 class="css-1na8e0o-A" 1471 href="#appleauthenticationrefreshoptions" 1472 > 1473 <code 1474 class="css-23wgco-TextComponent" 1475 data-text="true" 1476 > 1477 AppleAuthenticationRefreshOptions 1478 </code> 1479 </a> 1480 object 1481 </p> 1482 </td> 1483 </tr> 1484 </tbody> 1485 </table> 1486 </div> 1487 <br /> 1488 <p 1489 class="css-hnkmoy-TextComponent" 1490 data-text="true" 1491 > 1492 An operation that refreshes the logged-in user’s credentials. 1493Calling this method will show the sign in modal before actually refreshing the user credentials. 1494 </p> 1495 <p 1496 class="css-1eksndl-BoxSectionHeader" 1497 data-text="true" 1498 > 1499 Returns 1500 </p> 1501 <ul 1502 class="css-1c9clym-TextComponent" 1503 > 1504 <li 1505 class="css-1hxzfrf-TextComponent" 1506 data-text="true" 1507 > 1508 <svg 1509 class="css-1a9xr20" 1510 color="var(--expo-theme-icon-secondary)" 1511 fill="none" 1512 height="16" 1513 role="img" 1514 size="16" 1515 viewBox="0 0 20 20" 1516 width="16" 1517 > 1518 <title> 1519 Undo-icon 1520 </title> 1521 <path 1522 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 1523 fill="var(--expo-theme-icon-secondary)" 1524 /> 1525 </svg> 1526 <code 1527 class="css-4xa05b-TextComponent" 1528 data-text="true" 1529 > 1530 <a 1531 class="css-1na8e0o-A" 1532 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1533 rel="noopener noreferrer" 1534 target="_blank" 1535 > 1536 Promise 1537 </a> 1538 < 1539 <span> 1540 <a 1541 class="css-1na8e0o-A" 1542 href="#appleauthenticationcredential" 1543 > 1544 AppleAuthenticationCredential 1545 </a> 1546 </span> 1547 > 1548 </code> 1549 </li> 1550 </ul> 1551 <br /> 1552 <p 1553 class="css-hnkmoy-TextComponent" 1554 data-text="true" 1555 > 1556 A promise that fulfills with an 1557 <a 1558 class="css-1na8e0o-A" 1559 href="#appleauthenticationcredential" 1560 > 1561 <code 1562 class="css-23wgco-TextComponent" 1563 data-text="true" 1564 > 1565 AppleAuthenticationCredential 1566 </code> 1567 </a> 1568 1569object after a successful authentication, and rejects with 1570 <code 1571 class="css-23wgco-TextComponent" 1572 data-text="true" 1573 > 1574 ERR_REQUEST_CANCELED 1575 </code> 1576 if the user cancels the 1577refresh operation. 1578 </p> 1579 </div> 1580 <div 1581 class="css-c22nmz" 1582 > 1583 <h3 1584 class=" css-6r23rc-TextComponent" 1585 data-heading="true" 1586 > 1587 <a 1588 class="css-1y48vg3" 1589 href="#signinasyncoptions" 1590 > 1591 <span 1592 class="css-s3qkfm" 1593 id="signinasyncoptions" 1594 /> 1595 <span 1596 class="css-6n7j50" 1597 > 1598 <code 1599 class="css-1qdx416-TextComponent" 1600 data-text="true" 1601 > 1602 signInAsync(options) 1603 </code> 1604 </span> 1605 <span 1606 class="css-1eysgws" 1607 > 1608 <svg 1609 aria-label="permalink" 1610 class="anchor-icon" 1611 fill="none" 1612 height="24" 1613 viewBox="0 0 24 24" 1614 width="24" 1615 xmlns="http://www.w3.org/2000/svg" 1616 > 1617 <path 1618 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1619 stroke="#9B9B9B" 1620 stroke-linecap="round" 1621 stroke-linejoin="round" 1622 stroke-width="2" 1623 /> 1624 <path 1625 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1626 stroke="#9B9B9B" 1627 stroke-linecap="round" 1628 stroke-linejoin="round" 1629 stroke-width="2" 1630 /> 1631 </svg> 1632 </span> 1633 </a> 1634 </h3> 1635 <div 1636 class="css-1uyflf8-Table" 1637 > 1638 <table 1639 class="css-q84cm9-Table" 1640 > 1641 <thead 1642 class="css-1hxdjqf-TableHead" 1643 > 1644 <tr 1645 class="css-190f936-Row" 1646 > 1647 <th 1648 class="css-1uwgm7m-HeaderCell" 1649 > 1650 Name 1651 </th> 1652 <th 1653 class="css-1uwgm7m-HeaderCell" 1654 > 1655 Type 1656 </th> 1657 <th 1658 class="css-1uwgm7m-HeaderCell" 1659 > 1660 Description 1661 </th> 1662 </tr> 1663 </thead> 1664 <tbody> 1665 <tr 1666 class="css-190f936-Row" 1667 > 1668 <td 1669 class="css-zstkv9-Cell" 1670 > 1671 <strong 1672 class="css-bvflvn-TextComponent" 1673 > 1674 options 1675 </strong> 1676 <br /> 1677 <span 1678 class="css-1g95u6x" 1679 > 1680 (optional) 1681 </span> 1682 </td> 1683 <td 1684 class="css-zstkv9-Cell" 1685 > 1686 <code 1687 class="css-4xa05b-TextComponent" 1688 data-text="true" 1689 > 1690 <a 1691 class="css-1na8e0o-A" 1692 href="#appleauthenticationsigninoptions" 1693 > 1694 AppleAuthenticationSignInOptions 1695 </a> 1696 </code> 1697 </td> 1698 <td 1699 class="css-zstkv9-Cell" 1700 > 1701 <p 1702 class="css-hnkmoy-TextComponent" 1703 data-text="true" 1704 > 1705 An optional 1706 <a 1707 class="css-1na8e0o-A" 1708 href="#appleauthenticationsigninoptions" 1709 > 1710 <code 1711 class="css-23wgco-TextComponent" 1712 data-text="true" 1713 > 1714 AppleAuthenticationSignInOptions 1715 </code> 1716 </a> 1717 object 1718 </p> 1719 </td> 1720 </tr> 1721 </tbody> 1722 </table> 1723 </div> 1724 <br /> 1725 <p 1726 class="css-hnkmoy-TextComponent" 1727 data-text="true" 1728 > 1729 Sends a request to the operating system to initiate the Apple authentication flow, which will 1730present a modal to the user over your app and allow them to sign in. 1731 </p> 1732 1733 1734 <p 1735 class="css-hnkmoy-TextComponent" 1736 data-text="true" 1737 > 1738 You can request access to the user's full name and email address in this method, which allows you 1739to personalize your UI for signed in users. However, users can deny access to either or both 1740of these options at runtime. 1741 </p> 1742 1743 1744 <p 1745 class="css-hnkmoy-TextComponent" 1746 data-text="true" 1747 > 1748 Additionally, you will only receive Apple Authentication Credentials the first time users sign 1749into your app, so you must store it for later use. It's best to store this information either 1750server-side, or using 1751 <a 1752 class="css-1na8e0o-A" 1753 href="./securestore" 1754 > 1755 SecureStore 1756 </a> 1757 , so that the data persists across app installs. 1758You can use 1759 <a 1760 class="css-1na8e0o-A" 1761 href="#appleauthenticationcredential" 1762 > 1763 <code 1764 class="css-23wgco-TextComponent" 1765 data-text="true" 1766 > 1767 AppleAuthenticationCredential.user 1768 </code> 1769 </a> 1770 to identify 1771the user, since this remains the same for apps released by the same developer. 1772 </p> 1773 <p 1774 class="css-1eksndl-BoxSectionHeader" 1775 data-text="true" 1776 > 1777 Returns 1778 </p> 1779 <ul 1780 class="css-1c9clym-TextComponent" 1781 > 1782 <li 1783 class="css-1hxzfrf-TextComponent" 1784 data-text="true" 1785 > 1786 <svg 1787 class="css-1a9xr20" 1788 color="var(--expo-theme-icon-secondary)" 1789 fill="none" 1790 height="16" 1791 role="img" 1792 size="16" 1793 viewBox="0 0 20 20" 1794 width="16" 1795 > 1796 <title> 1797 Undo-icon 1798 </title> 1799 <path 1800 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 1801 fill="var(--expo-theme-icon-secondary)" 1802 /> 1803 </svg> 1804 <code 1805 class="css-4xa05b-TextComponent" 1806 data-text="true" 1807 > 1808 <a 1809 class="css-1na8e0o-A" 1810 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1811 rel="noopener noreferrer" 1812 target="_blank" 1813 > 1814 Promise 1815 </a> 1816 < 1817 <span> 1818 <a 1819 class="css-1na8e0o-A" 1820 href="#appleauthenticationcredential" 1821 > 1822 AppleAuthenticationCredential 1823 </a> 1824 </span> 1825 > 1826 </code> 1827 </li> 1828 </ul> 1829 <br /> 1830 <p 1831 class="css-hnkmoy-TextComponent" 1832 data-text="true" 1833 > 1834 A promise that fulfills with an 1835 <a 1836 class="css-1na8e0o-A" 1837 href="#appleauthenticationcredential" 1838 > 1839 <code 1840 class="css-23wgco-TextComponent" 1841 data-text="true" 1842 > 1843 AppleAuthenticationCredential 1844 </code> 1845 </a> 1846 1847object after a successful authentication, and rejects with 1848 <code 1849 class="css-23wgco-TextComponent" 1850 data-text="true" 1851 > 1852 ERR_REQUEST_CANCELED 1853 </code> 1854 if the user cancels the 1855sign-in operation. 1856 </p> 1857 </div> 1858 <div 1859 class="css-c22nmz" 1860 > 1861 <h3 1862 class=" css-6r23rc-TextComponent" 1863 data-heading="true" 1864 > 1865 <a 1866 class="css-1y48vg3" 1867 href="#signoutasyncoptions" 1868 > 1869 <span 1870 class="css-s3qkfm" 1871 id="signoutasyncoptions" 1872 /> 1873 <span 1874 class="css-6n7j50" 1875 > 1876 <code 1877 class="css-1qdx416-TextComponent" 1878 data-text="true" 1879 > 1880 signOutAsync(options) 1881 </code> 1882 </span> 1883 <span 1884 class="css-1eysgws" 1885 > 1886 <svg 1887 aria-label="permalink" 1888 class="anchor-icon" 1889 fill="none" 1890 height="24" 1891 viewBox="0 0 24 24" 1892 width="24" 1893 xmlns="http://www.w3.org/2000/svg" 1894 > 1895 <path 1896 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1897 stroke="#9B9B9B" 1898 stroke-linecap="round" 1899 stroke-linejoin="round" 1900 stroke-width="2" 1901 /> 1902 <path 1903 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1904 stroke="#9B9B9B" 1905 stroke-linecap="round" 1906 stroke-linejoin="round" 1907 stroke-width="2" 1908 /> 1909 </svg> 1910 </span> 1911 </a> 1912 </h3> 1913 <div 1914 class="css-1uyflf8-Table" 1915 > 1916 <table 1917 class="css-q84cm9-Table" 1918 > 1919 <thead 1920 class="css-1hxdjqf-TableHead" 1921 > 1922 <tr 1923 class="css-190f936-Row" 1924 > 1925 <th 1926 class="css-1uwgm7m-HeaderCell" 1927 > 1928 Name 1929 </th> 1930 <th 1931 class="css-1uwgm7m-HeaderCell" 1932 > 1933 Type 1934 </th> 1935 <th 1936 class="css-1uwgm7m-HeaderCell" 1937 > 1938 Description 1939 </th> 1940 </tr> 1941 </thead> 1942 <tbody> 1943 <tr 1944 class="css-190f936-Row" 1945 > 1946 <td 1947 class="css-zstkv9-Cell" 1948 > 1949 <strong 1950 class="css-bvflvn-TextComponent" 1951 > 1952 options 1953 </strong> 1954 </td> 1955 <td 1956 class="css-zstkv9-Cell" 1957 > 1958 <code 1959 class="css-4xa05b-TextComponent" 1960 data-text="true" 1961 > 1962 <a 1963 class="css-1na8e0o-A" 1964 href="#appleauthenticationsignoutoptions" 1965 > 1966 AppleAuthenticationSignOutOptions 1967 </a> 1968 </code> 1969 </td> 1970 <td 1971 class="css-zstkv9-Cell" 1972 > 1973 <p 1974 class="css-hnkmoy-TextComponent" 1975 data-text="true" 1976 > 1977 An 1978 <a 1979 class="css-1na8e0o-A" 1980 href="#appleauthenticationsignoutoptions" 1981 > 1982 <code 1983 class="css-23wgco-TextComponent" 1984 data-text="true" 1985 > 1986 AppleAuthenticationSignOutOptions 1987 </code> 1988 </a> 1989 object 1990 </p> 1991 </td> 1992 </tr> 1993 </tbody> 1994 </table> 1995 </div> 1996 <br /> 1997 <p 1998 class="css-hnkmoy-TextComponent" 1999 data-text="true" 2000 > 2001 An operation that ends the authenticated session. 2002Calling this method will show the sign in modal before actually signing the user out. 2003 </p> 2004 2005 2006 <p 2007 class="css-hnkmoy-TextComponent" 2008 data-text="true" 2009 > 2010 It is not recommended to use this method to sign out the user as it works counterintuitively. 2011Instead of using this method it is recommended to simply clear all the user's data collected 2012from using 2013 <a 2014 class="css-1na8e0o-A" 2015 href="./#signinasync" 2016 > 2017 <code 2018 class="css-23wgco-TextComponent" 2019 data-text="true" 2020 > 2021 signInAsync 2022 </code> 2023 </a> 2024 or 2025 <a 2026 class="css-1na8e0o-A" 2027 href="./#refreshasync" 2028 > 2029 <code 2030 class="css-23wgco-TextComponent" 2031 data-text="true" 2032 > 2033 refreshAsync 2034 </code> 2035 </a> 2036 methods. 2037 </p> 2038 <p 2039 class="css-1eksndl-BoxSectionHeader" 2040 data-text="true" 2041 > 2042 Returns 2043 </p> 2044 <ul 2045 class="css-1c9clym-TextComponent" 2046 > 2047 <li 2048 class="css-1hxzfrf-TextComponent" 2049 data-text="true" 2050 > 2051 <svg 2052 class="css-1a9xr20" 2053 color="var(--expo-theme-icon-secondary)" 2054 fill="none" 2055 height="16" 2056 role="img" 2057 size="16" 2058 viewBox="0 0 20 20" 2059 width="16" 2060 > 2061 <title> 2062 Undo-icon 2063 </title> 2064 <path 2065 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 2066 fill="var(--expo-theme-icon-secondary)" 2067 /> 2068 </svg> 2069 <code 2070 class="css-4xa05b-TextComponent" 2071 data-text="true" 2072 > 2073 <a 2074 class="css-1na8e0o-A" 2075 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 2076 rel="noopener noreferrer" 2077 target="_blank" 2078 > 2079 Promise 2080 </a> 2081 < 2082 <span> 2083 <a 2084 class="css-1na8e0o-A" 2085 href="#appleauthenticationcredential" 2086 > 2087 AppleAuthenticationCredential 2088 </a> 2089 </span> 2090 > 2091 </code> 2092 </li> 2093 </ul> 2094 <br /> 2095 <p 2096 class="css-hnkmoy-TextComponent" 2097 data-text="true" 2098 > 2099 A promise that fulfills with an 2100 <a 2101 class="css-1na8e0o-A" 2102 href="#appleauthenticationcredential" 2103 > 2104 <code 2105 class="css-23wgco-TextComponent" 2106 data-text="true" 2107 > 2108 AppleAuthenticationCredential 2109 </code> 2110 </a> 2111 2112object after a successful authentication, and rejects with 2113 <code 2114 class="css-23wgco-TextComponent" 2115 data-text="true" 2116 > 2117 ERR_REQUEST_CANCELED 2118 </code> 2119 if the user cancels the 2120sign-out operation. 2121 </p> 2122 </div> 2123 <h2 2124 class=" css-13x385i-TextComponent" 2125 data-heading="true" 2126 > 2127 <a 2128 class="css-1y48vg3" 2129 href="#event-subscriptions" 2130 > 2131 <span 2132 class="css-s3qkfm" 2133 id="event-subscriptions" 2134 /> 2135 <span 2136 class="css-6n7j50" 2137 > 2138 Event Subscriptions 2139 </span> 2140 <span 2141 class="css-1eysgws" 2142 > 2143 <svg 2144 aria-label="permalink" 2145 class="anchor-icon" 2146 fill="none" 2147 height="24" 2148 viewBox="0 0 24 24" 2149 width="24" 2150 xmlns="http://www.w3.org/2000/svg" 2151 > 2152 <path 2153 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2154 stroke="#9B9B9B" 2155 stroke-linecap="round" 2156 stroke-linejoin="round" 2157 stroke-width="2" 2158 /> 2159 <path 2160 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2161 stroke="#9B9B9B" 2162 stroke-linecap="round" 2163 stroke-linejoin="round" 2164 stroke-width="2" 2165 /> 2166 </svg> 2167 </span> 2168 </a> 2169 </h2> 2170 <div 2171 class="css-c22nmz" 2172 > 2173 <h3 2174 class=" css-6r23rc-TextComponent" 2175 data-heading="true" 2176 > 2177 <a 2178 class="css-1y48vg3" 2179 href="#addrevokelistenerlistener" 2180 > 2181 <span 2182 class="css-s3qkfm" 2183 id="addrevokelistenerlistener" 2184 /> 2185 <span 2186 class="css-6n7j50" 2187 > 2188 <code 2189 class="css-1qdx416-TextComponent" 2190 data-text="true" 2191 > 2192 addRevokeListener(listener) 2193 </code> 2194 </span> 2195 <span 2196 class="css-1eysgws" 2197 > 2198 <svg 2199 aria-label="permalink" 2200 class="anchor-icon" 2201 fill="none" 2202 height="24" 2203 viewBox="0 0 24 24" 2204 width="24" 2205 xmlns="http://www.w3.org/2000/svg" 2206 > 2207 <path 2208 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2209 stroke="#9B9B9B" 2210 stroke-linecap="round" 2211 stroke-linejoin="round" 2212 stroke-width="2" 2213 /> 2214 <path 2215 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2216 stroke="#9B9B9B" 2217 stroke-linecap="round" 2218 stroke-linejoin="round" 2219 stroke-width="2" 2220 /> 2221 </svg> 2222 </span> 2223 </a> 2224 </h3> 2225 <div 2226 class="css-1uyflf8-Table" 2227 > 2228 <table 2229 class="css-q84cm9-Table" 2230 > 2231 <thead 2232 class="css-1hxdjqf-TableHead" 2233 > 2234 <tr 2235 class="css-190f936-Row" 2236 > 2237 <th 2238 class="css-1uwgm7m-HeaderCell" 2239 > 2240 Name 2241 </th> 2242 <th 2243 class="css-1uwgm7m-HeaderCell" 2244 > 2245 Type 2246 </th> 2247 <th 2248 class="css-1uwgm7m-HeaderCell" 2249 > 2250 Description 2251 </th> 2252 </tr> 2253 </thead> 2254 <tbody> 2255 <tr 2256 class="css-190f936-Row" 2257 > 2258 <td 2259 class="css-zstkv9-Cell" 2260 > 2261 <strong 2262 class="css-bvflvn-TextComponent" 2263 > 2264 listener 2265 </strong> 2266 </td> 2267 <td 2268 class="css-zstkv9-Cell" 2269 > 2270 <code 2271 class="css-4xa05b-TextComponent" 2272 data-text="true" 2273 > 2274 () => 2275 2276 void 2277 </code> 2278 </td> 2279 <td 2280 class="css-zstkv9-Cell" 2281 > 2282 - 2283 </td> 2284 </tr> 2285 </tbody> 2286 </table> 2287 </div> 2288 <br /> 2289 <p 2290 class="css-1eksndl-BoxSectionHeader" 2291 data-text="true" 2292 > 2293 Returns 2294 </p> 2295 <ul 2296 class="css-1c9clym-TextComponent" 2297 > 2298 <li 2299 class="css-1hxzfrf-TextComponent" 2300 data-text="true" 2301 > 2302 <svg 2303 class="css-1a9xr20" 2304 color="var(--expo-theme-icon-secondary)" 2305 fill="none" 2306 height="16" 2307 role="img" 2308 size="16" 2309 viewBox="0 0 20 20" 2310 width="16" 2311 > 2312 <title> 2313 Undo-icon 2314 </title> 2315 <path 2316 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 2317 fill="var(--expo-theme-icon-secondary)" 2318 /> 2319 </svg> 2320 <code 2321 class="css-4xa05b-TextComponent" 2322 data-text="true" 2323 > 2324 <a 2325 class="css-1na8e0o-A" 2326 href="#subscription" 2327 > 2328 Subscription 2329 </a> 2330 </code> 2331 </li> 2332 </ul> 2333 <br /> 2334 </div> 2335 <h2 2336 class=" css-13x385i-TextComponent" 2337 data-heading="true" 2338 > 2339 <a 2340 class="css-1y48vg3" 2341 href="#types" 2342 > 2343 <span 2344 class="css-s3qkfm" 2345 id="types" 2346 /> 2347 <span 2348 class="css-6n7j50" 2349 > 2350 Types 2351 </span> 2352 <span 2353 class="css-1eysgws" 2354 > 2355 <svg 2356 aria-label="permalink" 2357 class="anchor-icon" 2358 fill="none" 2359 height="24" 2360 viewBox="0 0 24 24" 2361 width="24" 2362 xmlns="http://www.w3.org/2000/svg" 2363 > 2364 <path 2365 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2366 stroke="#9B9B9B" 2367 stroke-linecap="round" 2368 stroke-linejoin="round" 2369 stroke-width="2" 2370 /> 2371 <path 2372 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2373 stroke="#9B9B9B" 2374 stroke-linecap="round" 2375 stroke-linejoin="round" 2376 stroke-width="2" 2377 /> 2378 </svg> 2379 </span> 2380 </a> 2381 </h2> 2382 <div 2383 class="css-1h8tzv" 2384 > 2385 <h3 2386 class=" css-6r23rc-TextComponent" 2387 data-heading="true" 2388 > 2389 <a 2390 class="css-1y48vg3" 2391 href="#appleauthenticationcredential" 2392 > 2393 <span 2394 class="css-s3qkfm" 2395 id="appleauthenticationcredential" 2396 /> 2397 <span 2398 class="css-6n7j50" 2399 > 2400 <code 2401 class="css-4xa05b-TextComponent" 2402 data-text="true" 2403 > 2404 AppleAuthenticationCredential 2405 </code> 2406 </span> 2407 <span 2408 class="css-1eysgws" 2409 > 2410 <svg 2411 aria-label="permalink" 2412 class="anchor-icon" 2413 fill="none" 2414 height="24" 2415 viewBox="0 0 24 24" 2416 width="24" 2417 xmlns="http://www.w3.org/2000/svg" 2418 > 2419 <path 2420 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2421 stroke="#9B9B9B" 2422 stroke-linecap="round" 2423 stroke-linejoin="round" 2424 stroke-width="2" 2425 /> 2426 <path 2427 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2428 stroke="#9B9B9B" 2429 stroke-linecap="round" 2430 stroke-linejoin="round" 2431 stroke-width="2" 2432 /> 2433 </svg> 2434 </span> 2435 </a> 2436 </h3> 2437 <p 2438 class="css-hnkmoy-TextComponent" 2439 data-text="true" 2440 > 2441 The object type returned from a successful call to 2442 <a 2443 class="css-1na8e0o-A" 2444 href="#appleauthenticationsigninasyncoptions" 2445 > 2446 <code 2447 class="css-23wgco-TextComponent" 2448 data-text="true" 2449 > 2450 AppleAuthentication.signInAsync() 2451 </code> 2452 </a> 2453 , 2454 2455 <a 2456 class="css-1na8e0o-A" 2457 href="#appleauthenticationrefreshasyncoptions" 2458 > 2459 <code 2460 class="css-23wgco-TextComponent" 2461 data-text="true" 2462 > 2463 AppleAuthentication.refreshAsync() 2464 </code> 2465 </a> 2466 , or 2467 <a 2468 class="css-1na8e0o-A" 2469 href="#appleauthenticationsignoutasyncoptions" 2470 > 2471 <code 2472 class="css-23wgco-TextComponent" 2473 data-text="true" 2474 > 2475 AppleAuthentication.signOutAsync() 2476 </code> 2477 </a> 2478 2479which contains all of the pertinent user and credential information. 2480 </p> 2481 <blockquote 2482 class="css-opaww-Callout" 2483 data-testid="callout-container" 2484 > 2485 <div 2486 class="css-ks2t0-Callout" 2487 > 2488 <svg 2489 color="var(--expo-theme-icon-default)" 2490 fill="none" 2491 height="16" 2492 role="img" 2493 size="16" 2494 viewBox="0 0 20 20" 2495 width="16" 2496 > 2497 <title> 2498 Info-icon 2499 </title> 2500 <path 2501 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 2502 fill="var(--expo-theme-icon-default)" 2503 /> 2504 </svg> 2505 </div> 2506 <div 2507 class="css-1m74yfi-Callout" 2508 > 2509 <p 2510 class="css-hnkmoy-TextComponent" 2511 data-text="true" 2512 > 2513 <strong 2514 class="css-bvflvn-TextComponent" 2515 > 2516 See: 2517 </strong> 2518 2519 <a 2520 class="css-1na8e0o-A" 2521 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidcredential" 2522 rel="noopener noreferrer" 2523 target="_blank" 2524 > 2525 Apple 2526Documentation 2527 </a> 2528 2529for more details. 2530 </p> 2531 </div> 2532 </blockquote> 2533 <div 2534 class="css-1uyflf8-Table" 2535 > 2536 <table 2537 class="css-q84cm9-Table" 2538 > 2539 <thead 2540 class="css-1hxdjqf-TableHead" 2541 > 2542 <tr 2543 class="css-190f936-Row" 2544 > 2545 <th 2546 class="css-1uwgm7m-HeaderCell" 2547 > 2548 Name 2549 </th> 2550 <th 2551 class="css-1uwgm7m-HeaderCell" 2552 > 2553 Type 2554 </th> 2555 <th 2556 class="css-1uwgm7m-HeaderCell" 2557 > 2558 Description 2559 </th> 2560 </tr> 2561 </thead> 2562 <tbody> 2563 <tr 2564 class="css-190f936-Row" 2565 > 2566 <td 2567 class="css-18p3734-Cell" 2568 > 2569 <strong 2570 class="css-bvflvn-TextComponent" 2571 > 2572 authorizationCode 2573 </strong> 2574 </td> 2575 <td 2576 class="css-18p3734-Cell" 2577 > 2578 <code 2579 class="css-4xa05b-TextComponent" 2580 data-text="true" 2581 > 2582 <span> 2583 string 2584 | 2585 </span> 2586 <span> 2587 null 2588 </span> 2589 </code> 2590 </td> 2591 <td 2592 class="css-18p3734-Cell" 2593 > 2594 <p 2595 class="css-hnkmoy-TextComponent" 2596 data-text="true" 2597 > 2598 A short-lived session token used by your app for proof of authorization when interacting with 2599the app's server counterpart. Unlike 2600 <code 2601 class="css-23wgco-TextComponent" 2602 data-text="true" 2603 > 2604 user 2605 </code> 2606 , this is ephemeral and will change each session. 2607 </p> 2608 </td> 2609 </tr> 2610 <tr 2611 class="css-190f936-Row" 2612 > 2613 <td 2614 class="css-18p3734-Cell" 2615 > 2616 <strong 2617 class="css-bvflvn-TextComponent" 2618 > 2619 email 2620 </strong> 2621 </td> 2622 <td 2623 class="css-18p3734-Cell" 2624 > 2625 <code 2626 class="css-4xa05b-TextComponent" 2627 data-text="true" 2628 > 2629 <span> 2630 string 2631 | 2632 </span> 2633 <span> 2634 null 2635 </span> 2636 </code> 2637 </td> 2638 <td 2639 class="css-18p3734-Cell" 2640 > 2641 <p 2642 class="css-hnkmoy-TextComponent" 2643 data-text="true" 2644 > 2645 The user's email address. Might not be present if you didn't request the 2646 <code 2647 class="css-23wgco-TextComponent" 2648 data-text="true" 2649 > 2650 EMAIL 2651 </code> 2652 scope. May 2653also be null if this is not the first time the user has signed into your app. If the user chose 2654to withhold their email address, this field will instead contain an obscured email address with 2655an Apple domain. 2656 </p> 2657 </td> 2658 </tr> 2659 <tr 2660 class="css-190f936-Row" 2661 > 2662 <td 2663 class="css-18p3734-Cell" 2664 > 2665 <strong 2666 class="css-bvflvn-TextComponent" 2667 > 2668 fullName 2669 </strong> 2670 </td> 2671 <td 2672 class="css-18p3734-Cell" 2673 > 2674 <code 2675 class="css-4xa05b-TextComponent" 2676 data-text="true" 2677 > 2678 <span> 2679 <a 2680 class="css-1na8e0o-A" 2681 href="#appleauthenticationfullname" 2682 > 2683 AppleAuthenticationFullName 2684 </a> 2685 | 2686 </span> 2687 <span> 2688 null 2689 </span> 2690 </code> 2691 </td> 2692 <td 2693 class="css-18p3734-Cell" 2694 > 2695 <p 2696 class="css-hnkmoy-TextComponent" 2697 data-text="true" 2698 > 2699 The user's name. May be 2700 <code 2701 class="css-23wgco-TextComponent" 2702 data-text="true" 2703 > 2704 null 2705 </code> 2706 or contain 2707 <code 2708 class="css-23wgco-TextComponent" 2709 data-text="true" 2710 > 2711 null 2712 </code> 2713 values if you didn't request the 2714 <code 2715 class="css-23wgco-TextComponent" 2716 data-text="true" 2717 > 2718 FULL_NAME 2719 </code> 2720 2721scope, if the user denied access, or if this is not the first time the user has signed into 2722your app. 2723 </p> 2724 </td> 2725 </tr> 2726 <tr 2727 class="css-190f936-Row" 2728 > 2729 <td 2730 class="css-18p3734-Cell" 2731 > 2732 <strong 2733 class="css-bvflvn-TextComponent" 2734 > 2735 identityToken 2736 </strong> 2737 </td> 2738 <td 2739 class="css-18p3734-Cell" 2740 > 2741 <code 2742 class="css-4xa05b-TextComponent" 2743 data-text="true" 2744 > 2745 <span> 2746 string 2747 | 2748 </span> 2749 <span> 2750 null 2751 </span> 2752 </code> 2753 </td> 2754 <td 2755 class="css-18p3734-Cell" 2756 > 2757 <p 2758 class="css-hnkmoy-TextComponent" 2759 data-text="true" 2760 > 2761 A JSON Web Token (JWT) that securely communicates information about the user to your app. 2762 </p> 2763 </td> 2764 </tr> 2765 <tr 2766 class="css-190f936-Row" 2767 > 2768 <td 2769 class="css-18p3734-Cell" 2770 > 2771 <strong 2772 class="css-bvflvn-TextComponent" 2773 > 2774 realUserStatus 2775 </strong> 2776 </td> 2777 <td 2778 class="css-18p3734-Cell" 2779 > 2780 <code 2781 class="css-4xa05b-TextComponent" 2782 data-text="true" 2783 > 2784 <a 2785 class="css-1na8e0o-A" 2786 href="#appleauthenticationuserdetectionstatus" 2787 > 2788 AppleAuthenticationUserDetectionStatus 2789 </a> 2790 </code> 2791 </td> 2792 <td 2793 class="css-18p3734-Cell" 2794 > 2795 <p 2796 class="css-hnkmoy-TextComponent" 2797 data-text="true" 2798 > 2799 A value that indicates whether the user appears to the system to be a real person. 2800 </p> 2801 </td> 2802 </tr> 2803 <tr 2804 class="css-190f936-Row" 2805 > 2806 <td 2807 class="css-18p3734-Cell" 2808 > 2809 <strong 2810 class="css-bvflvn-TextComponent" 2811 > 2812 state 2813 </strong> 2814 </td> 2815 <td 2816 class="css-18p3734-Cell" 2817 > 2818 <code 2819 class="css-4xa05b-TextComponent" 2820 data-text="true" 2821 > 2822 <span> 2823 string 2824 | 2825 </span> 2826 <span> 2827 null 2828 </span> 2829 </code> 2830 </td> 2831 <td 2832 class="css-18p3734-Cell" 2833 > 2834 <p 2835 class="css-hnkmoy-TextComponent" 2836 data-text="true" 2837 > 2838 An arbitrary string that your app provided as 2839 <code 2840 class="css-23wgco-TextComponent" 2841 data-text="true" 2842 > 2843 state 2844 </code> 2845 in the request that generated the 2846credential. Used to verify that the response was from the request you made. Can be used to 2847avoid replay attacks. If you did not provide 2848 <code 2849 class="css-23wgco-TextComponent" 2850 data-text="true" 2851 > 2852 state 2853 </code> 2854 when making the sign-in request, this field 2855will be 2856 <code 2857 class="css-23wgco-TextComponent" 2858 data-text="true" 2859 > 2860 null 2861 </code> 2862 . 2863 </p> 2864 </td> 2865 </tr> 2866 <tr 2867 class="css-190f936-Row" 2868 > 2869 <td 2870 class="css-18p3734-Cell" 2871 > 2872 <strong 2873 class="css-bvflvn-TextComponent" 2874 > 2875 user 2876 </strong> 2877 </td> 2878 <td 2879 class="css-18p3734-Cell" 2880 > 2881 <code 2882 class="css-4xa05b-TextComponent" 2883 data-text="true" 2884 > 2885 string 2886 </code> 2887 </td> 2888 <td 2889 class="css-18p3734-Cell" 2890 > 2891 <p 2892 class="css-hnkmoy-TextComponent" 2893 data-text="true" 2894 > 2895 An identifier associated with the authenticated user. You can use this to check if the user is 2896still authenticated later. This is stable and can be shared across apps released under the same 2897development team. The same user will have a different identifier for apps released by other 2898developers. 2899 </p> 2900 </td> 2901 </tr> 2902 </tbody> 2903 </table> 2904 </div> 2905 </div> 2906 <div 2907 class="css-1h8tzv" 2908 > 2909 <h3 2910 class=" css-6r23rc-TextComponent" 2911 data-heading="true" 2912 > 2913 <a 2914 class="css-1y48vg3" 2915 href="#appleauthenticationfullname" 2916 > 2917 <span 2918 class="css-s3qkfm" 2919 id="appleauthenticationfullname" 2920 /> 2921 <span 2922 class="css-6n7j50" 2923 > 2924 <code 2925 class="css-4xa05b-TextComponent" 2926 data-text="true" 2927 > 2928 AppleAuthenticationFullName 2929 </code> 2930 </span> 2931 <span 2932 class="css-1eysgws" 2933 > 2934 <svg 2935 aria-label="permalink" 2936 class="anchor-icon" 2937 fill="none" 2938 height="24" 2939 viewBox="0 0 24 24" 2940 width="24" 2941 xmlns="http://www.w3.org/2000/svg" 2942 > 2943 <path 2944 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2945 stroke="#9B9B9B" 2946 stroke-linecap="round" 2947 stroke-linejoin="round" 2948 stroke-width="2" 2949 /> 2950 <path 2951 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2952 stroke="#9B9B9B" 2953 stroke-linecap="round" 2954 stroke-linejoin="round" 2955 stroke-width="2" 2956 /> 2957 </svg> 2958 </span> 2959 </a> 2960 </h3> 2961 <p 2962 class="css-hnkmoy-TextComponent" 2963 data-text="true" 2964 > 2965 An object representing the tokenized portions of the user's full name. Any of all of the fields 2966may be 2967 <code 2968 class="css-23wgco-TextComponent" 2969 data-text="true" 2970 > 2971 null 2972 </code> 2973 . Only applicable fields that the user has allowed your app to access will be nonnull. 2974 </p> 2975 <div 2976 class="css-1uyflf8-Table" 2977 > 2978 <table 2979 class="css-q84cm9-Table" 2980 > 2981 <thead 2982 class="css-1hxdjqf-TableHead" 2983 > 2984 <tr 2985 class="css-190f936-Row" 2986 > 2987 <th 2988 class="css-1uwgm7m-HeaderCell" 2989 > 2990 Name 2991 </th> 2992 <th 2993 class="css-1uwgm7m-HeaderCell" 2994 > 2995 Type 2996 </th> 2997 <th 2998 class="css-1uwgm7m-HeaderCell" 2999 > 3000 Description 3001 </th> 3002 </tr> 3003 </thead> 3004 <tbody> 3005 <tr 3006 class="css-190f936-Row" 3007 > 3008 <td 3009 class="css-18p3734-Cell" 3010 > 3011 <strong 3012 class="css-bvflvn-TextComponent" 3013 > 3014 familyName 3015 </strong> 3016 </td> 3017 <td 3018 class="css-18p3734-Cell" 3019 > 3020 <code 3021 class="css-4xa05b-TextComponent" 3022 data-text="true" 3023 > 3024 <span> 3025 string 3026 | 3027 </span> 3028 <span> 3029 null 3030 </span> 3031 </code> 3032 </td> 3033 <td 3034 class="css-18p3734-Cell" 3035 > 3036 - 3037 </td> 3038 </tr> 3039 <tr 3040 class="css-190f936-Row" 3041 > 3042 <td 3043 class="css-18p3734-Cell" 3044 > 3045 <strong 3046 class="css-bvflvn-TextComponent" 3047 > 3048 givenName 3049 </strong> 3050 </td> 3051 <td 3052 class="css-18p3734-Cell" 3053 > 3054 <code 3055 class="css-4xa05b-TextComponent" 3056 data-text="true" 3057 > 3058 <span> 3059 string 3060 | 3061 </span> 3062 <span> 3063 null 3064 </span> 3065 </code> 3066 </td> 3067 <td 3068 class="css-18p3734-Cell" 3069 > 3070 - 3071 </td> 3072 </tr> 3073 <tr 3074 class="css-190f936-Row" 3075 > 3076 <td 3077 class="css-18p3734-Cell" 3078 > 3079 <strong 3080 class="css-bvflvn-TextComponent" 3081 > 3082 middleName 3083 </strong> 3084 </td> 3085 <td 3086 class="css-18p3734-Cell" 3087 > 3088 <code 3089 class="css-4xa05b-TextComponent" 3090 data-text="true" 3091 > 3092 <span> 3093 string 3094 | 3095 </span> 3096 <span> 3097 null 3098 </span> 3099 </code> 3100 </td> 3101 <td 3102 class="css-18p3734-Cell" 3103 > 3104 - 3105 </td> 3106 </tr> 3107 <tr 3108 class="css-190f936-Row" 3109 > 3110 <td 3111 class="css-18p3734-Cell" 3112 > 3113 <strong 3114 class="css-bvflvn-TextComponent" 3115 > 3116 namePrefix 3117 </strong> 3118 </td> 3119 <td 3120 class="css-18p3734-Cell" 3121 > 3122 <code 3123 class="css-4xa05b-TextComponent" 3124 data-text="true" 3125 > 3126 <span> 3127 string 3128 | 3129 </span> 3130 <span> 3131 null 3132 </span> 3133 </code> 3134 </td> 3135 <td 3136 class="css-18p3734-Cell" 3137 > 3138 - 3139 </td> 3140 </tr> 3141 <tr 3142 class="css-190f936-Row" 3143 > 3144 <td 3145 class="css-18p3734-Cell" 3146 > 3147 <strong 3148 class="css-bvflvn-TextComponent" 3149 > 3150 nameSuffix 3151 </strong> 3152 </td> 3153 <td 3154 class="css-18p3734-Cell" 3155 > 3156 <code 3157 class="css-4xa05b-TextComponent" 3158 data-text="true" 3159 > 3160 <span> 3161 string 3162 | 3163 </span> 3164 <span> 3165 null 3166 </span> 3167 </code> 3168 </td> 3169 <td 3170 class="css-18p3734-Cell" 3171 > 3172 - 3173 </td> 3174 </tr> 3175 <tr 3176 class="css-190f936-Row" 3177 > 3178 <td 3179 class="css-18p3734-Cell" 3180 > 3181 <strong 3182 class="css-bvflvn-TextComponent" 3183 > 3184 nickname 3185 </strong> 3186 </td> 3187 <td 3188 class="css-18p3734-Cell" 3189 > 3190 <code 3191 class="css-4xa05b-TextComponent" 3192 data-text="true" 3193 > 3194 <span> 3195 string 3196 | 3197 </span> 3198 <span> 3199 null 3200 </span> 3201 </code> 3202 </td> 3203 <td 3204 class="css-18p3734-Cell" 3205 > 3206 - 3207 </td> 3208 </tr> 3209 </tbody> 3210 </table> 3211 </div> 3212 </div> 3213 <div 3214 class="css-1h8tzv" 3215 > 3216 <h3 3217 class=" css-6r23rc-TextComponent" 3218 data-heading="true" 3219 > 3220 <a 3221 class="css-1y48vg3" 3222 href="#appleauthenticationrefreshoptions" 3223 > 3224 <span 3225 class="css-s3qkfm" 3226 id="appleauthenticationrefreshoptions" 3227 /> 3228 <span 3229 class="css-6n7j50" 3230 > 3231 <code 3232 class="css-4xa05b-TextComponent" 3233 data-text="true" 3234 > 3235 AppleAuthenticationRefreshOptions 3236 </code> 3237 </span> 3238 <span 3239 class="css-1eysgws" 3240 > 3241 <svg 3242 aria-label="permalink" 3243 class="anchor-icon" 3244 fill="none" 3245 height="24" 3246 viewBox="0 0 24 24" 3247 width="24" 3248 xmlns="http://www.w3.org/2000/svg" 3249 > 3250 <path 3251 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3252 stroke="#9B9B9B" 3253 stroke-linecap="round" 3254 stroke-linejoin="round" 3255 stroke-width="2" 3256 /> 3257 <path 3258 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3259 stroke="#9B9B9B" 3260 stroke-linecap="round" 3261 stroke-linejoin="round" 3262 stroke-width="2" 3263 /> 3264 </svg> 3265 </span> 3266 </a> 3267 </h3> 3268 <p 3269 class="css-hnkmoy-TextComponent" 3270 data-text="true" 3271 > 3272 The options you can supply when making a call to 3273 <a 3274 class="css-1na8e0o-A" 3275 href="#appleauthenticationrefreshasyncoptions" 3276 > 3277 <code 3278 class="css-23wgco-TextComponent" 3279 data-text="true" 3280 > 3281 AppleAuthentication.refreshAsync() 3282 </code> 3283 </a> 3284 . 3285You must include the ID string of the user whose credentials you'd like to refresh. 3286 </p> 3287 <blockquote 3288 class="css-opaww-Callout" 3289 data-testid="callout-container" 3290 > 3291 <div 3292 class="css-ks2t0-Callout" 3293 > 3294 <svg 3295 color="var(--expo-theme-icon-default)" 3296 fill="none" 3297 height="16" 3298 role="img" 3299 size="16" 3300 viewBox="0 0 20 20" 3301 width="16" 3302 > 3303 <title> 3304 Info-icon 3305 </title> 3306 <path 3307 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 3308 fill="var(--expo-theme-icon-default)" 3309 /> 3310 </svg> 3311 </div> 3312 <div 3313 class="css-1m74yfi-Callout" 3314 > 3315 <p 3316 class="css-hnkmoy-TextComponent" 3317 data-text="true" 3318 > 3319 <strong 3320 class="css-bvflvn-TextComponent" 3321 > 3322 See: 3323 </strong> 3324 3325 <a 3326 class="css-1na8e0o-A" 3327 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3328 rel="noopener noreferrer" 3329 target="_blank" 3330 > 3331 Apple 3332Documentation 3333 </a> 3334 3335for more details. 3336 </p> 3337 </div> 3338 </blockquote> 3339 <div 3340 class="css-1uyflf8-Table" 3341 > 3342 <table 3343 class="css-q84cm9-Table" 3344 > 3345 <thead 3346 class="css-1hxdjqf-TableHead" 3347 > 3348 <tr 3349 class="css-190f936-Row" 3350 > 3351 <th 3352 class="css-1uwgm7m-HeaderCell" 3353 > 3354 Name 3355 </th> 3356 <th 3357 class="css-1uwgm7m-HeaderCell" 3358 > 3359 Type 3360 </th> 3361 <th 3362 class="css-1uwgm7m-HeaderCell" 3363 > 3364 Description 3365 </th> 3366 </tr> 3367 </thead> 3368 <tbody> 3369 <tr 3370 class="css-190f936-Row" 3371 > 3372 <td 3373 class="css-18p3734-Cell" 3374 > 3375 <strong 3376 class="css-bvflvn-TextComponent" 3377 > 3378 requestedScopes 3379 </strong> 3380 <br /> 3381 <span 3382 class="css-1g95u6x" 3383 > 3384 (optional) 3385 </span> 3386 </td> 3387 <td 3388 class="css-18p3734-Cell" 3389 > 3390 <code 3391 class="css-4xa05b-TextComponent" 3392 data-text="true" 3393 > 3394 <a 3395 class="css-1na8e0o-A" 3396 href="#appleauthenticationscope" 3397 > 3398 AppleAuthenticationScope 3399 [] 3400 </a> 3401 </code> 3402 </td> 3403 <td 3404 class="css-18p3734-Cell" 3405 > 3406 <p 3407 class="css-hnkmoy-TextComponent" 3408 data-text="true" 3409 > 3410 Array of user information scopes to which your app is requesting access. Note that the user can 3411choose to deny your app access to any scope at the time of logging in. You will still need to 3412handle 3413 <code 3414 class="css-23wgco-TextComponent" 3415 data-text="true" 3416 > 3417 null 3418 </code> 3419 values for any scopes you request. Additionally, note that the requested scopes 3420will only be provided to you the first time each user signs into your app; in subsequent 3421requests they will be 3422 <code 3423 class="css-23wgco-TextComponent" 3424 data-text="true" 3425 > 3426 null 3427 </code> 3428 . Defaults to 3429 <code 3430 class="css-23wgco-TextComponent" 3431 data-text="true" 3432 > 3433 [] 3434 </code> 3435 (no scopes). 3436 </p> 3437 </td> 3438 </tr> 3439 <tr 3440 class="css-190f936-Row" 3441 > 3442 <td 3443 class="css-18p3734-Cell" 3444 > 3445 <strong 3446 class="css-bvflvn-TextComponent" 3447 > 3448 state 3449 </strong> 3450 <br /> 3451 <span 3452 class="css-1g95u6x" 3453 > 3454 (optional) 3455 </span> 3456 </td> 3457 <td 3458 class="css-18p3734-Cell" 3459 > 3460 <code 3461 class="css-4xa05b-TextComponent" 3462 data-text="true" 3463 > 3464 string 3465 </code> 3466 </td> 3467 <td 3468 class="css-18p3734-Cell" 3469 > 3470 <p 3471 class="css-hnkmoy-TextComponent" 3472 data-text="true" 3473 > 3474 An arbitrary string that is returned unmodified in the corresponding credential after a 3475successful authentication. This can be used to verify that the response was from the request 3476you made and avoid replay attacks. More information on this property is available in the 3477OAuth 2.0 protocol 3478 <a 3479 class="css-1na8e0o-A" 3480 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3481 rel="noopener noreferrer" 3482 target="_blank" 3483 > 3484 RFC6749 3485 </a> 3486 . 3487 </p> 3488 </td> 3489 </tr> 3490 <tr 3491 class="css-190f936-Row" 3492 > 3493 <td 3494 class="css-18p3734-Cell" 3495 > 3496 <strong 3497 class="css-bvflvn-TextComponent" 3498 > 3499 user 3500 </strong> 3501 </td> 3502 <td 3503 class="css-18p3734-Cell" 3504 > 3505 <code 3506 class="css-4xa05b-TextComponent" 3507 data-text="true" 3508 > 3509 string 3510 </code> 3511 </td> 3512 <td 3513 class="css-18p3734-Cell" 3514 > 3515 - 3516 </td> 3517 </tr> 3518 </tbody> 3519 </table> 3520 </div> 3521 </div> 3522 <div 3523 class="css-1h8tzv" 3524 > 3525 <h3 3526 class=" css-6r23rc-TextComponent" 3527 data-heading="true" 3528 > 3529 <a 3530 class="css-1y48vg3" 3531 href="#appleauthenticationsigninoptions" 3532 > 3533 <span 3534 class="css-s3qkfm" 3535 id="appleauthenticationsigninoptions" 3536 /> 3537 <span 3538 class="css-6n7j50" 3539 > 3540 <code 3541 class="css-4xa05b-TextComponent" 3542 data-text="true" 3543 > 3544 AppleAuthenticationSignInOptions 3545 </code> 3546 </span> 3547 <span 3548 class="css-1eysgws" 3549 > 3550 <svg 3551 aria-label="permalink" 3552 class="anchor-icon" 3553 fill="none" 3554 height="24" 3555 viewBox="0 0 24 24" 3556 width="24" 3557 xmlns="http://www.w3.org/2000/svg" 3558 > 3559 <path 3560 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3561 stroke="#9B9B9B" 3562 stroke-linecap="round" 3563 stroke-linejoin="round" 3564 stroke-width="2" 3565 /> 3566 <path 3567 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3568 stroke="#9B9B9B" 3569 stroke-linecap="round" 3570 stroke-linejoin="round" 3571 stroke-width="2" 3572 /> 3573 </svg> 3574 </span> 3575 </a> 3576 </h3> 3577 <p 3578 class="css-hnkmoy-TextComponent" 3579 data-text="true" 3580 > 3581 The options you can supply when making a call to 3582 <a 3583 class="css-1na8e0o-A" 3584 href="#appleauthenticationsigninasyncoptions" 3585 > 3586 <code 3587 class="css-23wgco-TextComponent" 3588 data-text="true" 3589 > 3590 AppleAuthentication.signInAsync() 3591 </code> 3592 </a> 3593 . 3594None of these options are required. 3595 </p> 3596 <blockquote 3597 class="css-opaww-Callout" 3598 data-testid="callout-container" 3599 > 3600 <div 3601 class="css-ks2t0-Callout" 3602 > 3603 <svg 3604 color="var(--expo-theme-icon-default)" 3605 fill="none" 3606 height="16" 3607 role="img" 3608 size="16" 3609 viewBox="0 0 20 20" 3610 width="16" 3611 > 3612 <title> 3613 Info-icon 3614 </title> 3615 <path 3616 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 3617 fill="var(--expo-theme-icon-default)" 3618 /> 3619 </svg> 3620 </div> 3621 <div 3622 class="css-1m74yfi-Callout" 3623 > 3624 <p 3625 class="css-hnkmoy-TextComponent" 3626 data-text="true" 3627 > 3628 <strong 3629 class="css-bvflvn-TextComponent" 3630 > 3631 See: 3632 </strong> 3633 3634 <a 3635 class="css-1na8e0o-A" 3636 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3637 rel="noopener noreferrer" 3638 target="_blank" 3639 > 3640 Apple 3641Documentation 3642 </a> 3643 3644for more details. 3645 </p> 3646 </div> 3647 </blockquote> 3648 <div 3649 class="css-1uyflf8-Table" 3650 > 3651 <table 3652 class="css-q84cm9-Table" 3653 > 3654 <thead 3655 class="css-1hxdjqf-TableHead" 3656 > 3657 <tr 3658 class="css-190f936-Row" 3659 > 3660 <th 3661 class="css-1uwgm7m-HeaderCell" 3662 > 3663 Name 3664 </th> 3665 <th 3666 class="css-1uwgm7m-HeaderCell" 3667 > 3668 Type 3669 </th> 3670 <th 3671 class="css-1uwgm7m-HeaderCell" 3672 > 3673 Description 3674 </th> 3675 </tr> 3676 </thead> 3677 <tbody> 3678 <tr 3679 class="css-190f936-Row" 3680 > 3681 <td 3682 class="css-18p3734-Cell" 3683 > 3684 <strong 3685 class="css-bvflvn-TextComponent" 3686 > 3687 nonce 3688 </strong> 3689 <br /> 3690 <span 3691 class="css-1g95u6x" 3692 > 3693 (optional) 3694 </span> 3695 </td> 3696 <td 3697 class="css-18p3734-Cell" 3698 > 3699 <code 3700 class="css-4xa05b-TextComponent" 3701 data-text="true" 3702 > 3703 string 3704 </code> 3705 </td> 3706 <td 3707 class="css-18p3734-Cell" 3708 > 3709 <p 3710 class="css-hnkmoy-TextComponent" 3711 data-text="true" 3712 > 3713 An arbitrary string that is used to prevent replay attacks. See more information on this in the 3714 3715 <a 3716 class="css-1na8e0o-A" 3717 href="https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowSteps" 3718 rel="noopener noreferrer" 3719 target="_blank" 3720 > 3721 OpenID Connect specification 3722 </a> 3723 . 3724 </p> 3725 </td> 3726 </tr> 3727 <tr 3728 class="css-190f936-Row" 3729 > 3730 <td 3731 class="css-18p3734-Cell" 3732 > 3733 <strong 3734 class="css-bvflvn-TextComponent" 3735 > 3736 requestedScopes 3737 </strong> 3738 <br /> 3739 <span 3740 class="css-1g95u6x" 3741 > 3742 (optional) 3743 </span> 3744 </td> 3745 <td 3746 class="css-18p3734-Cell" 3747 > 3748 <code 3749 class="css-4xa05b-TextComponent" 3750 data-text="true" 3751 > 3752 <a 3753 class="css-1na8e0o-A" 3754 href="#appleauthenticationscope" 3755 > 3756 AppleAuthenticationScope 3757 [] 3758 </a> 3759 </code> 3760 </td> 3761 <td 3762 class="css-18p3734-Cell" 3763 > 3764 <p 3765 class="css-hnkmoy-TextComponent" 3766 data-text="true" 3767 > 3768 Array of user information scopes to which your app is requesting access. Note that the user can 3769choose to deny your app access to any scope at the time of logging in. You will still need to 3770handle 3771 <code 3772 class="css-23wgco-TextComponent" 3773 data-text="true" 3774 > 3775 null 3776 </code> 3777 values for any scopes you request. Additionally, note that the requested scopes 3778will only be provided to you the first time each user signs into your app; in subsequent 3779requests they will be 3780 <code 3781 class="css-23wgco-TextComponent" 3782 data-text="true" 3783 > 3784 null 3785 </code> 3786 . Defaults to 3787 <code 3788 class="css-23wgco-TextComponent" 3789 data-text="true" 3790 > 3791 [] 3792 </code> 3793 (no scopes). 3794 </p> 3795 </td> 3796 </tr> 3797 <tr 3798 class="css-190f936-Row" 3799 > 3800 <td 3801 class="css-18p3734-Cell" 3802 > 3803 <strong 3804 class="css-bvflvn-TextComponent" 3805 > 3806 state 3807 </strong> 3808 <br /> 3809 <span 3810 class="css-1g95u6x" 3811 > 3812 (optional) 3813 </span> 3814 </td> 3815 <td 3816 class="css-18p3734-Cell" 3817 > 3818 <code 3819 class="css-4xa05b-TextComponent" 3820 data-text="true" 3821 > 3822 string 3823 </code> 3824 </td> 3825 <td 3826 class="css-18p3734-Cell" 3827 > 3828 <p 3829 class="css-hnkmoy-TextComponent" 3830 data-text="true" 3831 > 3832 An arbitrary string that is returned unmodified in the corresponding credential after a 3833successful authentication. This can be used to verify that the response was from the request 3834you made and avoid replay attacks. More information on this property is available in the 3835OAuth 2.0 protocol 3836 <a 3837 class="css-1na8e0o-A" 3838 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3839 rel="noopener noreferrer" 3840 target="_blank" 3841 > 3842 RFC6749 3843 </a> 3844 . 3845 </p> 3846 </td> 3847 </tr> 3848 </tbody> 3849 </table> 3850 </div> 3851 </div> 3852 <div 3853 class="css-1h8tzv" 3854 > 3855 <h3 3856 class=" css-6r23rc-TextComponent" 3857 data-heading="true" 3858 > 3859 <a 3860 class="css-1y48vg3" 3861 href="#appleauthenticationsignoutoptions" 3862 > 3863 <span 3864 class="css-s3qkfm" 3865 id="appleauthenticationsignoutoptions" 3866 /> 3867 <span 3868 class="css-6n7j50" 3869 > 3870 <code 3871 class="css-4xa05b-TextComponent" 3872 data-text="true" 3873 > 3874 AppleAuthenticationSignOutOptions 3875 </code> 3876 </span> 3877 <span 3878 class="css-1eysgws" 3879 > 3880 <svg 3881 aria-label="permalink" 3882 class="anchor-icon" 3883 fill="none" 3884 height="24" 3885 viewBox="0 0 24 24" 3886 width="24" 3887 xmlns="http://www.w3.org/2000/svg" 3888 > 3889 <path 3890 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3891 stroke="#9B9B9B" 3892 stroke-linecap="round" 3893 stroke-linejoin="round" 3894 stroke-width="2" 3895 /> 3896 <path 3897 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3898 stroke="#9B9B9B" 3899 stroke-linecap="round" 3900 stroke-linejoin="round" 3901 stroke-width="2" 3902 /> 3903 </svg> 3904 </span> 3905 </a> 3906 </h3> 3907 <p 3908 class="css-hnkmoy-TextComponent" 3909 data-text="true" 3910 > 3911 The options you can supply when making a call to 3912 <a 3913 class="css-1na8e0o-A" 3914 href="#appleauthenticationsignoutasyncoptions" 3915 > 3916 <code 3917 class="css-23wgco-TextComponent" 3918 data-text="true" 3919 > 3920 AppleAuthentication.signOutAsync() 3921 </code> 3922 </a> 3923 . 3924You must include the ID string of the user to sign out. 3925 </p> 3926 <blockquote 3927 class="css-opaww-Callout" 3928 data-testid="callout-container" 3929 > 3930 <div 3931 class="css-ks2t0-Callout" 3932 > 3933 <svg 3934 color="var(--expo-theme-icon-default)" 3935 fill="none" 3936 height="16" 3937 role="img" 3938 size="16" 3939 viewBox="0 0 20 20" 3940 width="16" 3941 > 3942 <title> 3943 Info-icon 3944 </title> 3945 <path 3946 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 3947 fill="var(--expo-theme-icon-default)" 3948 /> 3949 </svg> 3950 </div> 3951 <div 3952 class="css-1m74yfi-Callout" 3953 > 3954 <p 3955 class="css-hnkmoy-TextComponent" 3956 data-text="true" 3957 > 3958 <strong 3959 class="css-bvflvn-TextComponent" 3960 > 3961 See: 3962 </strong> 3963 3964 <a 3965 class="css-1na8e0o-A" 3966 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3967 rel="noopener noreferrer" 3968 target="_blank" 3969 > 3970 Apple 3971Documentation 3972 </a> 3973 3974for more details. 3975 </p> 3976 </div> 3977 </blockquote> 3978 <div 3979 class="css-1uyflf8-Table" 3980 > 3981 <table 3982 class="css-q84cm9-Table" 3983 > 3984 <thead 3985 class="css-1hxdjqf-TableHead" 3986 > 3987 <tr 3988 class="css-190f936-Row" 3989 > 3990 <th 3991 class="css-1uwgm7m-HeaderCell" 3992 > 3993 Name 3994 </th> 3995 <th 3996 class="css-1uwgm7m-HeaderCell" 3997 > 3998 Type 3999 </th> 4000 <th 4001 class="css-1uwgm7m-HeaderCell" 4002 > 4003 Description 4004 </th> 4005 </tr> 4006 </thead> 4007 <tbody> 4008 <tr 4009 class="css-190f936-Row" 4010 > 4011 <td 4012 class="css-18p3734-Cell" 4013 > 4014 <strong 4015 class="css-bvflvn-TextComponent" 4016 > 4017 state 4018 </strong> 4019 <br /> 4020 <span 4021 class="css-1g95u6x" 4022 > 4023 (optional) 4024 </span> 4025 </td> 4026 <td 4027 class="css-18p3734-Cell" 4028 > 4029 <code 4030 class="css-4xa05b-TextComponent" 4031 data-text="true" 4032 > 4033 string 4034 </code> 4035 </td> 4036 <td 4037 class="css-18p3734-Cell" 4038 > 4039 <p 4040 class="css-hnkmoy-TextComponent" 4041 data-text="true" 4042 > 4043 An arbitrary string that is returned unmodified in the corresponding credential after a 4044successful authentication. This can be used to verify that the response was from the request 4045you made and avoid replay attacks. More information on this property is available in the 4046OAuth 2.0 protocol 4047 <a 4048 class="css-1na8e0o-A" 4049 href="https://tools.ietf.org/html/rfc6749#section-10.12" 4050 rel="noopener noreferrer" 4051 target="_blank" 4052 > 4053 RFC6749 4054 </a> 4055 . 4056 </p> 4057 </td> 4058 </tr> 4059 <tr 4060 class="css-190f936-Row" 4061 > 4062 <td 4063 class="css-18p3734-Cell" 4064 > 4065 <strong 4066 class="css-bvflvn-TextComponent" 4067 > 4068 user 4069 </strong> 4070 </td> 4071 <td 4072 class="css-18p3734-Cell" 4073 > 4074 <code 4075 class="css-4xa05b-TextComponent" 4076 data-text="true" 4077 > 4078 string 4079 </code> 4080 </td> 4081 <td 4082 class="css-18p3734-Cell" 4083 > 4084 - 4085 </td> 4086 </tr> 4087 </tbody> 4088 </table> 4089 </div> 4090 </div> 4091 <div 4092 class="css-1h8tzv" 4093 > 4094 <h3 4095 class=" css-6r23rc-TextComponent" 4096 data-heading="true" 4097 > 4098 <a 4099 class="css-1y48vg3" 4100 href="#subscription" 4101 > 4102 <span 4103 class="css-s3qkfm" 4104 id="subscription" 4105 /> 4106 <span 4107 class="css-6n7j50" 4108 > 4109 <code 4110 class="css-4xa05b-TextComponent" 4111 data-text="true" 4112 > 4113 Subscription 4114 </code> 4115 </span> 4116 <span 4117 class="css-1eysgws" 4118 > 4119 <svg 4120 aria-label="permalink" 4121 class="anchor-icon" 4122 fill="none" 4123 height="24" 4124 viewBox="0 0 24 24" 4125 width="24" 4126 xmlns="http://www.w3.org/2000/svg" 4127 > 4128 <path 4129 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4130 stroke="#9B9B9B" 4131 stroke-linecap="round" 4132 stroke-linejoin="round" 4133 stroke-width="2" 4134 /> 4135 <path 4136 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4137 stroke="#9B9B9B" 4138 stroke-linecap="round" 4139 stroke-linejoin="round" 4140 stroke-width="2" 4141 /> 4142 </svg> 4143 </span> 4144 </a> 4145 </h3> 4146 <div 4147 class="css-1uyflf8-Table" 4148 > 4149 <table 4150 class="css-q84cm9-Table" 4151 > 4152 <thead 4153 class="css-1hxdjqf-TableHead" 4154 > 4155 <tr 4156 class="css-190f936-Row" 4157 > 4158 <th 4159 class="css-1uwgm7m-HeaderCell" 4160 > 4161 Name 4162 </th> 4163 <th 4164 class="css-1uwgm7m-HeaderCell" 4165 > 4166 Type 4167 </th> 4168 <th 4169 class="css-1uwgm7m-HeaderCell" 4170 > 4171 Description 4172 </th> 4173 </tr> 4174 </thead> 4175 <tbody> 4176 <tr 4177 class="css-190f936-Row" 4178 > 4179 <td 4180 class="css-18p3734-Cell" 4181 > 4182 <strong 4183 class="css-bvflvn-TextComponent" 4184 > 4185 remove 4186 </strong> 4187 </td> 4188 <td 4189 class="css-18p3734-Cell" 4190 > 4191 <code 4192 class="css-4xa05b-TextComponent" 4193 data-text="true" 4194 > 4195 () => 4196 4197 void 4198 </code> 4199 </td> 4200 <td 4201 class="css-18p3734-Cell" 4202 > 4203 - 4204 </td> 4205 </tr> 4206 </tbody> 4207 </table> 4208 </div> 4209 </div> 4210 <h2 4211 class=" css-13x385i-TextComponent" 4212 data-heading="true" 4213 > 4214 <a 4215 class="css-1y48vg3" 4216 href="#enums" 4217 > 4218 <span 4219 class="css-s3qkfm" 4220 id="enums" 4221 /> 4222 <span 4223 class="css-6n7j50" 4224 > 4225 Enums 4226 </span> 4227 <span 4228 class="css-1eysgws" 4229 > 4230 <svg 4231 aria-label="permalink" 4232 class="anchor-icon" 4233 fill="none" 4234 height="24" 4235 viewBox="0 0 24 24" 4236 width="24" 4237 xmlns="http://www.w3.org/2000/svg" 4238 > 4239 <path 4240 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4241 stroke="#9B9B9B" 4242 stroke-linecap="round" 4243 stroke-linejoin="round" 4244 stroke-width="2" 4245 /> 4246 <path 4247 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4248 stroke="#9B9B9B" 4249 stroke-linecap="round" 4250 stroke-linejoin="round" 4251 stroke-width="2" 4252 /> 4253 </svg> 4254 </span> 4255 </a> 4256 </h2> 4257 <div 4258 class="css-1kkk53e" 4259 > 4260 <h3 4261 class=" css-6r23rc-TextComponent" 4262 data-heading="true" 4263 > 4264 <a 4265 class="css-1y48vg3" 4266 href="#appleauthenticationbuttonstyle" 4267 > 4268 <span 4269 class="css-s3qkfm" 4270 id="appleauthenticationbuttonstyle" 4271 /> 4272 <span 4273 class="css-6n7j50" 4274 > 4275 <code 4276 class="css-4xa05b-TextComponent" 4277 data-text="true" 4278 > 4279 AppleAuthenticationButtonStyle 4280 </code> 4281 </span> 4282 <span 4283 class="css-1eysgws" 4284 > 4285 <svg 4286 aria-label="permalink" 4287 class="anchor-icon" 4288 fill="none" 4289 height="24" 4290 viewBox="0 0 24 24" 4291 width="24" 4292 xmlns="http://www.w3.org/2000/svg" 4293 > 4294 <path 4295 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4296 stroke="#9B9B9B" 4297 stroke-linecap="round" 4298 stroke-linejoin="round" 4299 stroke-width="2" 4300 /> 4301 <path 4302 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4303 stroke="#9B9B9B" 4304 stroke-linecap="round" 4305 stroke-linejoin="round" 4306 stroke-width="2" 4307 /> 4308 </svg> 4309 </span> 4310 </a> 4311 </h3> 4312 <p 4313 class="css-hnkmoy-TextComponent" 4314 data-text="true" 4315 > 4316 An enum whose values control which pre-defined color scheme to use when rendering an 4317 <a 4318 class="css-1na8e0o-A" 4319 href="#appleauthenticationappleauthenticationbutton" 4320 > 4321 <code 4322 class="css-23wgco-TextComponent" 4323 data-text="true" 4324 > 4325 AppleAuthenticationButton 4326 </code> 4327 </a> 4328 . 4329 </p> 4330 <div 4331 class="css-c22nmz" 4332 > 4333 <h4 4334 class=" css-1gu5rqd-TextComponent" 4335 data-heading="true" 4336 > 4337 <a 4338 class="css-1y48vg3" 4339 href="#white" 4340 > 4341 <span 4342 class="css-s3qkfm" 4343 id="white" 4344 /> 4345 <span 4346 class="css-6n7j50" 4347 > 4348 <code 4349 class="css-4xa05b-TextComponent" 4350 data-text="true" 4351 > 4352 WHITE 4353 </code> 4354 </span> 4355 <span 4356 class="css-1eysgws" 4357 > 4358 <svg 4359 aria-label="permalink" 4360 class="anchor-icon" 4361 fill="none" 4362 height="24" 4363 viewBox="0 0 24 24" 4364 width="24" 4365 xmlns="http://www.w3.org/2000/svg" 4366 > 4367 <path 4368 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4369 stroke="#9B9B9B" 4370 stroke-linecap="round" 4371 stroke-linejoin="round" 4372 stroke-width="2" 4373 /> 4374 <path 4375 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4376 stroke="#9B9B9B" 4377 stroke-linecap="round" 4378 stroke-linejoin="round" 4379 stroke-width="2" 4380 /> 4381 </svg> 4382 </span> 4383 </a> 4384 </h4> 4385 <code 4386 class="css-1s1f2t0-TextComponent" 4387 data-text="true" 4388 > 4389 AppleAuthenticationButtonStyle.WHITE = 0 4390 </code> 4391 <p 4392 class="css-hnkmoy-TextComponent" 4393 data-text="true" 4394 > 4395 White button with black text. 4396 </p> 4397 </div> 4398 <div 4399 class="css-c22nmz" 4400 > 4401 <h4 4402 class=" css-1gu5rqd-TextComponent" 4403 data-heading="true" 4404 > 4405 <a 4406 class="css-1y48vg3" 4407 href="#white_outline" 4408 > 4409 <span 4410 class="css-s3qkfm" 4411 id="white_outline" 4412 /> 4413 <span 4414 class="css-6n7j50" 4415 > 4416 <code 4417 class="css-4xa05b-TextComponent" 4418 data-text="true" 4419 > 4420 WHITE_OUTLINE 4421 </code> 4422 </span> 4423 <span 4424 class="css-1eysgws" 4425 > 4426 <svg 4427 aria-label="permalink" 4428 class="anchor-icon" 4429 fill="none" 4430 height="24" 4431 viewBox="0 0 24 24" 4432 width="24" 4433 xmlns="http://www.w3.org/2000/svg" 4434 > 4435 <path 4436 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4437 stroke="#9B9B9B" 4438 stroke-linecap="round" 4439 stroke-linejoin="round" 4440 stroke-width="2" 4441 /> 4442 <path 4443 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4444 stroke="#9B9B9B" 4445 stroke-linecap="round" 4446 stroke-linejoin="round" 4447 stroke-width="2" 4448 /> 4449 </svg> 4450 </span> 4451 </a> 4452 </h4> 4453 <code 4454 class="css-1s1f2t0-TextComponent" 4455 data-text="true" 4456 > 4457 AppleAuthenticationButtonStyle.WHITE_OUTLINE = 1 4458 </code> 4459 <p 4460 class="css-hnkmoy-TextComponent" 4461 data-text="true" 4462 > 4463 White button with a black outline and black text. 4464 </p> 4465 </div> 4466 <div 4467 class="css-c22nmz" 4468 > 4469 <h4 4470 class=" css-1gu5rqd-TextComponent" 4471 data-heading="true" 4472 > 4473 <a 4474 class="css-1y48vg3" 4475 href="#black" 4476 > 4477 <span 4478 class="css-s3qkfm" 4479 id="black" 4480 /> 4481 <span 4482 class="css-6n7j50" 4483 > 4484 <code 4485 class="css-4xa05b-TextComponent" 4486 data-text="true" 4487 > 4488 BLACK 4489 </code> 4490 </span> 4491 <span 4492 class="css-1eysgws" 4493 > 4494 <svg 4495 aria-label="permalink" 4496 class="anchor-icon" 4497 fill="none" 4498 height="24" 4499 viewBox="0 0 24 24" 4500 width="24" 4501 xmlns="http://www.w3.org/2000/svg" 4502 > 4503 <path 4504 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4505 stroke="#9B9B9B" 4506 stroke-linecap="round" 4507 stroke-linejoin="round" 4508 stroke-width="2" 4509 /> 4510 <path 4511 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4512 stroke="#9B9B9B" 4513 stroke-linecap="round" 4514 stroke-linejoin="round" 4515 stroke-width="2" 4516 /> 4517 </svg> 4518 </span> 4519 </a> 4520 </h4> 4521 <code 4522 class="css-1s1f2t0-TextComponent" 4523 data-text="true" 4524 > 4525 AppleAuthenticationButtonStyle.BLACK = 2 4526 </code> 4527 <p 4528 class="css-hnkmoy-TextComponent" 4529 data-text="true" 4530 > 4531 Black button with white text. 4532 </p> 4533 </div> 4534 </div> 4535 <div 4536 class="css-1kkk53e" 4537 > 4538 <h3 4539 class=" css-6r23rc-TextComponent" 4540 data-heading="true" 4541 > 4542 <a 4543 class="css-1y48vg3" 4544 href="#appleauthenticationbuttontype" 4545 > 4546 <span 4547 class="css-s3qkfm" 4548 id="appleauthenticationbuttontype" 4549 /> 4550 <span 4551 class="css-6n7j50" 4552 > 4553 <code 4554 class="css-4xa05b-TextComponent" 4555 data-text="true" 4556 > 4557 AppleAuthenticationButtonType 4558 </code> 4559 </span> 4560 <span 4561 class="css-1eysgws" 4562 > 4563 <svg 4564 aria-label="permalink" 4565 class="anchor-icon" 4566 fill="none" 4567 height="24" 4568 viewBox="0 0 24 24" 4569 width="24" 4570 xmlns="http://www.w3.org/2000/svg" 4571 > 4572 <path 4573 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4574 stroke="#9B9B9B" 4575 stroke-linecap="round" 4576 stroke-linejoin="round" 4577 stroke-width="2" 4578 /> 4579 <path 4580 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4581 stroke="#9B9B9B" 4582 stroke-linecap="round" 4583 stroke-linejoin="round" 4584 stroke-width="2" 4585 /> 4586 </svg> 4587 </span> 4588 </a> 4589 </h3> 4590 <p 4591 class="css-hnkmoy-TextComponent" 4592 data-text="true" 4593 > 4594 An enum whose values control which pre-defined text to use when rendering an 4595 <a 4596 class="css-1na8e0o-A" 4597 href="#appleauthenticationappleauthenticationbutton" 4598 > 4599 <code 4600 class="css-23wgco-TextComponent" 4601 data-text="true" 4602 > 4603 AppleAuthenticationButton 4604 </code> 4605 </a> 4606 . 4607 </p> 4608 <div 4609 class="css-c22nmz" 4610 > 4611 <h4 4612 class=" css-1gu5rqd-TextComponent" 4613 data-heading="true" 4614 > 4615 <a 4616 class="css-1y48vg3" 4617 href="#sign_in" 4618 > 4619 <span 4620 class="css-s3qkfm" 4621 id="sign_in" 4622 /> 4623 <span 4624 class="css-6n7j50" 4625 > 4626 <code 4627 class="css-4xa05b-TextComponent" 4628 data-text="true" 4629 > 4630 SIGN_IN 4631 </code> 4632 </span> 4633 <span 4634 class="css-1eysgws" 4635 > 4636 <svg 4637 aria-label="permalink" 4638 class="anchor-icon" 4639 fill="none" 4640 height="24" 4641 viewBox="0 0 24 24" 4642 width="24" 4643 xmlns="http://www.w3.org/2000/svg" 4644 > 4645 <path 4646 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4647 stroke="#9B9B9B" 4648 stroke-linecap="round" 4649 stroke-linejoin="round" 4650 stroke-width="2" 4651 /> 4652 <path 4653 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4654 stroke="#9B9B9B" 4655 stroke-linecap="round" 4656 stroke-linejoin="round" 4657 stroke-width="2" 4658 /> 4659 </svg> 4660 </span> 4661 </a> 4662 </h4> 4663 <code 4664 class="css-1s1f2t0-TextComponent" 4665 data-text="true" 4666 > 4667 AppleAuthenticationButtonType.SIGN_IN = 0 4668 </code> 4669 <p 4670 class="css-hnkmoy-TextComponent" 4671 data-text="true" 4672 > 4673 "Sign in with Apple" 4674 </p> 4675 </div> 4676 <div 4677 class="css-c22nmz" 4678 > 4679 <h4 4680 class=" css-1gu5rqd-TextComponent" 4681 data-heading="true" 4682 > 4683 <a 4684 class="css-1y48vg3" 4685 href="#continue" 4686 > 4687 <span 4688 class="css-s3qkfm" 4689 id="continue" 4690 /> 4691 <span 4692 class="css-6n7j50" 4693 > 4694 <code 4695 class="css-4xa05b-TextComponent" 4696 data-text="true" 4697 > 4698 CONTINUE 4699 </code> 4700 </span> 4701 <span 4702 class="css-1eysgws" 4703 > 4704 <svg 4705 aria-label="permalink" 4706 class="anchor-icon" 4707 fill="none" 4708 height="24" 4709 viewBox="0 0 24 24" 4710 width="24" 4711 xmlns="http://www.w3.org/2000/svg" 4712 > 4713 <path 4714 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4715 stroke="#9B9B9B" 4716 stroke-linecap="round" 4717 stroke-linejoin="round" 4718 stroke-width="2" 4719 /> 4720 <path 4721 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4722 stroke="#9B9B9B" 4723 stroke-linecap="round" 4724 stroke-linejoin="round" 4725 stroke-width="2" 4726 /> 4727 </svg> 4728 </span> 4729 </a> 4730 </h4> 4731 <code 4732 class="css-1s1f2t0-TextComponent" 4733 data-text="true" 4734 > 4735 AppleAuthenticationButtonType.CONTINUE = 1 4736 </code> 4737 <p 4738 class="css-hnkmoy-TextComponent" 4739 data-text="true" 4740 > 4741 "Continue with Apple" 4742 </p> 4743 </div> 4744 <div 4745 class="css-c22nmz" 4746 > 4747 <strong 4748 class="css-bvflvn-TextComponent" 4749 > 4750 Only for: 4751 4752 </strong> 4753 <div 4754 class="css-ia0kxc-PlatformTag" 4755 > 4756 <svg 4757 color="var(--blue12)" 4758 fill="none" 4759 height="12" 4760 role="img" 4761 size="12" 4762 viewBox="0 0 20 20" 4763 width="12" 4764 > 4765 <title> 4766 Apple-icon 4767 </title> 4768 <path 4769 d="M17.66 15.391a10.489 10.489 0 01-1.039 1.866c-.545.778-.992 1.317-1.336 1.616-.534.49-1.106.742-1.719.757-.44 0-.97-.125-1.587-.38-.619-.252-1.188-.377-1.708-.377-.546 0-1.131.125-1.757.378-.627.253-1.132.386-1.519.399-.587.025-1.172-.234-1.757-.777-.373-.325-.839-.883-1.398-1.673-.6-.843-1.092-1.822-1.478-2.937-.414-1.205-.621-2.371-.621-3.5 0-1.294.28-2.41.839-3.345A4.924 4.924 0 014.338 5.64a4.73 4.73 0 012.377-.67c.466 0 1.078.144 1.838.427.758.285 1.245.429 1.458.429.16 0 .7-.169 1.617-.505.867-.312 1.599-.441 2.198-.39 1.624.13 2.844.77 3.656 1.924-1.453.88-2.171 2.113-2.157 3.694.013 1.232.46 2.257 1.338 3.07.398.378.843.67 1.337.878-.107.31-.22.608-.34.894zM13.934.735c0 .965-.353 1.866-1.056 2.7-.848.992-1.875 1.566-2.987 1.475a3.005 3.005 0 01-.023-.366c0-.926.404-1.918 1.12-2.73.358-.41.813-.751 1.364-1.023.55-.269 1.072-.417 1.561-.443.015.13.02.259.02.387z" 4770 fill="var(--blue12)" 4771 /> 4772 </svg> 4773 <span 4774 class="css-6g4m4t-PlatformTag" 4775 > 4776 iOS 13.2+ 4777 </span> 4778 </div> 4779 <br /> 4780 <h4 4781 class=" css-1gu5rqd-TextComponent" 4782 data-heading="true" 4783 > 4784 <a 4785 class="css-1y48vg3" 4786 href="#sign_up" 4787 > 4788 <span 4789 class="css-s3qkfm" 4790 id="sign_up" 4791 /> 4792 <span 4793 class="css-6n7j50" 4794 > 4795 <code 4796 class="css-4xa05b-TextComponent" 4797 data-text="true" 4798 > 4799 SIGN_UP 4800 </code> 4801 </span> 4802 <span 4803 class="css-1eysgws" 4804 > 4805 <svg 4806 aria-label="permalink" 4807 class="anchor-icon" 4808 fill="none" 4809 height="24" 4810 viewBox="0 0 24 24" 4811 width="24" 4812 xmlns="http://www.w3.org/2000/svg" 4813 > 4814 <path 4815 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4816 stroke="#9B9B9B" 4817 stroke-linecap="round" 4818 stroke-linejoin="round" 4819 stroke-width="2" 4820 /> 4821 <path 4822 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4823 stroke="#9B9B9B" 4824 stroke-linecap="round" 4825 stroke-linejoin="round" 4826 stroke-width="2" 4827 /> 4828 </svg> 4829 </span> 4830 </a> 4831 </h4> 4832 <code 4833 class="css-1s1f2t0-TextComponent" 4834 data-text="true" 4835 > 4836 AppleAuthenticationButtonType.SIGN_UP = 2 4837 </code> 4838 <p 4839 class="css-hnkmoy-TextComponent" 4840 data-text="true" 4841 > 4842 "Sign up with Apple" 4843 </p> 4844 </div> 4845 </div> 4846 <div 4847 class="css-1kkk53e" 4848 > 4849 <h3 4850 class=" css-6r23rc-TextComponent" 4851 data-heading="true" 4852 > 4853 <a 4854 class="css-1y48vg3" 4855 href="#appleauthenticationcredentialstate" 4856 > 4857 <span 4858 class="css-s3qkfm" 4859 id="appleauthenticationcredentialstate" 4860 /> 4861 <span 4862 class="css-6n7j50" 4863 > 4864 <code 4865 class="css-4xa05b-TextComponent" 4866 data-text="true" 4867 > 4868 AppleAuthenticationCredentialState 4869 </code> 4870 </span> 4871 <span 4872 class="css-1eysgws" 4873 > 4874 <svg 4875 aria-label="permalink" 4876 class="anchor-icon" 4877 fill="none" 4878 height="24" 4879 viewBox="0 0 24 24" 4880 width="24" 4881 xmlns="http://www.w3.org/2000/svg" 4882 > 4883 <path 4884 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4885 stroke="#9B9B9B" 4886 stroke-linecap="round" 4887 stroke-linejoin="round" 4888 stroke-width="2" 4889 /> 4890 <path 4891 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4892 stroke="#9B9B9B" 4893 stroke-linecap="round" 4894 stroke-linejoin="round" 4895 stroke-width="2" 4896 /> 4897 </svg> 4898 </span> 4899 </a> 4900 </h3> 4901 <p 4902 class="css-hnkmoy-TextComponent" 4903 data-text="true" 4904 > 4905 An enum whose values specify state of the credential when checked with 4906 <a 4907 class="css-1na8e0o-A" 4908 href="#appleauthenticationgetcredentialstateasyncuser" 4909 > 4910 <code 4911 class="css-23wgco-TextComponent" 4912 data-text="true" 4913 > 4914 AppleAuthentication.getCredentialStateAsync() 4915 </code> 4916 </a> 4917 . 4918 </p> 4919 <blockquote 4920 class="css-opaww-Callout" 4921 data-testid="callout-container" 4922 > 4923 <div 4924 class="css-ks2t0-Callout" 4925 > 4926 <svg 4927 color="var(--expo-theme-icon-default)" 4928 fill="none" 4929 height="16" 4930 role="img" 4931 size="16" 4932 viewBox="0 0 20 20" 4933 width="16" 4934 > 4935 <title> 4936 Info-icon 4937 </title> 4938 <path 4939 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 4940 fill="var(--expo-theme-icon-default)" 4941 /> 4942 </svg> 4943 </div> 4944 <div 4945 class="css-1m74yfi-Callout" 4946 > 4947 <p 4948 class="css-hnkmoy-TextComponent" 4949 data-text="true" 4950 > 4951 <strong 4952 class="css-bvflvn-TextComponent" 4953 > 4954 See: 4955 </strong> 4956 4957 <a 4958 class="css-1na8e0o-A" 4959 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovidercredentialstate" 4960 rel="noopener noreferrer" 4961 target="_blank" 4962 > 4963 Apple 4964Documentation 4965 </a> 4966 4967for more details. 4968 </p> 4969 </div> 4970 </blockquote> 4971 <div 4972 class="css-c22nmz" 4973 > 4974 <h4 4975 class=" css-1gu5rqd-TextComponent" 4976 data-heading="true" 4977 > 4978 <a 4979 class="css-1y48vg3" 4980 href="#revoked" 4981 > 4982 <span 4983 class="css-s3qkfm" 4984 id="revoked" 4985 /> 4986 <span 4987 class="css-6n7j50" 4988 > 4989 <code 4990 class="css-4xa05b-TextComponent" 4991 data-text="true" 4992 > 4993 REVOKED 4994 </code> 4995 </span> 4996 <span 4997 class="css-1eysgws" 4998 > 4999 <svg 5000 aria-label="permalink" 5001 class="anchor-icon" 5002 fill="none" 5003 height="24" 5004 viewBox="0 0 24 24" 5005 width="24" 5006 xmlns="http://www.w3.org/2000/svg" 5007 > 5008 <path 5009 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5010 stroke="#9B9B9B" 5011 stroke-linecap="round" 5012 stroke-linejoin="round" 5013 stroke-width="2" 5014 /> 5015 <path 5016 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5017 stroke="#9B9B9B" 5018 stroke-linecap="round" 5019 stroke-linejoin="round" 5020 stroke-width="2" 5021 /> 5022 </svg> 5023 </span> 5024 </a> 5025 </h4> 5026 <code 5027 class="css-1s1f2t0-TextComponent" 5028 data-text="true" 5029 > 5030 AppleAuthenticationCredentialState.REVOKED = 0 5031 </code> 5032 </div> 5033 <div 5034 class="css-c22nmz" 5035 > 5036 <h4 5037 class=" css-1gu5rqd-TextComponent" 5038 data-heading="true" 5039 > 5040 <a 5041 class="css-1y48vg3" 5042 href="#authorized" 5043 > 5044 <span 5045 class="css-s3qkfm" 5046 id="authorized" 5047 /> 5048 <span 5049 class="css-6n7j50" 5050 > 5051 <code 5052 class="css-4xa05b-TextComponent" 5053 data-text="true" 5054 > 5055 AUTHORIZED 5056 </code> 5057 </span> 5058 <span 5059 class="css-1eysgws" 5060 > 5061 <svg 5062 aria-label="permalink" 5063 class="anchor-icon" 5064 fill="none" 5065 height="24" 5066 viewBox="0 0 24 24" 5067 width="24" 5068 xmlns="http://www.w3.org/2000/svg" 5069 > 5070 <path 5071 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5072 stroke="#9B9B9B" 5073 stroke-linecap="round" 5074 stroke-linejoin="round" 5075 stroke-width="2" 5076 /> 5077 <path 5078 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5079 stroke="#9B9B9B" 5080 stroke-linecap="round" 5081 stroke-linejoin="round" 5082 stroke-width="2" 5083 /> 5084 </svg> 5085 </span> 5086 </a> 5087 </h4> 5088 <code 5089 class="css-1s1f2t0-TextComponent" 5090 data-text="true" 5091 > 5092 AppleAuthenticationCredentialState.AUTHORIZED = 1 5093 </code> 5094 </div> 5095 <div 5096 class="css-c22nmz" 5097 > 5098 <h4 5099 class=" css-1gu5rqd-TextComponent" 5100 data-heading="true" 5101 > 5102 <a 5103 class="css-1y48vg3" 5104 href="#not_found" 5105 > 5106 <span 5107 class="css-s3qkfm" 5108 id="not_found" 5109 /> 5110 <span 5111 class="css-6n7j50" 5112 > 5113 <code 5114 class="css-4xa05b-TextComponent" 5115 data-text="true" 5116 > 5117 NOT_FOUND 5118 </code> 5119 </span> 5120 <span 5121 class="css-1eysgws" 5122 > 5123 <svg 5124 aria-label="permalink" 5125 class="anchor-icon" 5126 fill="none" 5127 height="24" 5128 viewBox="0 0 24 24" 5129 width="24" 5130 xmlns="http://www.w3.org/2000/svg" 5131 > 5132 <path 5133 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5134 stroke="#9B9B9B" 5135 stroke-linecap="round" 5136 stroke-linejoin="round" 5137 stroke-width="2" 5138 /> 5139 <path 5140 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5141 stroke="#9B9B9B" 5142 stroke-linecap="round" 5143 stroke-linejoin="round" 5144 stroke-width="2" 5145 /> 5146 </svg> 5147 </span> 5148 </a> 5149 </h4> 5150 <code 5151 class="css-1s1f2t0-TextComponent" 5152 data-text="true" 5153 > 5154 AppleAuthenticationCredentialState.NOT_FOUND = 2 5155 </code> 5156 </div> 5157 <div 5158 class="css-c22nmz" 5159 > 5160 <h4 5161 class=" css-1gu5rqd-TextComponent" 5162 data-heading="true" 5163 > 5164 <a 5165 class="css-1y48vg3" 5166 href="#transferred" 5167 > 5168 <span 5169 class="css-s3qkfm" 5170 id="transferred" 5171 /> 5172 <span 5173 class="css-6n7j50" 5174 > 5175 <code 5176 class="css-4xa05b-TextComponent" 5177 data-text="true" 5178 > 5179 TRANSFERRED 5180 </code> 5181 </span> 5182 <span 5183 class="css-1eysgws" 5184 > 5185 <svg 5186 aria-label="permalink" 5187 class="anchor-icon" 5188 fill="none" 5189 height="24" 5190 viewBox="0 0 24 24" 5191 width="24" 5192 xmlns="http://www.w3.org/2000/svg" 5193 > 5194 <path 5195 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5196 stroke="#9B9B9B" 5197 stroke-linecap="round" 5198 stroke-linejoin="round" 5199 stroke-width="2" 5200 /> 5201 <path 5202 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5203 stroke="#9B9B9B" 5204 stroke-linecap="round" 5205 stroke-linejoin="round" 5206 stroke-width="2" 5207 /> 5208 </svg> 5209 </span> 5210 </a> 5211 </h4> 5212 <code 5213 class="css-1s1f2t0-TextComponent" 5214 data-text="true" 5215 > 5216 AppleAuthenticationCredentialState.TRANSFERRED = 3 5217 </code> 5218 </div> 5219 </div> 5220 <div 5221 class="css-1kkk53e" 5222 > 5223 <h3 5224 class=" css-6r23rc-TextComponent" 5225 data-heading="true" 5226 > 5227 <a 5228 class="css-1y48vg3" 5229 href="#appleauthenticationoperation" 5230 > 5231 <span 5232 class="css-s3qkfm" 5233 id="appleauthenticationoperation" 5234 /> 5235 <span 5236 class="css-6n7j50" 5237 > 5238 <code 5239 class="css-4xa05b-TextComponent" 5240 data-text="true" 5241 > 5242 AppleAuthenticationOperation 5243 </code> 5244 </span> 5245 <span 5246 class="css-1eysgws" 5247 > 5248 <svg 5249 aria-label="permalink" 5250 class="anchor-icon" 5251 fill="none" 5252 height="24" 5253 viewBox="0 0 24 24" 5254 width="24" 5255 xmlns="http://www.w3.org/2000/svg" 5256 > 5257 <path 5258 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5259 stroke="#9B9B9B" 5260 stroke-linecap="round" 5261 stroke-linejoin="round" 5262 stroke-width="2" 5263 /> 5264 <path 5265 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5266 stroke="#9B9B9B" 5267 stroke-linecap="round" 5268 stroke-linejoin="round" 5269 stroke-width="2" 5270 /> 5271 </svg> 5272 </span> 5273 </a> 5274 </h3> 5275 <div 5276 class="css-c22nmz" 5277 > 5278 <h4 5279 class=" css-1gu5rqd-TextComponent" 5280 data-heading="true" 5281 > 5282 <a 5283 class="css-1y48vg3" 5284 href="#implicit" 5285 > 5286 <span 5287 class="css-s3qkfm" 5288 id="implicit" 5289 /> 5290 <span 5291 class="css-6n7j50" 5292 > 5293 <code 5294 class="css-4xa05b-TextComponent" 5295 data-text="true" 5296 > 5297 IMPLICIT 5298 </code> 5299 </span> 5300 <span 5301 class="css-1eysgws" 5302 > 5303 <svg 5304 aria-label="permalink" 5305 class="anchor-icon" 5306 fill="none" 5307 height="24" 5308 viewBox="0 0 24 24" 5309 width="24" 5310 xmlns="http://www.w3.org/2000/svg" 5311 > 5312 <path 5313 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5314 stroke="#9B9B9B" 5315 stroke-linecap="round" 5316 stroke-linejoin="round" 5317 stroke-width="2" 5318 /> 5319 <path 5320 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5321 stroke="#9B9B9B" 5322 stroke-linecap="round" 5323 stroke-linejoin="round" 5324 stroke-width="2" 5325 /> 5326 </svg> 5327 </span> 5328 </a> 5329 </h4> 5330 <code 5331 class="css-1s1f2t0-TextComponent" 5332 data-text="true" 5333 > 5334 AppleAuthenticationOperation.IMPLICIT = 0 5335 </code> 5336 <p 5337 class="css-hnkmoy-TextComponent" 5338 data-text="true" 5339 > 5340 An operation that depends on the particular kind of credential provider. 5341 </p> 5342 </div> 5343 <div 5344 class="css-c22nmz" 5345 > 5346 <h4 5347 class=" css-1gu5rqd-TextComponent" 5348 data-heading="true" 5349 > 5350 <a 5351 class="css-1y48vg3" 5352 href="#login" 5353 > 5354 <span 5355 class="css-s3qkfm" 5356 id="login" 5357 /> 5358 <span 5359 class="css-6n7j50" 5360 > 5361 <code 5362 class="css-4xa05b-TextComponent" 5363 data-text="true" 5364 > 5365 LOGIN 5366 </code> 5367 </span> 5368 <span 5369 class="css-1eysgws" 5370 > 5371 <svg 5372 aria-label="permalink" 5373 class="anchor-icon" 5374 fill="none" 5375 height="24" 5376 viewBox="0 0 24 24" 5377 width="24" 5378 xmlns="http://www.w3.org/2000/svg" 5379 > 5380 <path 5381 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5382 stroke="#9B9B9B" 5383 stroke-linecap="round" 5384 stroke-linejoin="round" 5385 stroke-width="2" 5386 /> 5387 <path 5388 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5389 stroke="#9B9B9B" 5390 stroke-linecap="round" 5391 stroke-linejoin="round" 5392 stroke-width="2" 5393 /> 5394 </svg> 5395 </span> 5396 </a> 5397 </h4> 5398 <code 5399 class="css-1s1f2t0-TextComponent" 5400 data-text="true" 5401 > 5402 AppleAuthenticationOperation.LOGIN = 1 5403 </code> 5404 </div> 5405 <div 5406 class="css-c22nmz" 5407 > 5408 <h4 5409 class=" css-1gu5rqd-TextComponent" 5410 data-heading="true" 5411 > 5412 <a 5413 class="css-1y48vg3" 5414 href="#refresh" 5415 > 5416 <span 5417 class="css-s3qkfm" 5418 id="refresh" 5419 /> 5420 <span 5421 class="css-6n7j50" 5422 > 5423 <code 5424 class="css-4xa05b-TextComponent" 5425 data-text="true" 5426 > 5427 REFRESH 5428 </code> 5429 </span> 5430 <span 5431 class="css-1eysgws" 5432 > 5433 <svg 5434 aria-label="permalink" 5435 class="anchor-icon" 5436 fill="none" 5437 height="24" 5438 viewBox="0 0 24 24" 5439 width="24" 5440 xmlns="http://www.w3.org/2000/svg" 5441 > 5442 <path 5443 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5444 stroke="#9B9B9B" 5445 stroke-linecap="round" 5446 stroke-linejoin="round" 5447 stroke-width="2" 5448 /> 5449 <path 5450 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5451 stroke="#9B9B9B" 5452 stroke-linecap="round" 5453 stroke-linejoin="round" 5454 stroke-width="2" 5455 /> 5456 </svg> 5457 </span> 5458 </a> 5459 </h4> 5460 <code 5461 class="css-1s1f2t0-TextComponent" 5462 data-text="true" 5463 > 5464 AppleAuthenticationOperation.REFRESH = 2 5465 </code> 5466 </div> 5467 <div 5468 class="css-c22nmz" 5469 > 5470 <h4 5471 class=" css-1gu5rqd-TextComponent" 5472 data-heading="true" 5473 > 5474 <a 5475 class="css-1y48vg3" 5476 href="#logout" 5477 > 5478 <span 5479 class="css-s3qkfm" 5480 id="logout" 5481 /> 5482 <span 5483 class="css-6n7j50" 5484 > 5485 <code 5486 class="css-4xa05b-TextComponent" 5487 data-text="true" 5488 > 5489 LOGOUT 5490 </code> 5491 </span> 5492 <span 5493 class="css-1eysgws" 5494 > 5495 <svg 5496 aria-label="permalink" 5497 class="anchor-icon" 5498 fill="none" 5499 height="24" 5500 viewBox="0 0 24 24" 5501 width="24" 5502 xmlns="http://www.w3.org/2000/svg" 5503 > 5504 <path 5505 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5506 stroke="#9B9B9B" 5507 stroke-linecap="round" 5508 stroke-linejoin="round" 5509 stroke-width="2" 5510 /> 5511 <path 5512 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5513 stroke="#9B9B9B" 5514 stroke-linecap="round" 5515 stroke-linejoin="round" 5516 stroke-width="2" 5517 /> 5518 </svg> 5519 </span> 5520 </a> 5521 </h4> 5522 <code 5523 class="css-1s1f2t0-TextComponent" 5524 data-text="true" 5525 > 5526 AppleAuthenticationOperation.LOGOUT = 3 5527 </code> 5528 </div> 5529 </div> 5530 <div 5531 class="css-1kkk53e" 5532 > 5533 <h3 5534 class=" css-6r23rc-TextComponent" 5535 data-heading="true" 5536 > 5537 <a 5538 class="css-1y48vg3" 5539 href="#appleauthenticationscope" 5540 > 5541 <span 5542 class="css-s3qkfm" 5543 id="appleauthenticationscope" 5544 /> 5545 <span 5546 class="css-6n7j50" 5547 > 5548 <code 5549 class="css-4xa05b-TextComponent" 5550 data-text="true" 5551 > 5552 AppleAuthenticationScope 5553 </code> 5554 </span> 5555 <span 5556 class="css-1eysgws" 5557 > 5558 <svg 5559 aria-label="permalink" 5560 class="anchor-icon" 5561 fill="none" 5562 height="24" 5563 viewBox="0 0 24 24" 5564 width="24" 5565 xmlns="http://www.w3.org/2000/svg" 5566 > 5567 <path 5568 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5569 stroke="#9B9B9B" 5570 stroke-linecap="round" 5571 stroke-linejoin="round" 5572 stroke-width="2" 5573 /> 5574 <path 5575 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5576 stroke="#9B9B9B" 5577 stroke-linecap="round" 5578 stroke-linejoin="round" 5579 stroke-width="2" 5580 /> 5581 </svg> 5582 </span> 5583 </a> 5584 </h3> 5585 <p 5586 class="css-hnkmoy-TextComponent" 5587 data-text="true" 5588 > 5589 An enum whose values specify scopes you can request when calling 5590 <a 5591 class="css-1na8e0o-A" 5592 href="#appleauthenticationsigninasyncoptions" 5593 > 5594 <code 5595 class="css-23wgco-TextComponent" 5596 data-text="true" 5597 > 5598 AppleAuthentication.signInAsync() 5599 </code> 5600 </a> 5601 . 5602 </p> 5603 5604 5605 <blockquote 5606 class="css-opaww-Callout" 5607 data-testid="callout-container" 5608 > 5609 <div 5610 class="css-ks2t0-Callout" 5611 > 5612 <svg 5613 color="var(--expo-theme-icon-default)" 5614 fill="none" 5615 height="16" 5616 role="img" 5617 size="16" 5618 viewBox="0 0 20 20" 5619 width="16" 5620 > 5621 <title> 5622 Info-icon 5623 </title> 5624 <path 5625 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 5626 fill="var(--expo-theme-icon-default)" 5627 /> 5628 </svg> 5629 </div> 5630 <div 5631 class="css-1m74yfi-Callout" 5632 > 5633 5634 5635 <p 5636 class="css-hnkmoy-TextComponent" 5637 data-text="true" 5638 > 5639 Note that it is possible that you will not be granted all of the scopes which you request. 5640You will still need to handle null values for any fields you request. 5641 </p> 5642 5643 5644 </div> 5645 </blockquote> 5646 <blockquote 5647 class="css-opaww-Callout" 5648 data-testid="callout-container" 5649 > 5650 <div 5651 class="css-ks2t0-Callout" 5652 > 5653 <svg 5654 color="var(--expo-theme-icon-default)" 5655 fill="none" 5656 height="16" 5657 role="img" 5658 size="16" 5659 viewBox="0 0 20 20" 5660 width="16" 5661 > 5662 <title> 5663 Info-icon 5664 </title> 5665 <path 5666 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 5667 fill="var(--expo-theme-icon-default)" 5668 /> 5669 </svg> 5670 </div> 5671 <div 5672 class="css-1m74yfi-Callout" 5673 > 5674 <p 5675 class="css-hnkmoy-TextComponent" 5676 data-text="true" 5677 > 5678 <strong 5679 class="css-bvflvn-TextComponent" 5680 > 5681 See: 5682 </strong> 5683 5684 <a 5685 class="css-1na8e0o-A" 5686 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationscope" 5687 rel="noopener noreferrer" 5688 target="_blank" 5689 > 5690 Apple 5691Documentation 5692 </a> 5693 5694for more details. 5695 </p> 5696 </div> 5697 </blockquote> 5698 <div 5699 class="css-c22nmz" 5700 > 5701 <h4 5702 class=" css-1gu5rqd-TextComponent" 5703 data-heading="true" 5704 > 5705 <a 5706 class="css-1y48vg3" 5707 href="#full_name" 5708 > 5709 <span 5710 class="css-s3qkfm" 5711 id="full_name" 5712 /> 5713 <span 5714 class="css-6n7j50" 5715 > 5716 <code 5717 class="css-4xa05b-TextComponent" 5718 data-text="true" 5719 > 5720 FULL_NAME 5721 </code> 5722 </span> 5723 <span 5724 class="css-1eysgws" 5725 > 5726 <svg 5727 aria-label="permalink" 5728 class="anchor-icon" 5729 fill="none" 5730 height="24" 5731 viewBox="0 0 24 24" 5732 width="24" 5733 xmlns="http://www.w3.org/2000/svg" 5734 > 5735 <path 5736 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5737 stroke="#9B9B9B" 5738 stroke-linecap="round" 5739 stroke-linejoin="round" 5740 stroke-width="2" 5741 /> 5742 <path 5743 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5744 stroke="#9B9B9B" 5745 stroke-linecap="round" 5746 stroke-linejoin="round" 5747 stroke-width="2" 5748 /> 5749 </svg> 5750 </span> 5751 </a> 5752 </h4> 5753 <code 5754 class="css-1s1f2t0-TextComponent" 5755 data-text="true" 5756 > 5757 AppleAuthenticationScope.FULL_NAME = 0 5758 </code> 5759 </div> 5760 <div 5761 class="css-c22nmz" 5762 > 5763 <h4 5764 class=" css-1gu5rqd-TextComponent" 5765 data-heading="true" 5766 > 5767 <a 5768 class="css-1y48vg3" 5769 href="#email" 5770 > 5771 <span 5772 class="css-s3qkfm" 5773 id="email" 5774 /> 5775 <span 5776 class="css-6n7j50" 5777 > 5778 <code 5779 class="css-4xa05b-TextComponent" 5780 data-text="true" 5781 > 5782 EMAIL 5783 </code> 5784 </span> 5785 <span 5786 class="css-1eysgws" 5787 > 5788 <svg 5789 aria-label="permalink" 5790 class="anchor-icon" 5791 fill="none" 5792 height="24" 5793 viewBox="0 0 24 24" 5794 width="24" 5795 xmlns="http://www.w3.org/2000/svg" 5796 > 5797 <path 5798 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5799 stroke="#9B9B9B" 5800 stroke-linecap="round" 5801 stroke-linejoin="round" 5802 stroke-width="2" 5803 /> 5804 <path 5805 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5806 stroke="#9B9B9B" 5807 stroke-linecap="round" 5808 stroke-linejoin="round" 5809 stroke-width="2" 5810 /> 5811 </svg> 5812 </span> 5813 </a> 5814 </h4> 5815 <code 5816 class="css-1s1f2t0-TextComponent" 5817 data-text="true" 5818 > 5819 AppleAuthenticationScope.EMAIL = 1 5820 </code> 5821 </div> 5822 </div> 5823 <div 5824 class="css-1kkk53e" 5825 > 5826 <h3 5827 class=" css-6r23rc-TextComponent" 5828 data-heading="true" 5829 > 5830 <a 5831 class="css-1y48vg3" 5832 href="#appleauthenticationuserdetectionstatus" 5833 > 5834 <span 5835 class="css-s3qkfm" 5836 id="appleauthenticationuserdetectionstatus" 5837 /> 5838 <span 5839 class="css-6n7j50" 5840 > 5841 <code 5842 class="css-4xa05b-TextComponent" 5843 data-text="true" 5844 > 5845 AppleAuthenticationUserDetectionStatus 5846 </code> 5847 </span> 5848 <span 5849 class="css-1eysgws" 5850 > 5851 <svg 5852 aria-label="permalink" 5853 class="anchor-icon" 5854 fill="none" 5855 height="24" 5856 viewBox="0 0 24 24" 5857 width="24" 5858 xmlns="http://www.w3.org/2000/svg" 5859 > 5860 <path 5861 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5862 stroke="#9B9B9B" 5863 stroke-linecap="round" 5864 stroke-linejoin="round" 5865 stroke-width="2" 5866 /> 5867 <path 5868 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5869 stroke="#9B9B9B" 5870 stroke-linecap="round" 5871 stroke-linejoin="round" 5872 stroke-width="2" 5873 /> 5874 </svg> 5875 </span> 5876 </a> 5877 </h3> 5878 <p 5879 class="css-hnkmoy-TextComponent" 5880 data-text="true" 5881 > 5882 An enum whose values specify the system's best guess for how likely the current user is a real person. 5883 </p> 5884 <blockquote 5885 class="css-opaww-Callout" 5886 data-testid="callout-container" 5887 > 5888 <div 5889 class="css-ks2t0-Callout" 5890 > 5891 <svg 5892 color="var(--expo-theme-icon-default)" 5893 fill="none" 5894 height="16" 5895 role="img" 5896 size="16" 5897 viewBox="0 0 20 20" 5898 width="16" 5899 > 5900 <title> 5901 Info-icon 5902 </title> 5903 <path 5904 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 5905 fill="var(--expo-theme-icon-default)" 5906 /> 5907 </svg> 5908 </div> 5909 <div 5910 class="css-1m74yfi-Callout" 5911 > 5912 <p 5913 class="css-hnkmoy-TextComponent" 5914 data-text="true" 5915 > 5916 <strong 5917 class="css-bvflvn-TextComponent" 5918 > 5919 See: 5920 </strong> 5921 5922 <a 5923 class="css-1na8e0o-A" 5924 href="https://developer.apple.com/documentation/authenticationservices/asuserdetectionstatus" 5925 rel="noopener noreferrer" 5926 target="_blank" 5927 > 5928 Apple 5929Documentation 5930 </a> 5931 5932for more details. 5933 </p> 5934 </div> 5935 </blockquote> 5936 <div 5937 class="css-c22nmz" 5938 > 5939 <h4 5940 class=" css-1gu5rqd-TextComponent" 5941 data-heading="true" 5942 > 5943 <a 5944 class="css-1y48vg3" 5945 href="#unsupported" 5946 > 5947 <span 5948 class="css-s3qkfm" 5949 id="unsupported" 5950 /> 5951 <span 5952 class="css-6n7j50" 5953 > 5954 <code 5955 class="css-4xa05b-TextComponent" 5956 data-text="true" 5957 > 5958 UNSUPPORTED 5959 </code> 5960 </span> 5961 <span 5962 class="css-1eysgws" 5963 > 5964 <svg 5965 aria-label="permalink" 5966 class="anchor-icon" 5967 fill="none" 5968 height="24" 5969 viewBox="0 0 24 24" 5970 width="24" 5971 xmlns="http://www.w3.org/2000/svg" 5972 > 5973 <path 5974 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5975 stroke="#9B9B9B" 5976 stroke-linecap="round" 5977 stroke-linejoin="round" 5978 stroke-width="2" 5979 /> 5980 <path 5981 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5982 stroke="#9B9B9B" 5983 stroke-linecap="round" 5984 stroke-linejoin="round" 5985 stroke-width="2" 5986 /> 5987 </svg> 5988 </span> 5989 </a> 5990 </h4> 5991 <code 5992 class="css-1s1f2t0-TextComponent" 5993 data-text="true" 5994 > 5995 AppleAuthenticationUserDetectionStatus.UNSUPPORTED = 0 5996 </code> 5997 <p 5998 class="css-hnkmoy-TextComponent" 5999 data-text="true" 6000 > 6001 The system does not support this determination and there is no data. 6002 </p> 6003 </div> 6004 <div 6005 class="css-c22nmz" 6006 > 6007 <h4 6008 class=" css-1gu5rqd-TextComponent" 6009 data-heading="true" 6010 > 6011 <a 6012 class="css-1y48vg3" 6013 href="#unknown" 6014 > 6015 <span 6016 class="css-s3qkfm" 6017 id="unknown" 6018 /> 6019 <span 6020 class="css-6n7j50" 6021 > 6022 <code 6023 class="css-4xa05b-TextComponent" 6024 data-text="true" 6025 > 6026 UNKNOWN 6027 </code> 6028 </span> 6029 <span 6030 class="css-1eysgws" 6031 > 6032 <svg 6033 aria-label="permalink" 6034 class="anchor-icon" 6035 fill="none" 6036 height="24" 6037 viewBox="0 0 24 24" 6038 width="24" 6039 xmlns="http://www.w3.org/2000/svg" 6040 > 6041 <path 6042 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6043 stroke="#9B9B9B" 6044 stroke-linecap="round" 6045 stroke-linejoin="round" 6046 stroke-width="2" 6047 /> 6048 <path 6049 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6050 stroke="#9B9B9B" 6051 stroke-linecap="round" 6052 stroke-linejoin="round" 6053 stroke-width="2" 6054 /> 6055 </svg> 6056 </span> 6057 </a> 6058 </h4> 6059 <code 6060 class="css-1s1f2t0-TextComponent" 6061 data-text="true" 6062 > 6063 AppleAuthenticationUserDetectionStatus.UNKNOWN = 1 6064 </code> 6065 <p 6066 class="css-hnkmoy-TextComponent" 6067 data-text="true" 6068 > 6069 The system has not determined whether the user might be a real person. 6070 </p> 6071 </div> 6072 <div 6073 class="css-c22nmz" 6074 > 6075 <h4 6076 class=" css-1gu5rqd-TextComponent" 6077 data-heading="true" 6078 > 6079 <a 6080 class="css-1y48vg3" 6081 href="#likely_real" 6082 > 6083 <span 6084 class="css-s3qkfm" 6085 id="likely_real" 6086 /> 6087 <span 6088 class="css-6n7j50" 6089 > 6090 <code 6091 class="css-4xa05b-TextComponent" 6092 data-text="true" 6093 > 6094 LIKELY_REAL 6095 </code> 6096 </span> 6097 <span 6098 class="css-1eysgws" 6099 > 6100 <svg 6101 aria-label="permalink" 6102 class="anchor-icon" 6103 fill="none" 6104 height="24" 6105 viewBox="0 0 24 24" 6106 width="24" 6107 xmlns="http://www.w3.org/2000/svg" 6108 > 6109 <path 6110 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6111 stroke="#9B9B9B" 6112 stroke-linecap="round" 6113 stroke-linejoin="round" 6114 stroke-width="2" 6115 /> 6116 <path 6117 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6118 stroke="#9B9B9B" 6119 stroke-linecap="round" 6120 stroke-linejoin="round" 6121 stroke-width="2" 6122 /> 6123 </svg> 6124 </span> 6125 </a> 6126 </h4> 6127 <code 6128 class="css-1s1f2t0-TextComponent" 6129 data-text="true" 6130 > 6131 AppleAuthenticationUserDetectionStatus.LIKELY_REAL = 2 6132 </code> 6133 <p 6134 class="css-hnkmoy-TextComponent" 6135 data-text="true" 6136 > 6137 The user appears to be a real person. 6138 </p> 6139 </div> 6140 </div> 6141</div> 6142`; 6143 6144exports[`APISection expo-barcode-scanner 1`] = ` 6145<div> 6146 <h2 6147 class=" css-13x385i-TextComponent" 6148 data-heading="true" 6149 > 6150 <a 6151 class="css-1y48vg3" 6152 href="#component" 6153 > 6154 <span 6155 class="css-s3qkfm" 6156 id="component" 6157 /> 6158 <span 6159 class="css-6n7j50" 6160 > 6161 Component 6162 </span> 6163 <span 6164 class="css-1eysgws" 6165 > 6166 <svg 6167 aria-label="permalink" 6168 class="anchor-icon" 6169 fill="none" 6170 height="24" 6171 viewBox="0 0 24 24" 6172 width="24" 6173 xmlns="http://www.w3.org/2000/svg" 6174 > 6175 <path 6176 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6177 stroke="#9B9B9B" 6178 stroke-linecap="round" 6179 stroke-linejoin="round" 6180 stroke-width="2" 6181 /> 6182 <path 6183 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6184 stroke="#9B9B9B" 6185 stroke-linecap="round" 6186 stroke-linejoin="round" 6187 stroke-width="2" 6188 /> 6189 </svg> 6190 </span> 6191 </a> 6192 </h2> 6193 <div 6194 class="css-1h8tzv" 6195 > 6196 <h3 6197 class=" css-6r23rc-TextComponent" 6198 data-heading="true" 6199 > 6200 <a 6201 class="css-1y48vg3" 6202 href="#barcodescanner" 6203 > 6204 <span 6205 class="css-s3qkfm" 6206 id="barcodescanner" 6207 /> 6208 <span 6209 class="css-6n7j50" 6210 > 6211 <code 6212 class="css-4xa05b-TextComponent" 6213 data-text="true" 6214 > 6215 BarCodeScanner 6216 </code> 6217 </span> 6218 <span 6219 class="css-1eysgws" 6220 > 6221 <svg 6222 aria-label="permalink" 6223 class="anchor-icon" 6224 fill="none" 6225 height="24" 6226 viewBox="0 0 24 24" 6227 width="24" 6228 xmlns="http://www.w3.org/2000/svg" 6229 > 6230 <path 6231 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6232 stroke="#9B9B9B" 6233 stroke-linecap="round" 6234 stroke-linejoin="round" 6235 stroke-width="2" 6236 /> 6237 <path 6238 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6239 stroke="#9B9B9B" 6240 stroke-linecap="round" 6241 stroke-linejoin="round" 6242 stroke-width="2" 6243 /> 6244 </svg> 6245 </span> 6246 </a> 6247 </h3> 6248 <p 6249 class="css-hnkmoy-TextComponent" 6250 data-text="true" 6251 > 6252 <strong 6253 class="css-bvflvn-TextComponent" 6254 > 6255 Type: 6256 </strong> 6257 6258 <code 6259 class="css-4xa05b-TextComponent" 6260 data-text="true" 6261 > 6262 React. 6263 Component 6264 < 6265 <span> 6266 <a 6267 class="css-1na8e0o-A" 6268 href="#barcodescannerprops" 6269 > 6270 BarCodeScannerProps 6271 </a> 6272 </span> 6273 > 6274 </code> 6275 </p> 6276 <h2 6277 class=" css-13x385i-TextComponent" 6278 data-heading="true" 6279 > 6280 <a 6281 class="css-1y48vg3" 6282 href="#props" 6283 > 6284 <span 6285 class="css-s3qkfm" 6286 id="props" 6287 /> 6288 <span 6289 class="css-6n7j50" 6290 > 6291 Props 6292 </span> 6293 <span 6294 class="css-1eysgws" 6295 > 6296 <svg 6297 aria-label="permalink" 6298 class="anchor-icon" 6299 fill="none" 6300 height="24" 6301 viewBox="0 0 24 24" 6302 width="24" 6303 xmlns="http://www.w3.org/2000/svg" 6304 > 6305 <path 6306 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6307 stroke="#9B9B9B" 6308 stroke-linecap="round" 6309 stroke-linejoin="round" 6310 stroke-width="2" 6311 /> 6312 <path 6313 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6314 stroke="#9B9B9B" 6315 stroke-linecap="round" 6316 stroke-linejoin="round" 6317 stroke-width="2" 6318 /> 6319 </svg> 6320 </span> 6321 </a> 6322 </h2> 6323 <div> 6324 <div 6325 class="css-c22nmz" 6326 > 6327 <h3 6328 class=" css-6r23rc-TextComponent" 6329 data-heading="true" 6330 > 6331 <a 6332 class="css-1y48vg3" 6333 href="#barcodetypes" 6334 > 6335 <span 6336 class="css-s3qkfm" 6337 id="barcodetypes" 6338 /> 6339 <span 6340 class="css-6n7j50" 6341 > 6342 <code 6343 class="css-1qdx416-TextComponent" 6344 data-text="true" 6345 > 6346 barCodeTypes 6347 </code> 6348 </span> 6349 <span 6350 class="css-1eysgws" 6351 > 6352 <svg 6353 aria-label="permalink" 6354 class="anchor-icon" 6355 fill="none" 6356 height="24" 6357 viewBox="0 0 24 24" 6358 width="24" 6359 xmlns="http://www.w3.org/2000/svg" 6360 > 6361 <path 6362 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6363 stroke="#9B9B9B" 6364 stroke-linecap="round" 6365 stroke-linejoin="round" 6366 stroke-width="2" 6367 /> 6368 <path 6369 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6370 stroke="#9B9B9B" 6371 stroke-linecap="round" 6372 stroke-linejoin="round" 6373 stroke-width="2" 6374 /> 6375 </svg> 6376 </span> 6377 </a> 6378 </h3> 6379 <p 6380 class="css-hnkmoy-TextComponent" 6381 data-text="true" 6382 > 6383 <span 6384 class="css-1lk0cux" 6385 > 6386 Optional • 6387 </span> 6388 <span 6389 class="css-1lk0cux" 6390 > 6391 Type: 6392 </span> 6393 6394 <code 6395 class="css-4xa05b-TextComponent" 6396 data-text="true" 6397 > 6398 string[] 6399 </code> 6400 </p> 6401 <p 6402 class="css-hnkmoy-TextComponent" 6403 data-text="true" 6404 > 6405 An array of bar code types. Usage: 6406 <code 6407 class="css-23wgco-TextComponent" 6408 data-text="true" 6409 > 6410 BarCodeScanner.Constants.BarCodeType.<codeType> 6411 </code> 6412 where 6413 6414 <code 6415 class="css-23wgco-TextComponent" 6416 data-text="true" 6417 > 6418 codeType 6419 </code> 6420 is one of these 6421 <a 6422 class="css-1na8e0o-A" 6423 href="#supported-formats" 6424 > 6425 listed above 6426 </a> 6427 . Defaults to all supported bar 6428code types. It is recommended to provide only the bar code formats you expect to scan to 6429minimize battery usage. 6430 </p> 6431 6432 6433 <p 6434 class="css-hnkmoy-TextComponent" 6435 data-text="true" 6436 > 6437 For example: 6438 <code 6439 class="css-23wgco-TextComponent" 6440 data-text="true" 6441 > 6442 barCodeTypes={[BarCodeScanner.Constants.BarCodeType.qr]} 6443 </code> 6444 . 6445 </p> 6446 <br /> 6447 </div> 6448 <div 6449 class="css-c22nmz" 6450 > 6451 <h3 6452 class=" css-6r23rc-TextComponent" 6453 data-heading="true" 6454 > 6455 <a 6456 class="css-1y48vg3" 6457 href="#onbarcodescanned" 6458 > 6459 <span 6460 class="css-s3qkfm" 6461 id="onbarcodescanned" 6462 /> 6463 <span 6464 class="css-6n7j50" 6465 > 6466 <code 6467 class="css-1qdx416-TextComponent" 6468 data-text="true" 6469 > 6470 onBarCodeScanned 6471 </code> 6472 </span> 6473 <span 6474 class="css-1eysgws" 6475 > 6476 <svg 6477 aria-label="permalink" 6478 class="anchor-icon" 6479 fill="none" 6480 height="24" 6481 viewBox="0 0 24 24" 6482 width="24" 6483 xmlns="http://www.w3.org/2000/svg" 6484 > 6485 <path 6486 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6487 stroke="#9B9B9B" 6488 stroke-linecap="round" 6489 stroke-linejoin="round" 6490 stroke-width="2" 6491 /> 6492 <path 6493 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6494 stroke="#9B9B9B" 6495 stroke-linecap="round" 6496 stroke-linejoin="round" 6497 stroke-width="2" 6498 /> 6499 </svg> 6500 </span> 6501 </a> 6502 </h3> 6503 <p 6504 class="css-hnkmoy-TextComponent" 6505 data-text="true" 6506 > 6507 <span 6508 class="css-1lk0cux" 6509 > 6510 Optional • 6511 </span> 6512 <span 6513 class="css-1lk0cux" 6514 > 6515 Type: 6516 </span> 6517 6518 <code 6519 class="css-4xa05b-TextComponent" 6520 data-text="true" 6521 > 6522 <a 6523 class="css-1na8e0o-A" 6524 href="#barcodescannedcallback" 6525 > 6526 BarCodeScannedCallback 6527 </a> 6528 </code> 6529 </p> 6530 <p 6531 class="css-hnkmoy-TextComponent" 6532 data-text="true" 6533 > 6534 A callback that is invoked when a bar code has been successfully scanned. The callback is 6535provided with an 6536 <a 6537 class="css-1na8e0o-A" 6538 href="#barcodescannerresult" 6539 > 6540 BarCodeScannerResult 6541 </a> 6542 . 6543 </p> 6544 6545 6546 <blockquote 6547 class="css-opaww-Callout" 6548 data-testid="callout-container" 6549 > 6550 <div 6551 class="css-ks2t0-Callout" 6552 > 6553 <svg 6554 color="var(--expo-theme-icon-default)" 6555 fill="none" 6556 height="16" 6557 role="img" 6558 size="16" 6559 viewBox="0 0 20 20" 6560 width="16" 6561 > 6562 <title> 6563 Info-icon 6564 </title> 6565 <path 6566 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 6567 fill="var(--expo-theme-icon-default)" 6568 /> 6569 </svg> 6570 </div> 6571 <div 6572 class="css-1m74yfi-Callout" 6573 > 6574 6575 6576 <p 6577 class="css-hnkmoy-TextComponent" 6578 data-text="true" 6579 > 6580 <strong 6581 class="css-bvflvn-TextComponent" 6582 > 6583 Note: 6584 </strong> 6585 Passing 6586 <code 6587 class="css-23wgco-TextComponent" 6588 data-text="true" 6589 > 6590 undefined 6591 </code> 6592 to the 6593 <code 6594 class="css-23wgco-TextComponent" 6595 data-text="true" 6596 > 6597 onBarCodeScanned 6598 </code> 6599 prop will result in no scanning. This 6600can be used to effectively "pause" the scanner so that it doesn't continually scan even after 6601data has been retrieved. 6602 </p> 6603 6604 6605 </div> 6606 </blockquote> 6607 <br /> 6608 </div> 6609 <div 6610 class="css-c22nmz" 6611 > 6612 <h3 6613 class=" css-6r23rc-TextComponent" 6614 data-heading="true" 6615 > 6616 <a 6617 class="css-1y48vg3" 6618 href="#type" 6619 > 6620 <span 6621 class="css-s3qkfm" 6622 id="type" 6623 /> 6624 <span 6625 class="css-6n7j50" 6626 > 6627 <code 6628 class="css-1qdx416-TextComponent" 6629 data-text="true" 6630 > 6631 type 6632 </code> 6633 </span> 6634 <span 6635 class="css-1eysgws" 6636 > 6637 <svg 6638 aria-label="permalink" 6639 class="anchor-icon" 6640 fill="none" 6641 height="24" 6642 viewBox="0 0 24 24" 6643 width="24" 6644 xmlns="http://www.w3.org/2000/svg" 6645 > 6646 <path 6647 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6648 stroke="#9B9B9B" 6649 stroke-linecap="round" 6650 stroke-linejoin="round" 6651 stroke-width="2" 6652 /> 6653 <path 6654 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6655 stroke="#9B9B9B" 6656 stroke-linecap="round" 6657 stroke-linejoin="round" 6658 stroke-width="2" 6659 /> 6660 </svg> 6661 </span> 6662 </a> 6663 </h3> 6664 <p 6665 class="css-hnkmoy-TextComponent" 6666 data-text="true" 6667 > 6668 <span 6669 class="css-1lk0cux" 6670 > 6671 Optional • 6672 </span> 6673 <span 6674 class="css-1lk0cux" 6675 > 6676 Type: 6677 </span> 6678 6679 <code 6680 class="css-4xa05b-TextComponent" 6681 data-text="true" 6682 > 6683 <span> 6684 'front' 6685 | 6686 </span> 6687 <span> 6688 'back' 6689 | 6690 </span> 6691 <span> 6692 number 6693 </span> 6694 </code> 6695 <span> 6696 <span 6697 class="css-1lk0cux" 6698 > 6699 • Default: 6700 </span> 6701 6702 <code 6703 class="css-4xa05b-TextComponent" 6704 data-text="true" 6705 > 6706 Type.back 6707 </code> 6708 </span> 6709 </p> 6710 <p 6711 class="css-hnkmoy-TextComponent" 6712 data-text="true" 6713 > 6714 Camera facing. Use one of 6715 <code 6716 class="css-23wgco-TextComponent" 6717 data-text="true" 6718 > 6719 BarCodeScanner.Constants.Type 6720 </code> 6721 . Use either 6722 <code 6723 class="css-23wgco-TextComponent" 6724 data-text="true" 6725 > 6726 Type.front 6727 </code> 6728 or 6729 <code 6730 class="css-23wgco-TextComponent" 6731 data-text="true" 6732 > 6733 Type.back 6734 </code> 6735 . 6736Same as 6737 <code 6738 class="css-23wgco-TextComponent" 6739 data-text="true" 6740 > 6741 Camera.Constants.Type 6742 </code> 6743 . 6744 </p> 6745 <br /> 6746 </div> 6747 <h3 6748 class=" css-6r23rc-TextComponent" 6749 data-heading="true" 6750 > 6751 <a 6752 class="css-1y48vg3" 6753 href="#inherited-props" 6754 > 6755 <span 6756 class="css-s3qkfm" 6757 id="inherited-props" 6758 /> 6759 <span 6760 class="css-6n7j50" 6761 > 6762 Inherited Props 6763 </span> 6764 <span 6765 class="css-1eysgws" 6766 > 6767 <svg 6768 aria-label="permalink" 6769 class="anchor-icon" 6770 fill="none" 6771 height="24" 6772 viewBox="0 0 24 24" 6773 width="24" 6774 xmlns="http://www.w3.org/2000/svg" 6775 > 6776 <path 6777 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6778 stroke="#9B9B9B" 6779 stroke-linecap="round" 6780 stroke-linejoin="round" 6781 stroke-width="2" 6782 /> 6783 <path 6784 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6785 stroke="#9B9B9B" 6786 stroke-linecap="round" 6787 stroke-linejoin="round" 6788 stroke-width="2" 6789 /> 6790 </svg> 6791 </span> 6792 </a> 6793 </h3> 6794 <ul 6795 class="css-57cmsk-TextComponent" 6796 > 6797 <li 6798 class="css-1hxzfrf-TextComponent" 6799 data-text="true" 6800 > 6801 <code 6802 class="css-4xa05b-TextComponent" 6803 data-text="true" 6804 > 6805 <a 6806 class="css-1na8e0o-A" 6807 href="https://reactnative.dev/docs/view#props" 6808 rel="noopener noreferrer" 6809 target="_blank" 6810 > 6811 ViewProps 6812 </a> 6813 </code> 6814 </li> 6815 </ul> 6816 </div> 6817 </div> 6818 <h2 6819 class=" css-13x385i-TextComponent" 6820 data-heading="true" 6821 > 6822 <a 6823 class="css-1y48vg3" 6824 href="#hooks" 6825 > 6826 <span 6827 class="css-s3qkfm" 6828 id="hooks" 6829 /> 6830 <span 6831 class="css-6n7j50" 6832 > 6833 Hooks 6834 </span> 6835 <span 6836 class="css-1eysgws" 6837 > 6838 <svg 6839 aria-label="permalink" 6840 class="anchor-icon" 6841 fill="none" 6842 height="24" 6843 viewBox="0 0 24 24" 6844 width="24" 6845 xmlns="http://www.w3.org/2000/svg" 6846 > 6847 <path 6848 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6849 stroke="#9B9B9B" 6850 stroke-linecap="round" 6851 stroke-linejoin="round" 6852 stroke-width="2" 6853 /> 6854 <path 6855 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6856 stroke="#9B9B9B" 6857 stroke-linecap="round" 6858 stroke-linejoin="round" 6859 stroke-width="2" 6860 /> 6861 </svg> 6862 </span> 6863 </a> 6864 </h2> 6865 <div 6866 class="css-c22nmz" 6867 > 6868 <h3 6869 class=" css-6r23rc-TextComponent" 6870 data-heading="true" 6871 > 6872 <a 6873 class="css-1y48vg3" 6874 href="#usepermissionsoptions" 6875 > 6876 <span 6877 class="css-s3qkfm" 6878 id="usepermissionsoptions" 6879 /> 6880 <span 6881 class="css-6n7j50" 6882 > 6883 <code 6884 class="css-1qdx416-TextComponent" 6885 data-text="true" 6886 > 6887 usePermissions(options) 6888 </code> 6889 </span> 6890 <span 6891 class="css-1eysgws" 6892 > 6893 <svg 6894 aria-label="permalink" 6895 class="anchor-icon" 6896 fill="none" 6897 height="24" 6898 viewBox="0 0 24 24" 6899 width="24" 6900 xmlns="http://www.w3.org/2000/svg" 6901 > 6902 <path 6903 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6904 stroke="#9B9B9B" 6905 stroke-linecap="round" 6906 stroke-linejoin="round" 6907 stroke-width="2" 6908 /> 6909 <path 6910 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6911 stroke="#9B9B9B" 6912 stroke-linecap="round" 6913 stroke-linejoin="round" 6914 stroke-width="2" 6915 /> 6916 </svg> 6917 </span> 6918 </a> 6919 </h3> 6920 <div 6921 class="css-1uyflf8-Table" 6922 > 6923 <table 6924 class="css-q84cm9-Table" 6925 > 6926 <thead 6927 class="css-1hxdjqf-TableHead" 6928 > 6929 <tr 6930 class="css-190f936-Row" 6931 > 6932 <th 6933 class="css-1uwgm7m-HeaderCell" 6934 > 6935 Name 6936 </th> 6937 <th 6938 class="css-1uwgm7m-HeaderCell" 6939 > 6940 Type 6941 </th> 6942 <th 6943 class="css-1uwgm7m-HeaderCell" 6944 > 6945 Description 6946 </th> 6947 </tr> 6948 </thead> 6949 <tbody> 6950 <tr 6951 class="css-190f936-Row" 6952 > 6953 <td 6954 class="css-zstkv9-Cell" 6955 > 6956 <strong 6957 class="css-bvflvn-TextComponent" 6958 > 6959 options 6960 </strong> 6961 <br /> 6962 <span 6963 class="css-1g95u6x" 6964 > 6965 (optional) 6966 </span> 6967 </td> 6968 <td 6969 class="css-zstkv9-Cell" 6970 > 6971 <code 6972 class="css-4xa05b-TextComponent" 6973 data-text="true" 6974 > 6975 <a 6976 class="css-1na8e0o-A" 6977 href="#permissionhookoptions" 6978 > 6979 PermissionHookOptions 6980 </a> 6981 < 6982 <span> 6983 object 6984 </span> 6985 > 6986 </code> 6987 </td> 6988 <td 6989 class="css-zstkv9-Cell" 6990 > 6991 - 6992 </td> 6993 </tr> 6994 </tbody> 6995 </table> 6996 </div> 6997 <br /> 6998 <p 6999 class="css-hnkmoy-TextComponent" 7000 data-text="true" 7001 > 7002 Check or request permissions for the barcode scanner. 7003This uses both 7004 <code 7005 class="css-23wgco-TextComponent" 7006 data-text="true" 7007 > 7008 requestPermissionAsync 7009 </code> 7010 and 7011 <code 7012 class="css-23wgco-TextComponent" 7013 data-text="true" 7014 > 7015 getPermissionsAsync 7016 </code> 7017 to interact with the permissions. 7018 </p> 7019 <p 7020 class="css-1eksndl-BoxSectionHeader" 7021 data-text="true" 7022 > 7023 Example 7024 </p> 7025 <pre> 7026 <pre 7027 class="css-1tmj8fm" 7028 data-text="true" 7029 > 7030 <code 7031 class="css-1r5zesl" 7032 > 7033 <span 7034 class="token keyword" 7035 > 7036 const 7037 </span> 7038 7039 <span 7040 class="token punctuation" 7041 > 7042 [ 7043 </span> 7044 permissionResponse 7045 <span 7046 class="token punctuation" 7047 > 7048 , 7049 </span> 7050 requestPermission 7051 <span 7052 class="token punctuation" 7053 > 7054 ] 7055 </span> 7056 7057 <span 7058 class="token operator" 7059 > 7060 = 7061 </span> 7062 7063 <span 7064 class="token maybe-class-name" 7065 > 7066 BarCodeScanner 7067 </span> 7068 <span 7069 class="token punctuation" 7070 > 7071 . 7072 </span> 7073 <span 7074 class="token method function property-access" 7075 > 7076 usePermissions 7077 </span> 7078 <span 7079 class="token punctuation" 7080 > 7081 ( 7082 </span> 7083 <span 7084 class="token punctuation" 7085 > 7086 ) 7087 </span> 7088 <span 7089 class="token punctuation" 7090 > 7091 ; 7092 </span> 7093 7094 7095 </code> 7096 </pre> 7097 </pre> 7098 <p 7099 class="css-1eksndl-BoxSectionHeader" 7100 data-text="true" 7101 > 7102 Returns 7103 </p> 7104 <ul 7105 class="css-1c9clym-TextComponent" 7106 > 7107 <li 7108 class="css-1hxzfrf-TextComponent" 7109 data-text="true" 7110 > 7111 <svg 7112 class="css-1a9xr20" 7113 color="var(--expo-theme-icon-secondary)" 7114 fill="none" 7115 height="16" 7116 role="img" 7117 size="16" 7118 viewBox="0 0 20 20" 7119 width="16" 7120 > 7121 <title> 7122 Undo-icon 7123 </title> 7124 <path 7125 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 7126 fill="var(--expo-theme-icon-secondary)" 7127 /> 7128 </svg> 7129 <code 7130 class="css-4xa05b-TextComponent" 7131 data-text="true" 7132 > 7133 [ 7134 <span> 7135 <span> 7136 null 7137 | 7138 </span> 7139 <span> 7140 <a 7141 class="css-1na8e0o-A" 7142 href="#permissionresponse" 7143 > 7144 PermissionResponse 7145 </a> 7146 </span> 7147 , 7148 </span> 7149 <span> 7150 RequestPermissionMethod 7151 < 7152 <span> 7153 <a 7154 class="css-1na8e0o-A" 7155 href="#permissionresponse" 7156 > 7157 PermissionResponse 7158 </a> 7159 </span> 7160 > 7161 , 7162 </span> 7163 <span> 7164 GetPermissionMethod 7165 < 7166 <span> 7167 <a 7168 class="css-1na8e0o-A" 7169 href="#permissionresponse" 7170 > 7171 PermissionResponse 7172 </a> 7173 </span> 7174 > 7175 </span> 7176 ] 7177 </code> 7178 </li> 7179 </ul> 7180 <br /> 7181 </div> 7182 <h2 7183 class=" css-13x385i-TextComponent" 7184 data-heading="true" 7185 > 7186 <a 7187 class="css-1y48vg3" 7188 href="#methods" 7189 > 7190 <span 7191 class="css-s3qkfm" 7192 id="methods" 7193 /> 7194 <span 7195 class="css-6n7j50" 7196 > 7197 Methods 7198 </span> 7199 <span 7200 class="css-1eysgws" 7201 > 7202 <svg 7203 aria-label="permalink" 7204 class="anchor-icon" 7205 fill="none" 7206 height="24" 7207 viewBox="0 0 24 24" 7208 width="24" 7209 xmlns="http://www.w3.org/2000/svg" 7210 > 7211 <path 7212 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7213 stroke="#9B9B9B" 7214 stroke-linecap="round" 7215 stroke-linejoin="round" 7216 stroke-width="2" 7217 /> 7218 <path 7219 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7220 stroke="#9B9B9B" 7221 stroke-linecap="round" 7222 stroke-linejoin="round" 7223 stroke-width="2" 7224 /> 7225 </svg> 7226 </span> 7227 </a> 7228 </h2> 7229 <div 7230 class="css-c22nmz" 7231 > 7232 <h3 7233 class=" css-6r23rc-TextComponent" 7234 data-heading="true" 7235 > 7236 <a 7237 class="css-1y48vg3" 7238 href="#barcodescannergetpermissionsasync" 7239 > 7240 <span 7241 class="css-s3qkfm" 7242 id="barcodescannergetpermissionsasync" 7243 /> 7244 <span 7245 class="css-6n7j50" 7246 > 7247 <code 7248 class="css-1qdx416-TextComponent" 7249 data-text="true" 7250 > 7251 BarCodeScanner.getPermissionsAsync() 7252 </code> 7253 </span> 7254 <span 7255 class="css-1eysgws" 7256 > 7257 <svg 7258 aria-label="permalink" 7259 class="anchor-icon" 7260 fill="none" 7261 height="24" 7262 viewBox="0 0 24 24" 7263 width="24" 7264 xmlns="http://www.w3.org/2000/svg" 7265 > 7266 <path 7267 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7268 stroke="#9B9B9B" 7269 stroke-linecap="round" 7270 stroke-linejoin="round" 7271 stroke-width="2" 7272 /> 7273 <path 7274 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7275 stroke="#9B9B9B" 7276 stroke-linecap="round" 7277 stroke-linejoin="round" 7278 stroke-width="2" 7279 /> 7280 </svg> 7281 </span> 7282 </a> 7283 </h3> 7284 <p 7285 class="css-hnkmoy-TextComponent" 7286 data-text="true" 7287 > 7288 Checks user's permissions for accessing the camera. 7289 </p> 7290 <p 7291 class="css-1eksndl-BoxSectionHeader" 7292 data-text="true" 7293 > 7294 Returns 7295 </p> 7296 <ul 7297 class="css-1c9clym-TextComponent" 7298 > 7299 <li 7300 class="css-1hxzfrf-TextComponent" 7301 data-text="true" 7302 > 7303 <svg 7304 class="css-1a9xr20" 7305 color="var(--expo-theme-icon-secondary)" 7306 fill="none" 7307 height="16" 7308 role="img" 7309 size="16" 7310 viewBox="0 0 20 20" 7311 width="16" 7312 > 7313 <title> 7314 Undo-icon 7315 </title> 7316 <path 7317 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 7318 fill="var(--expo-theme-icon-secondary)" 7319 /> 7320 </svg> 7321 <code 7322 class="css-4xa05b-TextComponent" 7323 data-text="true" 7324 > 7325 <a 7326 class="css-1na8e0o-A" 7327 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7328 rel="noopener noreferrer" 7329 target="_blank" 7330 > 7331 Promise 7332 </a> 7333 < 7334 <span> 7335 <a 7336 class="css-1na8e0o-A" 7337 href="#permissionresponse" 7338 > 7339 PermissionResponse 7340 </a> 7341 </span> 7342 > 7343 </code> 7344 </li> 7345 </ul> 7346 <br /> 7347 <p 7348 class="css-hnkmoy-TextComponent" 7349 data-text="true" 7350 > 7351 Return a promise that fulfills to an object of type 7352 <a 7353 class="css-1na8e0o-A" 7354 href="#permissionresponse" 7355 > 7356 <code 7357 class="css-23wgco-TextComponent" 7358 data-text="true" 7359 > 7360 PermissionResponse 7361 </code> 7362 </a> 7363 . 7364 </p> 7365 </div> 7366 <div 7367 class="css-c22nmz" 7368 > 7369 <h3 7370 class=" css-6r23rc-TextComponent" 7371 data-heading="true" 7372 > 7373 <a 7374 class="css-1y48vg3" 7375 href="#barcodescannerrequestpermissionsasync" 7376 > 7377 <span 7378 class="css-s3qkfm" 7379 id="barcodescannerrequestpermissionsasync" 7380 /> 7381 <span 7382 class="css-6n7j50" 7383 > 7384 <code 7385 class="css-1qdx416-TextComponent" 7386 data-text="true" 7387 > 7388 BarCodeScanner.requestPermissionsAsync() 7389 </code> 7390 </span> 7391 <span 7392 class="css-1eysgws" 7393 > 7394 <svg 7395 aria-label="permalink" 7396 class="anchor-icon" 7397 fill="none" 7398 height="24" 7399 viewBox="0 0 24 24" 7400 width="24" 7401 xmlns="http://www.w3.org/2000/svg" 7402 > 7403 <path 7404 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7405 stroke="#9B9B9B" 7406 stroke-linecap="round" 7407 stroke-linejoin="round" 7408 stroke-width="2" 7409 /> 7410 <path 7411 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7412 stroke="#9B9B9B" 7413 stroke-linecap="round" 7414 stroke-linejoin="round" 7415 stroke-width="2" 7416 /> 7417 </svg> 7418 </span> 7419 </a> 7420 </h3> 7421 <p 7422 class="css-hnkmoy-TextComponent" 7423 data-text="true" 7424 > 7425 Asks the user to grant permissions for accessing the camera. 7426 </p> 7427 7428 7429 <p 7430 class="css-hnkmoy-TextComponent" 7431 data-text="true" 7432 > 7433 On iOS this will require apps to specify the 7434 <code 7435 class="css-23wgco-TextComponent" 7436 data-text="true" 7437 > 7438 NSCameraUsageDescription 7439 </code> 7440 entry in the 7441 <code 7442 class="css-23wgco-TextComponent" 7443 data-text="true" 7444 > 7445 Info.plist 7446 </code> 7447 . 7448 </p> 7449 <p 7450 class="css-1eksndl-BoxSectionHeader" 7451 data-text="true" 7452 > 7453 Returns 7454 </p> 7455 <ul 7456 class="css-1c9clym-TextComponent" 7457 > 7458 <li 7459 class="css-1hxzfrf-TextComponent" 7460 data-text="true" 7461 > 7462 <svg 7463 class="css-1a9xr20" 7464 color="var(--expo-theme-icon-secondary)" 7465 fill="none" 7466 height="16" 7467 role="img" 7468 size="16" 7469 viewBox="0 0 20 20" 7470 width="16" 7471 > 7472 <title> 7473 Undo-icon 7474 </title> 7475 <path 7476 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 7477 fill="var(--expo-theme-icon-secondary)" 7478 /> 7479 </svg> 7480 <code 7481 class="css-4xa05b-TextComponent" 7482 data-text="true" 7483 > 7484 <a 7485 class="css-1na8e0o-A" 7486 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7487 rel="noopener noreferrer" 7488 target="_blank" 7489 > 7490 Promise 7491 </a> 7492 < 7493 <span> 7494 <a 7495 class="css-1na8e0o-A" 7496 href="#permissionresponse" 7497 > 7498 PermissionResponse 7499 </a> 7500 </span> 7501 > 7502 </code> 7503 </li> 7504 </ul> 7505 <br /> 7506 <p 7507 class="css-hnkmoy-TextComponent" 7508 data-text="true" 7509 > 7510 Return a promise that fulfills to an object of type 7511 <a 7512 class="css-1na8e0o-A" 7513 href="#permissionresponse" 7514 > 7515 <code 7516 class="css-23wgco-TextComponent" 7517 data-text="true" 7518 > 7519 PermissionResponse 7520 </code> 7521 </a> 7522 . 7523 </p> 7524 </div> 7525 <div 7526 class="css-c22nmz" 7527 > 7528 <h3 7529 class=" css-6r23rc-TextComponent" 7530 data-heading="true" 7531 > 7532 <a 7533 class="css-1y48vg3" 7534 href="#barcodescannerscanfromurlasyncurl-barcodetypes" 7535 > 7536 <span 7537 class="css-s3qkfm" 7538 id="barcodescannerscanfromurlasyncurl-barcodetypes" 7539 /> 7540 <span 7541 class="css-6n7j50" 7542 > 7543 <code 7544 class="css-1qdx416-TextComponent" 7545 data-text="true" 7546 > 7547 BarCodeScanner.scanFromURLAsync(url, barCodeTypes) 7548 </code> 7549 </span> 7550 <span 7551 class="css-1eysgws" 7552 > 7553 <svg 7554 aria-label="permalink" 7555 class="anchor-icon" 7556 fill="none" 7557 height="24" 7558 viewBox="0 0 24 24" 7559 width="24" 7560 xmlns="http://www.w3.org/2000/svg" 7561 > 7562 <path 7563 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7564 stroke="#9B9B9B" 7565 stroke-linecap="round" 7566 stroke-linejoin="round" 7567 stroke-width="2" 7568 /> 7569 <path 7570 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7571 stroke="#9B9B9B" 7572 stroke-linecap="round" 7573 stroke-linejoin="round" 7574 stroke-width="2" 7575 /> 7576 </svg> 7577 </span> 7578 </a> 7579 </h3> 7580 <div 7581 class="css-1uyflf8-Table" 7582 > 7583 <table 7584 class="css-q84cm9-Table" 7585 > 7586 <thead 7587 class="css-1hxdjqf-TableHead" 7588 > 7589 <tr 7590 class="css-190f936-Row" 7591 > 7592 <th 7593 class="css-1uwgm7m-HeaderCell" 7594 > 7595 Name 7596 </th> 7597 <th 7598 class="css-1uwgm7m-HeaderCell" 7599 > 7600 Type 7601 </th> 7602 <th 7603 class="css-1uwgm7m-HeaderCell" 7604 > 7605 Description 7606 </th> 7607 </tr> 7608 </thead> 7609 <tbody> 7610 <tr 7611 class="css-190f936-Row" 7612 > 7613 <td 7614 class="css-zstkv9-Cell" 7615 > 7616 <strong 7617 class="css-bvflvn-TextComponent" 7618 > 7619 url 7620 </strong> 7621 </td> 7622 <td 7623 class="css-zstkv9-Cell" 7624 > 7625 <code 7626 class="css-4xa05b-TextComponent" 7627 data-text="true" 7628 > 7629 string 7630 </code> 7631 </td> 7632 <td 7633 class="css-zstkv9-Cell" 7634 > 7635 <p 7636 class="css-hnkmoy-TextComponent" 7637 data-text="true" 7638 > 7639 URL to get the image from. 7640 </p> 7641 </td> 7642 </tr> 7643 <tr 7644 class="css-190f936-Row" 7645 > 7646 <td 7647 class="css-zstkv9-Cell" 7648 > 7649 <strong 7650 class="css-bvflvn-TextComponent" 7651 > 7652 barCodeTypes 7653 </strong> 7654 <br /> 7655 <span 7656 class="css-1g95u6x" 7657 > 7658 (optional) 7659 </span> 7660 </td> 7661 <td 7662 class="css-zstkv9-Cell" 7663 > 7664 <code 7665 class="css-4xa05b-TextComponent" 7666 data-text="true" 7667 > 7668 string[] 7669 </code> 7670 </td> 7671 <td 7672 class="css-zstkv9-Cell" 7673 > 7674 <p 7675 class="css-hnkmoy-TextComponent" 7676 data-text="true" 7677 > 7678 An array of bar code types. Defaults to all supported bar code types on 7679the platform. 7680 </p> 7681 7682 7683 <blockquote 7684 class="css-opaww-Callout" 7685 data-testid="callout-container" 7686 > 7687 <div 7688 class="css-ks2t0-Callout" 7689 > 7690 <svg 7691 color="var(--expo-theme-icon-default)" 7692 fill="none" 7693 height="16" 7694 role="img" 7695 size="16" 7696 viewBox="0 0 20 20" 7697 width="16" 7698 > 7699 <title> 7700 Info-icon 7701 </title> 7702 <path 7703 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 7704 fill="var(--expo-theme-icon-default)" 7705 /> 7706 </svg> 7707 </div> 7708 <div 7709 class="css-1m74yfi-Callout" 7710 > 7711 7712 7713 <p 7714 class="css-hnkmoy-TextComponent" 7715 data-text="true" 7716 > 7717 <strong 7718 class="css-bvflvn-TextComponent" 7719 > 7720 Note: 7721 </strong> 7722 Only QR codes are supported on iOS. 7723 </p> 7724 7725 7726 </div> 7727 </blockquote> 7728 </td> 7729 </tr> 7730 </tbody> 7731 </table> 7732 </div> 7733 <br /> 7734 <p 7735 class="css-hnkmoy-TextComponent" 7736 data-text="true" 7737 > 7738 Scan bar codes from the image given by the URL. 7739 </p> 7740 <p 7741 class="css-1eksndl-BoxSectionHeader" 7742 data-text="true" 7743 > 7744 Returns 7745 </p> 7746 <ul 7747 class="css-1c9clym-TextComponent" 7748 > 7749 <li 7750 class="css-1hxzfrf-TextComponent" 7751 data-text="true" 7752 > 7753 <svg 7754 class="css-1a9xr20" 7755 color="var(--expo-theme-icon-secondary)" 7756 fill="none" 7757 height="16" 7758 role="img" 7759 size="16" 7760 viewBox="0 0 20 20" 7761 width="16" 7762 > 7763 <title> 7764 Undo-icon 7765 </title> 7766 <path 7767 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 7768 fill="var(--expo-theme-icon-secondary)" 7769 /> 7770 </svg> 7771 <code 7772 class="css-4xa05b-TextComponent" 7773 data-text="true" 7774 > 7775 <a 7776 class="css-1na8e0o-A" 7777 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7778 rel="noopener noreferrer" 7779 target="_blank" 7780 > 7781 Promise 7782 </a> 7783 < 7784 <span> 7785 <a 7786 class="css-1na8e0o-A" 7787 href="#barcodescannerresult" 7788 > 7789 BarCodeScannerResult 7790 [] 7791 </a> 7792 </span> 7793 > 7794 </code> 7795 </li> 7796 </ul> 7797 <br /> 7798 <p 7799 class="css-hnkmoy-TextComponent" 7800 data-text="true" 7801 > 7802 A possibly empty array of objects of the 7803 <code 7804 class="css-23wgco-TextComponent" 7805 data-text="true" 7806 > 7807 BarCodeScannerResult 7808 </code> 7809 shape, where the type 7810refers to the bar code type that was scanned and the data is the information encoded in the bar 7811code. 7812 </p> 7813 </div> 7814 <h2 7815 class=" css-13x385i-TextComponent" 7816 data-heading="true" 7817 > 7818 <a 7819 class="css-1y48vg3" 7820 href="#interfaces" 7821 > 7822 <span 7823 class="css-s3qkfm" 7824 id="interfaces" 7825 /> 7826 <span 7827 class="css-6n7j50" 7828 > 7829 Interfaces 7830 </span> 7831 <span 7832 class="css-1eysgws" 7833 > 7834 <svg 7835 aria-label="permalink" 7836 class="anchor-icon" 7837 fill="none" 7838 height="24" 7839 viewBox="0 0 24 24" 7840 width="24" 7841 xmlns="http://www.w3.org/2000/svg" 7842 > 7843 <path 7844 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7845 stroke="#9B9B9B" 7846 stroke-linecap="round" 7847 stroke-linejoin="round" 7848 stroke-width="2" 7849 /> 7850 <path 7851 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7852 stroke="#9B9B9B" 7853 stroke-linecap="round" 7854 stroke-linejoin="round" 7855 stroke-width="2" 7856 /> 7857 </svg> 7858 </span> 7859 </a> 7860 </h2> 7861 <div 7862 class="css-c22nmz" 7863 > 7864 <h3 7865 class=" css-6r23rc-TextComponent" 7866 data-heading="true" 7867 > 7868 <a 7869 class="css-1y48vg3" 7870 href="#permissionresponse" 7871 > 7872 <span 7873 class="css-s3qkfm" 7874 id="permissionresponse" 7875 /> 7876 <span 7877 class="css-6n7j50" 7878 > 7879 <code 7880 class="css-4xa05b-TextComponent" 7881 data-text="true" 7882 > 7883 PermissionResponse 7884 </code> 7885 </span> 7886 <span 7887 class="css-1eysgws" 7888 > 7889 <svg 7890 aria-label="permalink" 7891 class="anchor-icon" 7892 fill="none" 7893 height="24" 7894 viewBox="0 0 24 24" 7895 width="24" 7896 xmlns="http://www.w3.org/2000/svg" 7897 > 7898 <path 7899 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7900 stroke="#9B9B9B" 7901 stroke-linecap="round" 7902 stroke-linejoin="round" 7903 stroke-width="2" 7904 /> 7905 <path 7906 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7907 stroke="#9B9B9B" 7908 stroke-linecap="round" 7909 stroke-linejoin="round" 7910 stroke-width="2" 7911 /> 7912 </svg> 7913 </span> 7914 </a> 7915 </h3> 7916 <p 7917 class="css-hnkmoy-TextComponent" 7918 data-text="true" 7919 > 7920 An object obtained by permissions get and request functions. 7921 </p> 7922 <p 7923 class="css-1eksndl-BoxSectionHeader" 7924 data-text="true" 7925 > 7926 PermissionResponse Properties 7927 </p> 7928 <div 7929 class="css-1uyflf8-Table" 7930 > 7931 <table 7932 class="css-q84cm9-Table" 7933 > 7934 <thead 7935 class="css-1hxdjqf-TableHead" 7936 > 7937 <tr 7938 class="css-190f936-Row" 7939 > 7940 <th 7941 class="css-1uwgm7m-HeaderCell" 7942 > 7943 Name 7944 </th> 7945 <th 7946 class="css-1uwgm7m-HeaderCell" 7947 > 7948 Type 7949 </th> 7950 <th 7951 class="css-1uwgm7m-HeaderCell" 7952 > 7953 Description 7954 </th> 7955 </tr> 7956 </thead> 7957 <tbody> 7958 <tr 7959 class="css-190f936-Row" 7960 > 7961 <td 7962 class="css-18p3734-Cell" 7963 > 7964 <strong 7965 class="css-bvflvn-TextComponent" 7966 > 7967 canAskAgain 7968 </strong> 7969 </td> 7970 <td 7971 class="css-18p3734-Cell" 7972 > 7973 <code 7974 class="css-4xa05b-TextComponent" 7975 data-text="true" 7976 > 7977 boolean 7978 </code> 7979 </td> 7980 <td 7981 class="css-18p3734-Cell" 7982 > 7983 <p 7984 class="css-hnkmoy-TextComponent" 7985 data-text="true" 7986 > 7987 Indicates if user can be asked again for specific permission. 7988If not, one should be directed to the Settings app 7989in order to enable/disable the permission. 7990 </p> 7991 </td> 7992 </tr> 7993 <tr 7994 class="css-190f936-Row" 7995 > 7996 <td 7997 class="css-18p3734-Cell" 7998 > 7999 <strong 8000 class="css-bvflvn-TextComponent" 8001 > 8002 expires 8003 </strong> 8004 </td> 8005 <td 8006 class="css-18p3734-Cell" 8007 > 8008 <code 8009 class="css-4xa05b-TextComponent" 8010 data-text="true" 8011 > 8012 <a 8013 class="css-1na8e0o-A" 8014 href="#permissionexpiration" 8015 > 8016 PermissionExpiration 8017 </a> 8018 </code> 8019 </td> 8020 <td 8021 class="css-18p3734-Cell" 8022 > 8023 <p 8024 class="css-hnkmoy-TextComponent" 8025 data-text="true" 8026 > 8027 Determines time when the permission expires. 8028 </p> 8029 </td> 8030 </tr> 8031 <tr 8032 class="css-190f936-Row" 8033 > 8034 <td 8035 class="css-18p3734-Cell" 8036 > 8037 <strong 8038 class="css-bvflvn-TextComponent" 8039 > 8040 granted 8041 </strong> 8042 </td> 8043 <td 8044 class="css-18p3734-Cell" 8045 > 8046 <code 8047 class="css-4xa05b-TextComponent" 8048 data-text="true" 8049 > 8050 boolean 8051 </code> 8052 </td> 8053 <td 8054 class="css-18p3734-Cell" 8055 > 8056 <p 8057 class="css-hnkmoy-TextComponent" 8058 data-text="true" 8059 > 8060 A convenience boolean that indicates if the permission is granted. 8061 </p> 8062 </td> 8063 </tr> 8064 <tr 8065 class="css-190f936-Row" 8066 > 8067 <td 8068 class="css-18p3734-Cell" 8069 > 8070 <strong 8071 class="css-bvflvn-TextComponent" 8072 > 8073 status 8074 </strong> 8075 </td> 8076 <td 8077 class="css-18p3734-Cell" 8078 > 8079 <code 8080 class="css-4xa05b-TextComponent" 8081 data-text="true" 8082 > 8083 <a 8084 class="css-1na8e0o-A" 8085 href="#permissionstatus" 8086 > 8087 PermissionStatus 8088 </a> 8089 </code> 8090 </td> 8091 <td 8092 class="css-18p3734-Cell" 8093 > 8094 <p 8095 class="css-hnkmoy-TextComponent" 8096 data-text="true" 8097 > 8098 Determines the status of the permission. 8099 </p> 8100 </td> 8101 </tr> 8102 </tbody> 8103 </table> 8104 </div> 8105 <br /> 8106 </div> 8107 <h2 8108 class=" css-13x385i-TextComponent" 8109 data-heading="true" 8110 > 8111 <a 8112 class="css-1y48vg3" 8113 href="#types" 8114 > 8115 <span 8116 class="css-s3qkfm" 8117 id="types" 8118 /> 8119 <span 8120 class="css-6n7j50" 8121 > 8122 Types 8123 </span> 8124 <span 8125 class="css-1eysgws" 8126 > 8127 <svg 8128 aria-label="permalink" 8129 class="anchor-icon" 8130 fill="none" 8131 height="24" 8132 viewBox="0 0 24 24" 8133 width="24" 8134 xmlns="http://www.w3.org/2000/svg" 8135 > 8136 <path 8137 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8138 stroke="#9B9B9B" 8139 stroke-linecap="round" 8140 stroke-linejoin="round" 8141 stroke-width="2" 8142 /> 8143 <path 8144 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8145 stroke="#9B9B9B" 8146 stroke-linecap="round" 8147 stroke-linejoin="round" 8148 stroke-width="2" 8149 /> 8150 </svg> 8151 </span> 8152 </a> 8153 </h2> 8154 <div 8155 class="css-1h8tzv" 8156 > 8157 <h3 8158 class=" css-6r23rc-TextComponent" 8159 data-heading="true" 8160 > 8161 <a 8162 class="css-1y48vg3" 8163 href="#barcodebounds" 8164 > 8165 <span 8166 class="css-s3qkfm" 8167 id="barcodebounds" 8168 /> 8169 <span 8170 class="css-6n7j50" 8171 > 8172 <code 8173 class="css-4xa05b-TextComponent" 8174 data-text="true" 8175 > 8176 BarCodeBounds 8177 </code> 8178 </span> 8179 <span 8180 class="css-1eysgws" 8181 > 8182 <svg 8183 aria-label="permalink" 8184 class="anchor-icon" 8185 fill="none" 8186 height="24" 8187 viewBox="0 0 24 24" 8188 width="24" 8189 xmlns="http://www.w3.org/2000/svg" 8190 > 8191 <path 8192 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8193 stroke="#9B9B9B" 8194 stroke-linecap="round" 8195 stroke-linejoin="round" 8196 stroke-width="2" 8197 /> 8198 <path 8199 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8200 stroke="#9B9B9B" 8201 stroke-linecap="round" 8202 stroke-linejoin="round" 8203 stroke-width="2" 8204 /> 8205 </svg> 8206 </span> 8207 </a> 8208 </h3> 8209 <div 8210 class="css-1uyflf8-Table" 8211 > 8212 <table 8213 class="css-q84cm9-Table" 8214 > 8215 <thead 8216 class="css-1hxdjqf-TableHead" 8217 > 8218 <tr 8219 class="css-190f936-Row" 8220 > 8221 <th 8222 class="css-1uwgm7m-HeaderCell" 8223 > 8224 Name 8225 </th> 8226 <th 8227 class="css-1uwgm7m-HeaderCell" 8228 > 8229 Type 8230 </th> 8231 <th 8232 class="css-1uwgm7m-HeaderCell" 8233 > 8234 Description 8235 </th> 8236 </tr> 8237 </thead> 8238 <tbody> 8239 <tr 8240 class="css-190f936-Row" 8241 > 8242 <td 8243 class="css-18p3734-Cell" 8244 > 8245 <strong 8246 class="css-bvflvn-TextComponent" 8247 > 8248 origin 8249 </strong> 8250 </td> 8251 <td 8252 class="css-18p3734-Cell" 8253 > 8254 <code 8255 class="css-4xa05b-TextComponent" 8256 data-text="true" 8257 > 8258 <a 8259 class="css-1na8e0o-A" 8260 href="#barcodepoint" 8261 > 8262 BarCodePoint 8263 </a> 8264 </code> 8265 </td> 8266 <td 8267 class="css-18p3734-Cell" 8268 > 8269 <p 8270 class="css-hnkmoy-TextComponent" 8271 data-text="true" 8272 > 8273 The origin point of the bounding box. 8274 </p> 8275 </td> 8276 </tr> 8277 <tr 8278 class="css-190f936-Row" 8279 > 8280 <td 8281 class="css-18p3734-Cell" 8282 > 8283 <strong 8284 class="css-bvflvn-TextComponent" 8285 > 8286 size 8287 </strong> 8288 </td> 8289 <td 8290 class="css-18p3734-Cell" 8291 > 8292 <code 8293 class="css-4xa05b-TextComponent" 8294 data-text="true" 8295 > 8296 <a 8297 class="css-1na8e0o-A" 8298 href="#barcodesize" 8299 > 8300 BarCodeSize 8301 </a> 8302 </code> 8303 </td> 8304 <td 8305 class="css-18p3734-Cell" 8306 > 8307 <p 8308 class="css-hnkmoy-TextComponent" 8309 data-text="true" 8310 > 8311 The size of the bounding box. 8312 </p> 8313 </td> 8314 </tr> 8315 </tbody> 8316 </table> 8317 </div> 8318 </div> 8319 <div 8320 class="css-1h8tzv" 8321 > 8322 <h3 8323 class=" css-6r23rc-TextComponent" 8324 data-heading="true" 8325 > 8326 <a 8327 class="css-1y48vg3" 8328 href="#barcodeevent" 8329 > 8330 <span 8331 class="css-s3qkfm" 8332 id="barcodeevent" 8333 /> 8334 <span 8335 class="css-6n7j50" 8336 > 8337 <code 8338 class="css-4xa05b-TextComponent" 8339 data-text="true" 8340 > 8341 BarCodeEvent 8342 </code> 8343 </span> 8344 <span 8345 class="css-1eysgws" 8346 > 8347 <svg 8348 aria-label="permalink" 8349 class="anchor-icon" 8350 fill="none" 8351 height="24" 8352 viewBox="0 0 24 24" 8353 width="24" 8354 xmlns="http://www.w3.org/2000/svg" 8355 > 8356 <path 8357 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8358 stroke="#9B9B9B" 8359 stroke-linecap="round" 8360 stroke-linejoin="round" 8361 stroke-width="2" 8362 /> 8363 <path 8364 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8365 stroke="#9B9B9B" 8366 stroke-linecap="round" 8367 stroke-linejoin="round" 8368 stroke-width="2" 8369 /> 8370 </svg> 8371 </span> 8372 </a> 8373 </h3> 8374 <p 8375 class="css-1kfqm4n-TextComponent" 8376 data-text="true" 8377 > 8378 <code 8379 class="css-4xa05b-TextComponent" 8380 data-text="true" 8381 > 8382 <a 8383 class="css-1na8e0o-A" 8384 href="#barcodescannerresult" 8385 > 8386 BarCodeScannerResult 8387 </a> 8388 </code> 8389 8390 extended by: 8391 </p> 8392 <br /> 8393 <div 8394 class="css-1uyflf8-Table" 8395 > 8396 <table 8397 class="css-q84cm9-Table" 8398 > 8399 <thead 8400 class="css-1hxdjqf-TableHead" 8401 > 8402 <tr 8403 class="css-190f936-Row" 8404 > 8405 <th 8406 class="css-1uwgm7m-HeaderCell" 8407 > 8408 Name 8409 </th> 8410 <th 8411 class="css-1uwgm7m-HeaderCell" 8412 > 8413 Type 8414 </th> 8415 <th 8416 class="css-1uwgm7m-HeaderCell" 8417 > 8418 Description 8419 </th> 8420 </tr> 8421 </thead> 8422 <tbody> 8423 <tr 8424 class="css-190f936-Row" 8425 > 8426 <td 8427 class="css-18p3734-Cell" 8428 > 8429 <strong 8430 class="css-bvflvn-TextComponent" 8431 > 8432 target 8433 </strong> 8434 <br /> 8435 <span 8436 class="css-1g95u6x" 8437 > 8438 (optional) 8439 </span> 8440 </td> 8441 <td 8442 class="css-18p3734-Cell" 8443 > 8444 <code 8445 class="css-4xa05b-TextComponent" 8446 data-text="true" 8447 > 8448 number 8449 </code> 8450 </td> 8451 <td 8452 class="css-18p3734-Cell" 8453 > 8454 - 8455 </td> 8456 </tr> 8457 </tbody> 8458 </table> 8459 </div> 8460 </div> 8461 <div 8462 class="css-1h8tzv" 8463 > 8464 <h3 8465 class=" css-6r23rc-TextComponent" 8466 data-heading="true" 8467 > 8468 <a 8469 class="css-1y48vg3" 8470 href="#barcodeeventcallbackarguments" 8471 > 8472 <span 8473 class="css-s3qkfm" 8474 id="barcodeeventcallbackarguments" 8475 /> 8476 <span 8477 class="css-6n7j50" 8478 > 8479 <code 8480 class="css-4xa05b-TextComponent" 8481 data-text="true" 8482 > 8483 BarCodeEventCallbackArguments 8484 </code> 8485 </span> 8486 <span 8487 class="css-1eysgws" 8488 > 8489 <svg 8490 aria-label="permalink" 8491 class="anchor-icon" 8492 fill="none" 8493 height="24" 8494 viewBox="0 0 24 24" 8495 width="24" 8496 xmlns="http://www.w3.org/2000/svg" 8497 > 8498 <path 8499 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8500 stroke="#9B9B9B" 8501 stroke-linecap="round" 8502 stroke-linejoin="round" 8503 stroke-width="2" 8504 /> 8505 <path 8506 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8507 stroke="#9B9B9B" 8508 stroke-linecap="round" 8509 stroke-linejoin="round" 8510 stroke-width="2" 8511 /> 8512 </svg> 8513 </span> 8514 </a> 8515 </h3> 8516 <div 8517 class="css-1uyflf8-Table" 8518 > 8519 <table 8520 class="css-q84cm9-Table" 8521 > 8522 <thead 8523 class="css-1hxdjqf-TableHead" 8524 > 8525 <tr 8526 class="css-190f936-Row" 8527 > 8528 <th 8529 class="css-1uwgm7m-HeaderCell" 8530 > 8531 Name 8532 </th> 8533 <th 8534 class="css-1uwgm7m-HeaderCell" 8535 > 8536 Type 8537 </th> 8538 <th 8539 class="css-1uwgm7m-HeaderCell" 8540 > 8541 Description 8542 </th> 8543 </tr> 8544 </thead> 8545 <tbody> 8546 <tr 8547 class="css-190f936-Row" 8548 > 8549 <td 8550 class="css-18p3734-Cell" 8551 > 8552 <strong 8553 class="css-bvflvn-TextComponent" 8554 > 8555 nativeEvent 8556 </strong> 8557 </td> 8558 <td 8559 class="css-18p3734-Cell" 8560 > 8561 <code 8562 class="css-4xa05b-TextComponent" 8563 data-text="true" 8564 > 8565 <a 8566 class="css-1na8e0o-A" 8567 href="#barcodeevent" 8568 > 8569 BarCodeEvent 8570 </a> 8571 </code> 8572 </td> 8573 <td 8574 class="css-18p3734-Cell" 8575 > 8576 - 8577 </td> 8578 </tr> 8579 </tbody> 8580 </table> 8581 </div> 8582 </div> 8583 <div 8584 class="css-1h8tzv" 8585 > 8586 <h3 8587 class=" css-6r23rc-TextComponent" 8588 data-heading="true" 8589 > 8590 <a 8591 class="css-1y48vg3" 8592 href="#barcodepoint" 8593 > 8594 <span 8595 class="css-s3qkfm" 8596 id="barcodepoint" 8597 /> 8598 <span 8599 class="css-6n7j50" 8600 > 8601 <code 8602 class="css-4xa05b-TextComponent" 8603 data-text="true" 8604 > 8605 BarCodePoint 8606 </code> 8607 </span> 8608 <span 8609 class="css-1eysgws" 8610 > 8611 <svg 8612 aria-label="permalink" 8613 class="anchor-icon" 8614 fill="none" 8615 height="24" 8616 viewBox="0 0 24 24" 8617 width="24" 8618 xmlns="http://www.w3.org/2000/svg" 8619 > 8620 <path 8621 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8622 stroke="#9B9B9B" 8623 stroke-linecap="round" 8624 stroke-linejoin="round" 8625 stroke-width="2" 8626 /> 8627 <path 8628 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8629 stroke="#9B9B9B" 8630 stroke-linecap="round" 8631 stroke-linejoin="round" 8632 stroke-width="2" 8633 /> 8634 </svg> 8635 </span> 8636 </a> 8637 </h3> 8638 <p 8639 class="css-hnkmoy-TextComponent" 8640 data-text="true" 8641 > 8642 Those coordinates are represented in the coordinate space of the barcode source (e.g. when you 8643are using the barcode scanner view, these values are adjusted to the dimensions of the view). 8644 </p> 8645 <div 8646 class="css-1uyflf8-Table" 8647 > 8648 <table 8649 class="css-q84cm9-Table" 8650 > 8651 <thead 8652 class="css-1hxdjqf-TableHead" 8653 > 8654 <tr 8655 class="css-190f936-Row" 8656 > 8657 <th 8658 class="css-1uwgm7m-HeaderCell" 8659 > 8660 Name 8661 </th> 8662 <th 8663 class="css-1uwgm7m-HeaderCell" 8664 > 8665 Type 8666 </th> 8667 <th 8668 class="css-1uwgm7m-HeaderCell" 8669 > 8670 Description 8671 </th> 8672 </tr> 8673 </thead> 8674 <tbody> 8675 <tr 8676 class="css-190f936-Row" 8677 > 8678 <td 8679 class="css-18p3734-Cell" 8680 > 8681 <strong 8682 class="css-bvflvn-TextComponent" 8683 > 8684 x 8685 </strong> 8686 </td> 8687 <td 8688 class="css-18p3734-Cell" 8689 > 8690 <code 8691 class="css-4xa05b-TextComponent" 8692 data-text="true" 8693 > 8694 number 8695 </code> 8696 </td> 8697 <td 8698 class="css-18p3734-Cell" 8699 > 8700 <p 8701 class="css-hnkmoy-TextComponent" 8702 data-text="true" 8703 > 8704 The 8705 <code 8706 class="css-23wgco-TextComponent" 8707 data-text="true" 8708 > 8709 x 8710 </code> 8711 coordinate value. 8712 </p> 8713 </td> 8714 </tr> 8715 <tr 8716 class="css-190f936-Row" 8717 > 8718 <td 8719 class="css-18p3734-Cell" 8720 > 8721 <strong 8722 class="css-bvflvn-TextComponent" 8723 > 8724 y 8725 </strong> 8726 </td> 8727 <td 8728 class="css-18p3734-Cell" 8729 > 8730 <code 8731 class="css-4xa05b-TextComponent" 8732 data-text="true" 8733 > 8734 number 8735 </code> 8736 </td> 8737 <td 8738 class="css-18p3734-Cell" 8739 > 8740 <p 8741 class="css-hnkmoy-TextComponent" 8742 data-text="true" 8743 > 8744 The 8745 <code 8746 class="css-23wgco-TextComponent" 8747 data-text="true" 8748 > 8749 y 8750 </code> 8751 coordinate value. 8752 </p> 8753 </td> 8754 </tr> 8755 </tbody> 8756 </table> 8757 </div> 8758 </div> 8759 <div 8760 class="css-1h8tzv" 8761 > 8762 <h3 8763 class=" css-6r23rc-TextComponent" 8764 data-heading="true" 8765 > 8766 <a 8767 class="css-1y48vg3" 8768 href="#barcodescannedcallback" 8769 > 8770 <span 8771 class="css-s3qkfm" 8772 id="barcodescannedcallback" 8773 /> 8774 <span 8775 class="css-6n7j50" 8776 > 8777 <code 8778 class="css-4xa05b-TextComponent" 8779 data-text="true" 8780 > 8781 BarCodeScannedCallback 8782 () 8783 </code> 8784 </span> 8785 <span 8786 class="css-1eysgws" 8787 > 8788 <svg 8789 aria-label="permalink" 8790 class="anchor-icon" 8791 fill="none" 8792 height="24" 8793 viewBox="0 0 24 24" 8794 width="24" 8795 xmlns="http://www.w3.org/2000/svg" 8796 > 8797 <path 8798 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8799 stroke="#9B9B9B" 8800 stroke-linecap="round" 8801 stroke-linejoin="round" 8802 stroke-width="2" 8803 /> 8804 <path 8805 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8806 stroke="#9B9B9B" 8807 stroke-linecap="round" 8808 stroke-linejoin="round" 8809 stroke-width="2" 8810 /> 8811 </svg> 8812 </span> 8813 </a> 8814 </h3> 8815 <div> 8816 <div 8817 class="css-1uyflf8-Table" 8818 > 8819 <table 8820 class="css-q84cm9-Table" 8821 > 8822 <thead 8823 class="css-1hxdjqf-TableHead" 8824 > 8825 <tr 8826 class="css-190f936-Row" 8827 > 8828 <th 8829 class="css-1uwgm7m-HeaderCell" 8830 > 8831 Name 8832 </th> 8833 <th 8834 class="css-1uwgm7m-HeaderCell" 8835 > 8836 Type 8837 </th> 8838 <th 8839 class="css-1uwgm7m-HeaderCell" 8840 > 8841 Description 8842 </th> 8843 </tr> 8844 </thead> 8845 <tbody> 8846 <tr 8847 class="css-190f936-Row" 8848 > 8849 <td 8850 class="css-zstkv9-Cell" 8851 > 8852 <strong 8853 class="css-bvflvn-TextComponent" 8854 > 8855 params 8856 </strong> 8857 </td> 8858 <td 8859 class="css-zstkv9-Cell" 8860 > 8861 <code 8862 class="css-4xa05b-TextComponent" 8863 data-text="true" 8864 > 8865 <a 8866 class="css-1na8e0o-A" 8867 href="#barcodeevent" 8868 > 8869 BarCodeEvent 8870 </a> 8871 </code> 8872 </td> 8873 <td 8874 class="css-zstkv9-Cell" 8875 > 8876 - 8877 </td> 8878 </tr> 8879 </tbody> 8880 </table> 8881 </div> 8882 </div> 8883 </div> 8884 <div 8885 class="css-1h8tzv" 8886 > 8887 <h3 8888 class=" css-6r23rc-TextComponent" 8889 data-heading="true" 8890 > 8891 <a 8892 class="css-1y48vg3" 8893 href="#barcodescannerresult" 8894 > 8895 <span 8896 class="css-s3qkfm" 8897 id="barcodescannerresult" 8898 /> 8899 <span 8900 class="css-6n7j50" 8901 > 8902 <code 8903 class="css-4xa05b-TextComponent" 8904 data-text="true" 8905 > 8906 BarCodeScannerResult 8907 </code> 8908 </span> 8909 <span 8910 class="css-1eysgws" 8911 > 8912 <svg 8913 aria-label="permalink" 8914 class="anchor-icon" 8915 fill="none" 8916 height="24" 8917 viewBox="0 0 24 24" 8918 width="24" 8919 xmlns="http://www.w3.org/2000/svg" 8920 > 8921 <path 8922 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8923 stroke="#9B9B9B" 8924 stroke-linecap="round" 8925 stroke-linejoin="round" 8926 stroke-width="2" 8927 /> 8928 <path 8929 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8930 stroke="#9B9B9B" 8931 stroke-linecap="round" 8932 stroke-linejoin="round" 8933 stroke-width="2" 8934 /> 8935 </svg> 8936 </span> 8937 </a> 8938 </h3> 8939 <div 8940 class="css-1uyflf8-Table" 8941 > 8942 <table 8943 class="css-q84cm9-Table" 8944 > 8945 <thead 8946 class="css-1hxdjqf-TableHead" 8947 > 8948 <tr 8949 class="css-190f936-Row" 8950 > 8951 <th 8952 class="css-1uwgm7m-HeaderCell" 8953 > 8954 Name 8955 </th> 8956 <th 8957 class="css-1uwgm7m-HeaderCell" 8958 > 8959 Type 8960 </th> 8961 <th 8962 class="css-1uwgm7m-HeaderCell" 8963 > 8964 Description 8965 </th> 8966 </tr> 8967 </thead> 8968 <tbody> 8969 <tr 8970 class="css-190f936-Row" 8971 > 8972 <td 8973 class="css-18p3734-Cell" 8974 > 8975 <strong 8976 class="css-bvflvn-TextComponent" 8977 > 8978 bounds 8979 </strong> 8980 </td> 8981 <td 8982 class="css-18p3734-Cell" 8983 > 8984 <code 8985 class="css-4xa05b-TextComponent" 8986 data-text="true" 8987 > 8988 <a 8989 class="css-1na8e0o-A" 8990 href="#barcodebounds" 8991 > 8992 BarCodeBounds 8993 </a> 8994 </code> 8995 </td> 8996 <td 8997 class="css-18p3734-Cell" 8998 > 8999 <p 9000 class="css-hnkmoy-TextComponent" 9001 data-text="true" 9002 > 9003 The 9004 <a 9005 class="css-1na8e0o-A" 9006 href="#barcodebounds" 9007 > 9008 BarCodeBounds 9009 </a> 9010 object. 9011 9012 <code 9013 class="css-23wgco-TextComponent" 9014 data-text="true" 9015 > 9016 bounds 9017 </code> 9018 in some case will be representing an empty rectangle. 9019Moreover, 9020 <code 9021 class="css-23wgco-TextComponent" 9022 data-text="true" 9023 > 9024 bounds 9025 </code> 9026 doesn't have to bound the whole barcode. 9027For some types, they will represent the area used by the scanner. 9028 </p> 9029 </td> 9030 </tr> 9031 <tr 9032 class="css-190f936-Row" 9033 > 9034 <td 9035 class="css-18p3734-Cell" 9036 > 9037 <strong 9038 class="css-bvflvn-TextComponent" 9039 > 9040 cornerPoints 9041 </strong> 9042 </td> 9043 <td 9044 class="css-18p3734-Cell" 9045 > 9046 <code 9047 class="css-4xa05b-TextComponent" 9048 data-text="true" 9049 > 9050 <a 9051 class="css-1na8e0o-A" 9052 href="#barcodepoint" 9053 > 9054 BarCodePoint 9055 [] 9056 </a> 9057 </code> 9058 </td> 9059 <td 9060 class="css-18p3734-Cell" 9061 > 9062 <p 9063 class="css-hnkmoy-TextComponent" 9064 data-text="true" 9065 > 9066 Corner points of the bounding box. 9067 9068 <code 9069 class="css-23wgco-TextComponent" 9070 data-text="true" 9071 > 9072 cornerPoints 9073 </code> 9074 is not always available and may be empty. On iOS, for 9075 <code 9076 class="css-23wgco-TextComponent" 9077 data-text="true" 9078 > 9079 code39 9080 </code> 9081 and 9082 <code 9083 class="css-23wgco-TextComponent" 9084 data-text="true" 9085 > 9086 pdf417 9087 </code> 9088 9089you don't get this value. 9090 </p> 9091 </td> 9092 </tr> 9093 <tr 9094 class="css-190f936-Row" 9095 > 9096 <td 9097 class="css-18p3734-Cell" 9098 > 9099 <strong 9100 class="css-bvflvn-TextComponent" 9101 > 9102 data 9103 </strong> 9104 </td> 9105 <td 9106 class="css-18p3734-Cell" 9107 > 9108 <code 9109 class="css-4xa05b-TextComponent" 9110 data-text="true" 9111 > 9112 string 9113 </code> 9114 </td> 9115 <td 9116 class="css-18p3734-Cell" 9117 > 9118 <p 9119 class="css-hnkmoy-TextComponent" 9120 data-text="true" 9121 > 9122 The information encoded in the bar code. 9123 </p> 9124 </td> 9125 </tr> 9126 <tr 9127 class="css-190f936-Row" 9128 > 9129 <td 9130 class="css-18p3734-Cell" 9131 > 9132 <strong 9133 class="css-bvflvn-TextComponent" 9134 > 9135 type 9136 </strong> 9137 </td> 9138 <td 9139 class="css-18p3734-Cell" 9140 > 9141 <code 9142 class="css-4xa05b-TextComponent" 9143 data-text="true" 9144 > 9145 string 9146 </code> 9147 </td> 9148 <td 9149 class="css-18p3734-Cell" 9150 > 9151 <p 9152 class="css-hnkmoy-TextComponent" 9153 data-text="true" 9154 > 9155 The barcode type. 9156 </p> 9157 </td> 9158 </tr> 9159 </tbody> 9160 </table> 9161 </div> 9162 </div> 9163 <div 9164 class="css-1h8tzv" 9165 > 9166 <h3 9167 class=" css-6r23rc-TextComponent" 9168 data-heading="true" 9169 > 9170 <a 9171 class="css-1y48vg3" 9172 href="#barcodesize" 9173 > 9174 <span 9175 class="css-s3qkfm" 9176 id="barcodesize" 9177 /> 9178 <span 9179 class="css-6n7j50" 9180 > 9181 <code 9182 class="css-4xa05b-TextComponent" 9183 data-text="true" 9184 > 9185 BarCodeSize 9186 </code> 9187 </span> 9188 <span 9189 class="css-1eysgws" 9190 > 9191 <svg 9192 aria-label="permalink" 9193 class="anchor-icon" 9194 fill="none" 9195 height="24" 9196 viewBox="0 0 24 24" 9197 width="24" 9198 xmlns="http://www.w3.org/2000/svg" 9199 > 9200 <path 9201 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9202 stroke="#9B9B9B" 9203 stroke-linecap="round" 9204 stroke-linejoin="round" 9205 stroke-width="2" 9206 /> 9207 <path 9208 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9209 stroke="#9B9B9B" 9210 stroke-linecap="round" 9211 stroke-linejoin="round" 9212 stroke-width="2" 9213 /> 9214 </svg> 9215 </span> 9216 </a> 9217 </h3> 9218 <div 9219 class="css-1uyflf8-Table" 9220 > 9221 <table 9222 class="css-q84cm9-Table" 9223 > 9224 <thead 9225 class="css-1hxdjqf-TableHead" 9226 > 9227 <tr 9228 class="css-190f936-Row" 9229 > 9230 <th 9231 class="css-1uwgm7m-HeaderCell" 9232 > 9233 Name 9234 </th> 9235 <th 9236 class="css-1uwgm7m-HeaderCell" 9237 > 9238 Type 9239 </th> 9240 <th 9241 class="css-1uwgm7m-HeaderCell" 9242 > 9243 Description 9244 </th> 9245 </tr> 9246 </thead> 9247 <tbody> 9248 <tr 9249 class="css-190f936-Row" 9250 > 9251 <td 9252 class="css-18p3734-Cell" 9253 > 9254 <strong 9255 class="css-bvflvn-TextComponent" 9256 > 9257 height 9258 </strong> 9259 </td> 9260 <td 9261 class="css-18p3734-Cell" 9262 > 9263 <code 9264 class="css-4xa05b-TextComponent" 9265 data-text="true" 9266 > 9267 number 9268 </code> 9269 </td> 9270 <td 9271 class="css-18p3734-Cell" 9272 > 9273 <p 9274 class="css-hnkmoy-TextComponent" 9275 data-text="true" 9276 > 9277 The height value. 9278 </p> 9279 </td> 9280 </tr> 9281 <tr 9282 class="css-190f936-Row" 9283 > 9284 <td 9285 class="css-18p3734-Cell" 9286 > 9287 <strong 9288 class="css-bvflvn-TextComponent" 9289 > 9290 width 9291 </strong> 9292 </td> 9293 <td 9294 class="css-18p3734-Cell" 9295 > 9296 <code 9297 class="css-4xa05b-TextComponent" 9298 data-text="true" 9299 > 9300 number 9301 </code> 9302 </td> 9303 <td 9304 class="css-18p3734-Cell" 9305 > 9306 <p 9307 class="css-hnkmoy-TextComponent" 9308 data-text="true" 9309 > 9310 The width value. 9311 </p> 9312 </td> 9313 </tr> 9314 </tbody> 9315 </table> 9316 </div> 9317 </div> 9318 <div 9319 class="css-1h8tzv" 9320 > 9321 <h3 9322 class=" css-6r23rc-TextComponent" 9323 data-heading="true" 9324 > 9325 <a 9326 class="css-1y48vg3" 9327 href="#permissionhookoptions" 9328 > 9329 <span 9330 class="css-s3qkfm" 9331 id="permissionhookoptions" 9332 /> 9333 <span 9334 class="css-6n7j50" 9335 > 9336 <code 9337 class="css-4xa05b-TextComponent" 9338 data-text="true" 9339 > 9340 PermissionHookOptions 9341 </code> 9342 </span> 9343 <span 9344 class="css-1eysgws" 9345 > 9346 <svg 9347 aria-label="permalink" 9348 class="anchor-icon" 9349 fill="none" 9350 height="24" 9351 viewBox="0 0 24 24" 9352 width="24" 9353 xmlns="http://www.w3.org/2000/svg" 9354 > 9355 <path 9356 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9357 stroke="#9B9B9B" 9358 stroke-linecap="round" 9359 stroke-linejoin="round" 9360 stroke-width="2" 9361 /> 9362 <path 9363 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9364 stroke="#9B9B9B" 9365 stroke-linecap="round" 9366 stroke-linejoin="round" 9367 stroke-width="2" 9368 /> 9369 </svg> 9370 </span> 9371 </a> 9372 </h3> 9373 <p 9374 class="css-1kfqm4n-TextComponent" 9375 data-text="true" 9376 > 9377 Acceptable values are: 9378 9379 <span> 9380 <code 9381 class="css-4xa05b-TextComponent" 9382 data-text="true" 9383 > 9384 PermissionHookBehavior 9385 </code> 9386 , 9387 </span> 9388 <span> 9389 <code 9390 class="css-4xa05b-TextComponent" 9391 data-text="true" 9392 > 9393 Options 9394 </code> 9395 . 9396 </span> 9397 </p> 9398 </div> 9399 <h2 9400 class=" css-13x385i-TextComponent" 9401 data-heading="true" 9402 > 9403 <a 9404 class="css-1y48vg3" 9405 href="#enums" 9406 > 9407 <span 9408 class="css-s3qkfm" 9409 id="enums" 9410 /> 9411 <span 9412 class="css-6n7j50" 9413 > 9414 Enums 9415 </span> 9416 <span 9417 class="css-1eysgws" 9418 > 9419 <svg 9420 aria-label="permalink" 9421 class="anchor-icon" 9422 fill="none" 9423 height="24" 9424 viewBox="0 0 24 24" 9425 width="24" 9426 xmlns="http://www.w3.org/2000/svg" 9427 > 9428 <path 9429 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9430 stroke="#9B9B9B" 9431 stroke-linecap="round" 9432 stroke-linejoin="round" 9433 stroke-width="2" 9434 /> 9435 <path 9436 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9437 stroke="#9B9B9B" 9438 stroke-linecap="round" 9439 stroke-linejoin="round" 9440 stroke-width="2" 9441 /> 9442 </svg> 9443 </span> 9444 </a> 9445 </h2> 9446 <div 9447 class="css-1kkk53e" 9448 > 9449 <h3 9450 class=" css-6r23rc-TextComponent" 9451 data-heading="true" 9452 > 9453 <a 9454 class="css-1y48vg3" 9455 href="#permissionstatus" 9456 > 9457 <span 9458 class="css-s3qkfm" 9459 id="permissionstatus" 9460 /> 9461 <span 9462 class="css-6n7j50" 9463 > 9464 <code 9465 class="css-4xa05b-TextComponent" 9466 data-text="true" 9467 > 9468 PermissionStatus 9469 </code> 9470 </span> 9471 <span 9472 class="css-1eysgws" 9473 > 9474 <svg 9475 aria-label="permalink" 9476 class="anchor-icon" 9477 fill="none" 9478 height="24" 9479 viewBox="0 0 24 24" 9480 width="24" 9481 xmlns="http://www.w3.org/2000/svg" 9482 > 9483 <path 9484 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9485 stroke="#9B9B9B" 9486 stroke-linecap="round" 9487 stroke-linejoin="round" 9488 stroke-width="2" 9489 /> 9490 <path 9491 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9492 stroke="#9B9B9B" 9493 stroke-linecap="round" 9494 stroke-linejoin="round" 9495 stroke-width="2" 9496 /> 9497 </svg> 9498 </span> 9499 </a> 9500 </h3> 9501 <div 9502 class="css-c22nmz" 9503 > 9504 <h4 9505 class=" css-1gu5rqd-TextComponent" 9506 data-heading="true" 9507 > 9508 <a 9509 class="css-1y48vg3" 9510 href="#denied" 9511 > 9512 <span 9513 class="css-s3qkfm" 9514 id="denied" 9515 /> 9516 <span 9517 class="css-6n7j50" 9518 > 9519 <code 9520 class="css-4xa05b-TextComponent" 9521 data-text="true" 9522 > 9523 DENIED 9524 </code> 9525 </span> 9526 <span 9527 class="css-1eysgws" 9528 > 9529 <svg 9530 aria-label="permalink" 9531 class="anchor-icon" 9532 fill="none" 9533 height="24" 9534 viewBox="0 0 24 24" 9535 width="24" 9536 xmlns="http://www.w3.org/2000/svg" 9537 > 9538 <path 9539 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9540 stroke="#9B9B9B" 9541 stroke-linecap="round" 9542 stroke-linejoin="round" 9543 stroke-width="2" 9544 /> 9545 <path 9546 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9547 stroke="#9B9B9B" 9548 stroke-linecap="round" 9549 stroke-linejoin="round" 9550 stroke-width="2" 9551 /> 9552 </svg> 9553 </span> 9554 </a> 9555 </h4> 9556 <code 9557 class="css-1s1f2t0-TextComponent" 9558 data-text="true" 9559 > 9560 PermissionStatus.DENIED = "denied" 9561 </code> 9562 <p 9563 class="css-hnkmoy-TextComponent" 9564 data-text="true" 9565 > 9566 User has denied the permission. 9567 </p> 9568 </div> 9569 <div 9570 class="css-c22nmz" 9571 > 9572 <h4 9573 class=" css-1gu5rqd-TextComponent" 9574 data-heading="true" 9575 > 9576 <a 9577 class="css-1y48vg3" 9578 href="#granted" 9579 > 9580 <span 9581 class="css-s3qkfm" 9582 id="granted" 9583 /> 9584 <span 9585 class="css-6n7j50" 9586 > 9587 <code 9588 class="css-4xa05b-TextComponent" 9589 data-text="true" 9590 > 9591 GRANTED 9592 </code> 9593 </span> 9594 <span 9595 class="css-1eysgws" 9596 > 9597 <svg 9598 aria-label="permalink" 9599 class="anchor-icon" 9600 fill="none" 9601 height="24" 9602 viewBox="0 0 24 24" 9603 width="24" 9604 xmlns="http://www.w3.org/2000/svg" 9605 > 9606 <path 9607 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9608 stroke="#9B9B9B" 9609 stroke-linecap="round" 9610 stroke-linejoin="round" 9611 stroke-width="2" 9612 /> 9613 <path 9614 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9615 stroke="#9B9B9B" 9616 stroke-linecap="round" 9617 stroke-linejoin="round" 9618 stroke-width="2" 9619 /> 9620 </svg> 9621 </span> 9622 </a> 9623 </h4> 9624 <code 9625 class="css-1s1f2t0-TextComponent" 9626 data-text="true" 9627 > 9628 PermissionStatus.GRANTED = "granted" 9629 </code> 9630 <p 9631 class="css-hnkmoy-TextComponent" 9632 data-text="true" 9633 > 9634 User has granted the permission. 9635 </p> 9636 </div> 9637 <div 9638 class="css-c22nmz" 9639 > 9640 <h4 9641 class=" css-1gu5rqd-TextComponent" 9642 data-heading="true" 9643 > 9644 <a 9645 class="css-1y48vg3" 9646 href="#undetermined" 9647 > 9648 <span 9649 class="css-s3qkfm" 9650 id="undetermined" 9651 /> 9652 <span 9653 class="css-6n7j50" 9654 > 9655 <code 9656 class="css-4xa05b-TextComponent" 9657 data-text="true" 9658 > 9659 UNDETERMINED 9660 </code> 9661 </span> 9662 <span 9663 class="css-1eysgws" 9664 > 9665 <svg 9666 aria-label="permalink" 9667 class="anchor-icon" 9668 fill="none" 9669 height="24" 9670 viewBox="0 0 24 24" 9671 width="24" 9672 xmlns="http://www.w3.org/2000/svg" 9673 > 9674 <path 9675 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9676 stroke="#9B9B9B" 9677 stroke-linecap="round" 9678 stroke-linejoin="round" 9679 stroke-width="2" 9680 /> 9681 <path 9682 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9683 stroke="#9B9B9B" 9684 stroke-linecap="round" 9685 stroke-linejoin="round" 9686 stroke-width="2" 9687 /> 9688 </svg> 9689 </span> 9690 </a> 9691 </h4> 9692 <code 9693 class="css-1s1f2t0-TextComponent" 9694 data-text="true" 9695 > 9696 PermissionStatus.UNDETERMINED = "undetermined" 9697 </code> 9698 <p 9699 class="css-hnkmoy-TextComponent" 9700 data-text="true" 9701 > 9702 User hasn't granted or denied the permission yet. 9703 </p> 9704 </div> 9705 </div> 9706</div> 9707`; 9708 9709exports[`APISection expo-pedometer 1`] = ` 9710<div> 9711 <h2 9712 class=" css-13x385i-TextComponent" 9713 data-heading="true" 9714 > 9715 <a 9716 class="css-1y48vg3" 9717 href="#methods" 9718 > 9719 <span 9720 class="css-s3qkfm" 9721 id="methods" 9722 /> 9723 <span 9724 class="css-6n7j50" 9725 > 9726 Methods 9727 </span> 9728 <span 9729 class="css-1eysgws" 9730 > 9731 <svg 9732 aria-label="permalink" 9733 class="anchor-icon" 9734 fill="none" 9735 height="24" 9736 viewBox="0 0 24 24" 9737 width="24" 9738 xmlns="http://www.w3.org/2000/svg" 9739 > 9740 <path 9741 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9742 stroke="#9B9B9B" 9743 stroke-linecap="round" 9744 stroke-linejoin="round" 9745 stroke-width="2" 9746 /> 9747 <path 9748 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9749 stroke="#9B9B9B" 9750 stroke-linecap="round" 9751 stroke-linejoin="round" 9752 stroke-width="2" 9753 /> 9754 </svg> 9755 </span> 9756 </a> 9757 </h2> 9758 <div 9759 class="css-c22nmz" 9760 > 9761 <h3 9762 class=" css-6r23rc-TextComponent" 9763 data-heading="true" 9764 > 9765 <a 9766 class="css-1y48vg3" 9767 href="#getpermissionsasync" 9768 > 9769 <span 9770 class="css-s3qkfm" 9771 id="getpermissionsasync" 9772 /> 9773 <span 9774 class="css-6n7j50" 9775 > 9776 <code 9777 class="css-1qdx416-TextComponent" 9778 data-text="true" 9779 > 9780 getPermissionsAsync() 9781 </code> 9782 </span> 9783 <span 9784 class="css-1eysgws" 9785 > 9786 <svg 9787 aria-label="permalink" 9788 class="anchor-icon" 9789 fill="none" 9790 height="24" 9791 viewBox="0 0 24 24" 9792 width="24" 9793 xmlns="http://www.w3.org/2000/svg" 9794 > 9795 <path 9796 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9797 stroke="#9B9B9B" 9798 stroke-linecap="round" 9799 stroke-linejoin="round" 9800 stroke-width="2" 9801 /> 9802 <path 9803 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9804 stroke="#9B9B9B" 9805 stroke-linecap="round" 9806 stroke-linejoin="round" 9807 stroke-width="2" 9808 /> 9809 </svg> 9810 </span> 9811 </a> 9812 </h3> 9813 <p 9814 class="css-hnkmoy-TextComponent" 9815 data-text="true" 9816 > 9817 Checks user's permissions for accessing pedometer. 9818 </p> 9819 <p 9820 class="css-1eksndl-BoxSectionHeader" 9821 data-text="true" 9822 > 9823 Returns 9824 </p> 9825 <ul 9826 class="css-1c9clym-TextComponent" 9827 > 9828 <li 9829 class="css-1hxzfrf-TextComponent" 9830 data-text="true" 9831 > 9832 <svg 9833 class="css-1a9xr20" 9834 color="var(--expo-theme-icon-secondary)" 9835 fill="none" 9836 height="16" 9837 role="img" 9838 size="16" 9839 viewBox="0 0 20 20" 9840 width="16" 9841 > 9842 <title> 9843 Undo-icon 9844 </title> 9845 <path 9846 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 9847 fill="var(--expo-theme-icon-secondary)" 9848 /> 9849 </svg> 9850 <code 9851 class="css-4xa05b-TextComponent" 9852 data-text="true" 9853 > 9854 <a 9855 class="css-1na8e0o-A" 9856 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 9857 rel="noopener noreferrer" 9858 target="_blank" 9859 > 9860 Promise 9861 </a> 9862 < 9863 <span> 9864 <a 9865 class="css-1na8e0o-A" 9866 href="#permissionresponse" 9867 > 9868 PermissionResponse 9869 </a> 9870 </span> 9871 > 9872 </code> 9873 </li> 9874 </ul> 9875 <br /> 9876 </div> 9877 <div 9878 class="css-c22nmz" 9879 > 9880 <h3 9881 class=" css-6r23rc-TextComponent" 9882 data-heading="true" 9883 > 9884 <a 9885 class="css-1y48vg3" 9886 href="#getstepcountasyncstart-end" 9887 > 9888 <span 9889 class="css-s3qkfm" 9890 id="getstepcountasyncstart-end" 9891 /> 9892 <span 9893 class="css-6n7j50" 9894 > 9895 <code 9896 class="css-1qdx416-TextComponent" 9897 data-text="true" 9898 > 9899 getStepCountAsync(start, end) 9900 </code> 9901 </span> 9902 <span 9903 class="css-1eysgws" 9904 > 9905 <svg 9906 aria-label="permalink" 9907 class="anchor-icon" 9908 fill="none" 9909 height="24" 9910 viewBox="0 0 24 24" 9911 width="24" 9912 xmlns="http://www.w3.org/2000/svg" 9913 > 9914 <path 9915 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9916 stroke="#9B9B9B" 9917 stroke-linecap="round" 9918 stroke-linejoin="round" 9919 stroke-width="2" 9920 /> 9921 <path 9922 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9923 stroke="#9B9B9B" 9924 stroke-linecap="round" 9925 stroke-linejoin="round" 9926 stroke-width="2" 9927 /> 9928 </svg> 9929 </span> 9930 </a> 9931 </h3> 9932 <div 9933 class="css-1uyflf8-Table" 9934 > 9935 <table 9936 class="css-q84cm9-Table" 9937 > 9938 <thead 9939 class="css-1hxdjqf-TableHead" 9940 > 9941 <tr 9942 class="css-190f936-Row" 9943 > 9944 <th 9945 class="css-1uwgm7m-HeaderCell" 9946 > 9947 Name 9948 </th> 9949 <th 9950 class="css-1uwgm7m-HeaderCell" 9951 > 9952 Type 9953 </th> 9954 <th 9955 class="css-1uwgm7m-HeaderCell" 9956 > 9957 Description 9958 </th> 9959 </tr> 9960 </thead> 9961 <tbody> 9962 <tr 9963 class="css-190f936-Row" 9964 > 9965 <td 9966 class="css-zstkv9-Cell" 9967 > 9968 <strong 9969 class="css-bvflvn-TextComponent" 9970 > 9971 start 9972 </strong> 9973 </td> 9974 <td 9975 class="css-zstkv9-Cell" 9976 > 9977 <code 9978 class="css-4xa05b-TextComponent" 9979 data-text="true" 9980 > 9981 <a 9982 class="css-1na8e0o-A" 9983 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 9984 rel="noopener noreferrer" 9985 target="_blank" 9986 > 9987 Date 9988 </a> 9989 </code> 9990 </td> 9991 <td 9992 class="css-zstkv9-Cell" 9993 > 9994 <p 9995 class="css-hnkmoy-TextComponent" 9996 data-text="true" 9997 > 9998 A date indicating the start of the range over which to measure steps. 9999 </p> 10000 </td> 10001 </tr> 10002 <tr 10003 class="css-190f936-Row" 10004 > 10005 <td 10006 class="css-zstkv9-Cell" 10007 > 10008 <strong 10009 class="css-bvflvn-TextComponent" 10010 > 10011 end 10012 </strong> 10013 </td> 10014 <td 10015 class="css-zstkv9-Cell" 10016 > 10017 <code 10018 class="css-4xa05b-TextComponent" 10019 data-text="true" 10020 > 10021 <a 10022 class="css-1na8e0o-A" 10023 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 10024 rel="noopener noreferrer" 10025 target="_blank" 10026 > 10027 Date 10028 </a> 10029 </code> 10030 </td> 10031 <td 10032 class="css-zstkv9-Cell" 10033 > 10034 <p 10035 class="css-hnkmoy-TextComponent" 10036 data-text="true" 10037 > 10038 A date indicating the end of the range over which to measure steps. 10039 </p> 10040 </td> 10041 </tr> 10042 </tbody> 10043 </table> 10044 </div> 10045 <br /> 10046 <p 10047 class="css-hnkmoy-TextComponent" 10048 data-text="true" 10049 > 10050 Get the step count between two dates. 10051 </p> 10052 <p 10053 class="css-1eksndl-BoxSectionHeader" 10054 data-text="true" 10055 > 10056 Returns 10057 </p> 10058 <ul 10059 class="css-1c9clym-TextComponent" 10060 > 10061 <li 10062 class="css-1hxzfrf-TextComponent" 10063 data-text="true" 10064 > 10065 <svg 10066 class="css-1a9xr20" 10067 color="var(--expo-theme-icon-secondary)" 10068 fill="none" 10069 height="16" 10070 role="img" 10071 size="16" 10072 viewBox="0 0 20 20" 10073 width="16" 10074 > 10075 <title> 10076 Undo-icon 10077 </title> 10078 <path 10079 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 10080 fill="var(--expo-theme-icon-secondary)" 10081 /> 10082 </svg> 10083 <code 10084 class="css-4xa05b-TextComponent" 10085 data-text="true" 10086 > 10087 <a 10088 class="css-1na8e0o-A" 10089 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 10090 rel="noopener noreferrer" 10091 target="_blank" 10092 > 10093 Promise 10094 </a> 10095 < 10096 <span> 10097 <a 10098 class="css-1na8e0o-A" 10099 href="#pedometerresult" 10100 > 10101 PedometerResult 10102 </a> 10103 </span> 10104 > 10105 </code> 10106 </li> 10107 </ul> 10108 <br /> 10109 <p 10110 class="css-hnkmoy-TextComponent" 10111 data-text="true" 10112 > 10113 Returns a promise that fulfills with a 10114 <a 10115 class="css-1na8e0o-A" 10116 href="#pedometerresult" 10117 > 10118 <code 10119 class="css-23wgco-TextComponent" 10120 data-text="true" 10121 > 10122 PedometerResult 10123 </code> 10124 </a> 10125 . 10126 </p> 10127 10128 10129 <p 10130 class="css-hnkmoy-TextComponent" 10131 data-text="true" 10132 > 10133 As 10134 <a 10135 class="css-1na8e0o-A" 10136 href="https://developer.apple.com/documentation/coremotion/cmpedometer/1613946-querypedometerdatafromdate?language=objc" 10137 rel="noopener noreferrer" 10138 target="_blank" 10139 > 10140 Apple documentation states 10141 </a> 10142 : 10143 </p> 10144 10145 10146 <blockquote 10147 class="css-opaww-Callout" 10148 data-testid="callout-container" 10149 > 10150 <div 10151 class="css-ks2t0-Callout" 10152 > 10153 <svg 10154 color="var(--expo-theme-icon-default)" 10155 fill="none" 10156 height="16" 10157 role="img" 10158 size="16" 10159 viewBox="0 0 20 20" 10160 width="16" 10161 > 10162 <title> 10163 Info-icon 10164 </title> 10165 <path 10166 d="M10 1a9 9 0 100 18 9 9 0 000-18zm-.01 4.064a.962.962 0 01.73-.33c.229 0 .43.082.582.238.152.155.23.354.23.59 0 .295-.104.558-.308.78-.209.23-.453.347-.726.347a.777.777 0 01-.576-.244.844.844 0 01-.227-.607c0-.3.099-.561.295-.774zm1.499 8.48c-.746.7-1.279 1.138-1.628 1.337-.372.213-.679.317-.937.317a.814.814 0 01-.622-.254c-.152-.162-.23-.382-.23-.652 0-.69.392-2.293 1.197-4.9.013-.044.024-.086.031-.125a.814.814 0 00-.105.056c-.066.042-.267.2-.854.773a.25.25 0 01-.329.02l-.347-.27a.25.25 0 01-.033-.367c.542-.596 1.047-1.029 1.502-1.286.477-.269.88-.4 1.232-.4.227 0 .411.057.547.17a.621.621 0 01.225.492c0 .132-.063.474-.522 2.015-.657 2.203-.814 3.003-.825 3.28.125-.074.419-.283 1.046-.873a.25.25 0 01.347.003l.308.3a.25.25 0 01-.003.363z" 10167 fill="var(--expo-theme-icon-default)" 10168 /> 10169 </svg> 10170 </div> 10171 <div 10172 class="css-1m74yfi-Callout" 10173 > 10174 10175 10176 <p 10177 class="css-hnkmoy-TextComponent" 10178 data-text="true" 10179 > 10180 Only the past seven days worth of data is stored and available for you to retrieve. Specifying 10181a start date that is more than seven days in the past returns only the available data. 10182 </p> 10183 10184 10185 </div> 10186 </blockquote> 10187 </div> 10188 <div 10189 class="css-c22nmz" 10190 > 10191 <h3 10192 class=" css-6r23rc-TextComponent" 10193 data-heading="true" 10194 > 10195 <a 10196 class="css-1y48vg3" 10197 href="#isavailableasync" 10198 > 10199 <span 10200 class="css-s3qkfm" 10201 id="isavailableasync" 10202 /> 10203 <span 10204 class="css-6n7j50" 10205 > 10206 <code 10207 class="css-1qdx416-TextComponent" 10208 data-text="true" 10209 > 10210 isAvailableAsync() 10211 </code> 10212 </span> 10213 <span 10214 class="css-1eysgws" 10215 > 10216 <svg 10217 aria-label="permalink" 10218 class="anchor-icon" 10219 fill="none" 10220 height="24" 10221 viewBox="0 0 24 24" 10222 width="24" 10223 xmlns="http://www.w3.org/2000/svg" 10224 > 10225 <path 10226 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10227 stroke="#9B9B9B" 10228 stroke-linecap="round" 10229 stroke-linejoin="round" 10230 stroke-width="2" 10231 /> 10232 <path 10233 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10234 stroke="#9B9B9B" 10235 stroke-linecap="round" 10236 stroke-linejoin="round" 10237 stroke-width="2" 10238 /> 10239 </svg> 10240 </span> 10241 </a> 10242 </h3> 10243 <p 10244 class="css-hnkmoy-TextComponent" 10245 data-text="true" 10246 > 10247 Returns whether the pedometer is enabled on the device. 10248 </p> 10249 <p 10250 class="css-1eksndl-BoxSectionHeader" 10251 data-text="true" 10252 > 10253 Returns 10254 </p> 10255 <ul 10256 class="css-1c9clym-TextComponent" 10257 > 10258 <li 10259 class="css-1hxzfrf-TextComponent" 10260 data-text="true" 10261 > 10262 <svg 10263 class="css-1a9xr20" 10264 color="var(--expo-theme-icon-secondary)" 10265 fill="none" 10266 height="16" 10267 role="img" 10268 size="16" 10269 viewBox="0 0 20 20" 10270 width="16" 10271 > 10272 <title> 10273 Undo-icon 10274 </title> 10275 <path 10276 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 10277 fill="var(--expo-theme-icon-secondary)" 10278 /> 10279 </svg> 10280 <code 10281 class="css-4xa05b-TextComponent" 10282 data-text="true" 10283 > 10284 <a 10285 class="css-1na8e0o-A" 10286 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 10287 rel="noopener noreferrer" 10288 target="_blank" 10289 > 10290 Promise 10291 </a> 10292 < 10293 <span> 10294 boolean 10295 </span> 10296 > 10297 </code> 10298 </li> 10299 </ul> 10300 <br /> 10301 <p 10302 class="css-hnkmoy-TextComponent" 10303 data-text="true" 10304 > 10305 Returns a promise that fulfills with a 10306 <code 10307 class="css-23wgco-TextComponent" 10308 data-text="true" 10309 > 10310 boolean 10311 </code> 10312 , indicating whether the pedometer is 10313available on this device. 10314 </p> 10315 </div> 10316 <div 10317 class="css-c22nmz" 10318 > 10319 <h3 10320 class=" css-6r23rc-TextComponent" 10321 data-heading="true" 10322 > 10323 <a 10324 class="css-1y48vg3" 10325 href="#requestpermissionsasync" 10326 > 10327 <span 10328 class="css-s3qkfm" 10329 id="requestpermissionsasync" 10330 /> 10331 <span 10332 class="css-6n7j50" 10333 > 10334 <code 10335 class="css-1qdx416-TextComponent" 10336 data-text="true" 10337 > 10338 requestPermissionsAsync() 10339 </code> 10340 </span> 10341 <span 10342 class="css-1eysgws" 10343 > 10344 <svg 10345 aria-label="permalink" 10346 class="anchor-icon" 10347 fill="none" 10348 height="24" 10349 viewBox="0 0 24 24" 10350 width="24" 10351 xmlns="http://www.w3.org/2000/svg" 10352 > 10353 <path 10354 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10355 stroke="#9B9B9B" 10356 stroke-linecap="round" 10357 stroke-linejoin="round" 10358 stroke-width="2" 10359 /> 10360 <path 10361 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10362 stroke="#9B9B9B" 10363 stroke-linecap="round" 10364 stroke-linejoin="round" 10365 stroke-width="2" 10366 /> 10367 </svg> 10368 </span> 10369 </a> 10370 </h3> 10371 <p 10372 class="css-hnkmoy-TextComponent" 10373 data-text="true" 10374 > 10375 Asks the user to grant permissions for accessing pedometer. 10376 </p> 10377 <p 10378 class="css-1eksndl-BoxSectionHeader" 10379 data-text="true" 10380 > 10381 Returns 10382 </p> 10383 <ul 10384 class="css-1c9clym-TextComponent" 10385 > 10386 <li 10387 class="css-1hxzfrf-TextComponent" 10388 data-text="true" 10389 > 10390 <svg 10391 class="css-1a9xr20" 10392 color="var(--expo-theme-icon-secondary)" 10393 fill="none" 10394 height="16" 10395 role="img" 10396 size="16" 10397 viewBox="0 0 20 20" 10398 width="16" 10399 > 10400 <title> 10401 Undo-icon 10402 </title> 10403 <path 10404 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 10405 fill="var(--expo-theme-icon-secondary)" 10406 /> 10407 </svg> 10408 <code 10409 class="css-4xa05b-TextComponent" 10410 data-text="true" 10411 > 10412 <a 10413 class="css-1na8e0o-A" 10414 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 10415 rel="noopener noreferrer" 10416 target="_blank" 10417 > 10418 Promise 10419 </a> 10420 < 10421 <span> 10422 <a 10423 class="css-1na8e0o-A" 10424 href="#permissionresponse" 10425 > 10426 PermissionResponse 10427 </a> 10428 </span> 10429 > 10430 </code> 10431 </li> 10432 </ul> 10433 <br /> 10434 </div> 10435 <div 10436 class="css-c22nmz" 10437 > 10438 <h3 10439 class=" css-6r23rc-TextComponent" 10440 data-heading="true" 10441 > 10442 <a 10443 class="css-1y48vg3" 10444 href="#watchstepcountcallback" 10445 > 10446 <span 10447 class="css-s3qkfm" 10448 id="watchstepcountcallback" 10449 /> 10450 <span 10451 class="css-6n7j50" 10452 > 10453 <code 10454 class="css-1qdx416-TextComponent" 10455 data-text="true" 10456 > 10457 watchStepCount(callback) 10458 </code> 10459 </span> 10460 <span 10461 class="css-1eysgws" 10462 > 10463 <svg 10464 aria-label="permalink" 10465 class="anchor-icon" 10466 fill="none" 10467 height="24" 10468 viewBox="0 0 24 24" 10469 width="24" 10470 xmlns="http://www.w3.org/2000/svg" 10471 > 10472 <path 10473 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10474 stroke="#9B9B9B" 10475 stroke-linecap="round" 10476 stroke-linejoin="round" 10477 stroke-width="2" 10478 /> 10479 <path 10480 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10481 stroke="#9B9B9B" 10482 stroke-linecap="round" 10483 stroke-linejoin="round" 10484 stroke-width="2" 10485 /> 10486 </svg> 10487 </span> 10488 </a> 10489 </h3> 10490 <div 10491 class="css-1uyflf8-Table" 10492 > 10493 <table 10494 class="css-q84cm9-Table" 10495 > 10496 <thead 10497 class="css-1hxdjqf-TableHead" 10498 > 10499 <tr 10500 class="css-190f936-Row" 10501 > 10502 <th 10503 class="css-1uwgm7m-HeaderCell" 10504 > 10505 Name 10506 </th> 10507 <th 10508 class="css-1uwgm7m-HeaderCell" 10509 > 10510 Type 10511 </th> 10512 <th 10513 class="css-1uwgm7m-HeaderCell" 10514 > 10515 Description 10516 </th> 10517 </tr> 10518 </thead> 10519 <tbody> 10520 <tr 10521 class="css-190f936-Row" 10522 > 10523 <td 10524 class="css-zstkv9-Cell" 10525 > 10526 <strong 10527 class="css-bvflvn-TextComponent" 10528 > 10529 callback 10530 </strong> 10531 </td> 10532 <td 10533 class="css-zstkv9-Cell" 10534 > 10535 <code 10536 class="css-4xa05b-TextComponent" 10537 data-text="true" 10538 > 10539 <a 10540 class="css-1na8e0o-A" 10541 href="#pedometerupdatecallback" 10542 > 10543 PedometerUpdateCallback 10544 </a> 10545 </code> 10546 </td> 10547 <td 10548 class="css-zstkv9-Cell" 10549 > 10550 <p 10551 class="css-hnkmoy-TextComponent" 10552 data-text="true" 10553 > 10554 A callback that is invoked when new step count data is available. The callback is 10555provided with a single argument that is 10556 <a 10557 class="css-1na8e0o-A" 10558 href="#pedometerresult" 10559 > 10560 <code 10561 class="css-23wgco-TextComponent" 10562 data-text="true" 10563 > 10564 PedometerResult 10565 </code> 10566 </a> 10567 . 10568 </p> 10569 </td> 10570 </tr> 10571 </tbody> 10572 </table> 10573 </div> 10574 <br /> 10575 <p 10576 class="css-hnkmoy-TextComponent" 10577 data-text="true" 10578 > 10579 Subscribe to pedometer updates. 10580 </p> 10581 <p 10582 class="css-1eksndl-BoxSectionHeader" 10583 data-text="true" 10584 > 10585 Returns 10586 </p> 10587 <ul 10588 class="css-1c9clym-TextComponent" 10589 > 10590 <li 10591 class="css-1hxzfrf-TextComponent" 10592 data-text="true" 10593 > 10594 <svg 10595 class="css-1a9xr20" 10596 color="var(--expo-theme-icon-secondary)" 10597 fill="none" 10598 height="16" 10599 role="img" 10600 size="16" 10601 viewBox="0 0 20 20" 10602 width="16" 10603 > 10604 <title> 10605 Undo-icon 10606 </title> 10607 <path 10608 d="M7.982 7.664v3.98L0 6.657l7.982-4.99v3.98h6.941a5.044 5.044 0 015.044 5.045v7.938a1.009 1.009 0 11-2.017 0v-7.938a3.026 3.026 0 00-3.027-3.027h-6.94z" 10609 fill="var(--expo-theme-icon-secondary)" 10610 /> 10611 </svg> 10612 <code 10613 class="css-4xa05b-TextComponent" 10614 data-text="true" 10615 > 10616 <a 10617 class="css-1na8e0o-A" 10618 href="#subscription" 10619 > 10620 Subscription 10621 </a> 10622 </code> 10623 </li> 10624 </ul> 10625 <br /> 10626 <p 10627 class="css-hnkmoy-TextComponent" 10628 data-text="true" 10629 > 10630 Returns a 10631 <a 10632 class="css-1na8e0o-A" 10633 href="#subscription" 10634 > 10635 <code 10636 class="css-23wgco-TextComponent" 10637 data-text="true" 10638 > 10639 Subscription 10640 </code> 10641 </a> 10642 that enables you to call 10643 10644 <code 10645 class="css-23wgco-TextComponent" 10646 data-text="true" 10647 > 10648 remove() 10649 </code> 10650 when you would like to unsubscribe the listener. 10651 </p> 10652 </div> 10653 <h2 10654 class=" css-13x385i-TextComponent" 10655 data-heading="true" 10656 > 10657 <a 10658 class="css-1y48vg3" 10659 href="#interfaces" 10660 > 10661 <span 10662 class="css-s3qkfm" 10663 id="interfaces" 10664 /> 10665 <span 10666 class="css-6n7j50" 10667 > 10668 Interfaces 10669 </span> 10670 <span 10671 class="css-1eysgws" 10672 > 10673 <svg 10674 aria-label="permalink" 10675 class="anchor-icon" 10676 fill="none" 10677 height="24" 10678 viewBox="0 0 24 24" 10679 width="24" 10680 xmlns="http://www.w3.org/2000/svg" 10681 > 10682 <path 10683 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10684 stroke="#9B9B9B" 10685 stroke-linecap="round" 10686 stroke-linejoin="round" 10687 stroke-width="2" 10688 /> 10689 <path 10690 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10691 stroke="#9B9B9B" 10692 stroke-linecap="round" 10693 stroke-linejoin="round" 10694 stroke-width="2" 10695 /> 10696 </svg> 10697 </span> 10698 </a> 10699 </h2> 10700 <div 10701 class="css-c22nmz" 10702 > 10703 <h3 10704 class=" css-6r23rc-TextComponent" 10705 data-heading="true" 10706 > 10707 <a 10708 class="css-1y48vg3" 10709 href="#permissionresponse" 10710 > 10711 <span 10712 class="css-s3qkfm" 10713 id="permissionresponse" 10714 /> 10715 <span 10716 class="css-6n7j50" 10717 > 10718 <code 10719 class="css-4xa05b-TextComponent" 10720 data-text="true" 10721 > 10722 PermissionResponse 10723 </code> 10724 </span> 10725 <span 10726 class="css-1eysgws" 10727 > 10728 <svg 10729 aria-label="permalink" 10730 class="anchor-icon" 10731 fill="none" 10732 height="24" 10733 viewBox="0 0 24 24" 10734 width="24" 10735 xmlns="http://www.w3.org/2000/svg" 10736 > 10737 <path 10738 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10739 stroke="#9B9B9B" 10740 stroke-linecap="round" 10741 stroke-linejoin="round" 10742 stroke-width="2" 10743 /> 10744 <path 10745 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10746 stroke="#9B9B9B" 10747 stroke-linecap="round" 10748 stroke-linejoin="round" 10749 stroke-width="2" 10750 /> 10751 </svg> 10752 </span> 10753 </a> 10754 </h3> 10755 <p 10756 class="css-hnkmoy-TextComponent" 10757 data-text="true" 10758 > 10759 An object obtained by permissions get and request functions. 10760 </p> 10761 <p 10762 class="css-1eksndl-BoxSectionHeader" 10763 data-text="true" 10764 > 10765 PermissionResponse Properties 10766 </p> 10767 <div 10768 class="css-1uyflf8-Table" 10769 > 10770 <table 10771 class="css-q84cm9-Table" 10772 > 10773 <thead 10774 class="css-1hxdjqf-TableHead" 10775 > 10776 <tr 10777 class="css-190f936-Row" 10778 > 10779 <th 10780 class="css-1uwgm7m-HeaderCell" 10781 > 10782 Name 10783 </th> 10784 <th 10785 class="css-1uwgm7m-HeaderCell" 10786 > 10787 Type 10788 </th> 10789 <th 10790 class="css-1uwgm7m-HeaderCell" 10791 > 10792 Description 10793 </th> 10794 </tr> 10795 </thead> 10796 <tbody> 10797 <tr 10798 class="css-190f936-Row" 10799 > 10800 <td 10801 class="css-18p3734-Cell" 10802 > 10803 <strong 10804 class="css-bvflvn-TextComponent" 10805 > 10806 canAskAgain 10807 </strong> 10808 </td> 10809 <td 10810 class="css-18p3734-Cell" 10811 > 10812 <code 10813 class="css-4xa05b-TextComponent" 10814 data-text="true" 10815 > 10816 boolean 10817 </code> 10818 </td> 10819 <td 10820 class="css-18p3734-Cell" 10821 > 10822 <p 10823 class="css-hnkmoy-TextComponent" 10824 data-text="true" 10825 > 10826 Indicates if user can be asked again for specific permission. 10827If not, one should be directed to the Settings app 10828in order to enable/disable the permission. 10829 </p> 10830 </td> 10831 </tr> 10832 <tr 10833 class="css-190f936-Row" 10834 > 10835 <td 10836 class="css-18p3734-Cell" 10837 > 10838 <strong 10839 class="css-bvflvn-TextComponent" 10840 > 10841 expires 10842 </strong> 10843 </td> 10844 <td 10845 class="css-18p3734-Cell" 10846 > 10847 <code 10848 class="css-4xa05b-TextComponent" 10849 data-text="true" 10850 > 10851 <a 10852 class="css-1na8e0o-A" 10853 href="#permissionexpiration" 10854 > 10855 PermissionExpiration 10856 </a> 10857 </code> 10858 </td> 10859 <td 10860 class="css-18p3734-Cell" 10861 > 10862 <p 10863 class="css-hnkmoy-TextComponent" 10864 data-text="true" 10865 > 10866 Determines time when the permission expires. 10867 </p> 10868 </td> 10869 </tr> 10870 <tr 10871 class="css-190f936-Row" 10872 > 10873 <td 10874 class="css-18p3734-Cell" 10875 > 10876 <strong 10877 class="css-bvflvn-TextComponent" 10878 > 10879 granted 10880 </strong> 10881 </td> 10882 <td 10883 class="css-18p3734-Cell" 10884 > 10885 <code 10886 class="css-4xa05b-TextComponent" 10887 data-text="true" 10888 > 10889 boolean 10890 </code> 10891 </td> 10892 <td 10893 class="css-18p3734-Cell" 10894 > 10895 <p 10896 class="css-hnkmoy-TextComponent" 10897 data-text="true" 10898 > 10899 A convenience boolean that indicates if the permission is granted. 10900 </p> 10901 </td> 10902 </tr> 10903 <tr 10904 class="css-190f936-Row" 10905 > 10906 <td 10907 class="css-18p3734-Cell" 10908 > 10909 <strong 10910 class="css-bvflvn-TextComponent" 10911 > 10912 status 10913 </strong> 10914 </td> 10915 <td 10916 class="css-18p3734-Cell" 10917 > 10918 <code 10919 class="css-4xa05b-TextComponent" 10920 data-text="true" 10921 > 10922 <a 10923 class="css-1na8e0o-A" 10924 href="#permissionstatus" 10925 > 10926 PermissionStatus 10927 </a> 10928 </code> 10929 </td> 10930 <td 10931 class="css-18p3734-Cell" 10932 > 10933 <p 10934 class="css-hnkmoy-TextComponent" 10935 data-text="true" 10936 > 10937 Determines the status of the permission. 10938 </p> 10939 </td> 10940 </tr> 10941 </tbody> 10942 </table> 10943 </div> 10944 <br /> 10945 </div> 10946 <h2 10947 class=" css-13x385i-TextComponent" 10948 data-heading="true" 10949 > 10950 <a 10951 class="css-1y48vg3" 10952 href="#types" 10953 > 10954 <span 10955 class="css-s3qkfm" 10956 id="types" 10957 /> 10958 <span 10959 class="css-6n7j50" 10960 > 10961 Types 10962 </span> 10963 <span 10964 class="css-1eysgws" 10965 > 10966 <svg 10967 aria-label="permalink" 10968 class="anchor-icon" 10969 fill="none" 10970 height="24" 10971 viewBox="0 0 24 24" 10972 width="24" 10973 xmlns="http://www.w3.org/2000/svg" 10974 > 10975 <path 10976 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10977 stroke="#9B9B9B" 10978 stroke-linecap="round" 10979 stroke-linejoin="round" 10980 stroke-width="2" 10981 /> 10982 <path 10983 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10984 stroke="#9B9B9B" 10985 stroke-linecap="round" 10986 stroke-linejoin="round" 10987 stroke-width="2" 10988 /> 10989 </svg> 10990 </span> 10991 </a> 10992 </h2> 10993 <div 10994 class="css-1h8tzv" 10995 > 10996 <h3 10997 class=" css-6r23rc-TextComponent" 10998 data-heading="true" 10999 > 11000 <a 11001 class="css-1y48vg3" 11002 href="#pedometerresult" 11003 > 11004 <span 11005 class="css-s3qkfm" 11006 id="pedometerresult" 11007 /> 11008 <span 11009 class="css-6n7j50" 11010 > 11011 <code 11012 class="css-4xa05b-TextComponent" 11013 data-text="true" 11014 > 11015 PedometerResult 11016 </code> 11017 </span> 11018 <span 11019 class="css-1eysgws" 11020 > 11021 <svg 11022 aria-label="permalink" 11023 class="anchor-icon" 11024 fill="none" 11025 height="24" 11026 viewBox="0 0 24 24" 11027 width="24" 11028 xmlns="http://www.w3.org/2000/svg" 11029 > 11030 <path 11031 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11032 stroke="#9B9B9B" 11033 stroke-linecap="round" 11034 stroke-linejoin="round" 11035 stroke-width="2" 11036 /> 11037 <path 11038 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11039 stroke="#9B9B9B" 11040 stroke-linecap="round" 11041 stroke-linejoin="round" 11042 stroke-width="2" 11043 /> 11044 </svg> 11045 </span> 11046 </a> 11047 </h3> 11048 <div 11049 class="css-1uyflf8-Table" 11050 > 11051 <table 11052 class="css-q84cm9-Table" 11053 > 11054 <thead 11055 class="css-1hxdjqf-TableHead" 11056 > 11057 <tr 11058 class="css-190f936-Row" 11059 > 11060 <th 11061 class="css-1uwgm7m-HeaderCell" 11062 > 11063 Name 11064 </th> 11065 <th 11066 class="css-1uwgm7m-HeaderCell" 11067 > 11068 Type 11069 </th> 11070 <th 11071 class="css-1uwgm7m-HeaderCell" 11072 > 11073 Description 11074 </th> 11075 </tr> 11076 </thead> 11077 <tbody> 11078 <tr 11079 class="css-190f936-Row" 11080 > 11081 <td 11082 class="css-18p3734-Cell" 11083 > 11084 <strong 11085 class="css-bvflvn-TextComponent" 11086 > 11087 steps 11088 </strong> 11089 </td> 11090 <td 11091 class="css-18p3734-Cell" 11092 > 11093 <code 11094 class="css-4xa05b-TextComponent" 11095 data-text="true" 11096 > 11097 number 11098 </code> 11099 </td> 11100 <td 11101 class="css-18p3734-Cell" 11102 > 11103 <p 11104 class="css-hnkmoy-TextComponent" 11105 data-text="true" 11106 > 11107 Number of steps taken between the given dates. 11108 </p> 11109 </td> 11110 </tr> 11111 </tbody> 11112 </table> 11113 </div> 11114 </div> 11115 <div 11116 class="css-1h8tzv" 11117 > 11118 <h3 11119 class=" css-6r23rc-TextComponent" 11120 data-heading="true" 11121 > 11122 <a 11123 class="css-1y48vg3" 11124 href="#pedometerupdatecallback" 11125 > 11126 <span 11127 class="css-s3qkfm" 11128 id="pedometerupdatecallback" 11129 /> 11130 <span 11131 class="css-6n7j50" 11132 > 11133 <code 11134 class="css-4xa05b-TextComponent" 11135 data-text="true" 11136 > 11137 PedometerUpdateCallback 11138 () 11139 </code> 11140 </span> 11141 <span 11142 class="css-1eysgws" 11143 > 11144 <svg 11145 aria-label="permalink" 11146 class="anchor-icon" 11147 fill="none" 11148 height="24" 11149 viewBox="0 0 24 24" 11150 width="24" 11151 xmlns="http://www.w3.org/2000/svg" 11152 > 11153 <path 11154 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11155 stroke="#9B9B9B" 11156 stroke-linecap="round" 11157 stroke-linejoin="round" 11158 stroke-width="2" 11159 /> 11160 <path 11161 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11162 stroke="#9B9B9B" 11163 stroke-linecap="round" 11164 stroke-linejoin="round" 11165 stroke-width="2" 11166 /> 11167 </svg> 11168 </span> 11169 </a> 11170 </h3> 11171 <div> 11172 <p 11173 class="css-hnkmoy-TextComponent" 11174 data-text="true" 11175 > 11176 Callback function providing event result as an argument. 11177 </p> 11178 <div 11179 class="css-1uyflf8-Table" 11180 > 11181 <table 11182 class="css-q84cm9-Table" 11183 > 11184 <thead 11185 class="css-1hxdjqf-TableHead" 11186 > 11187 <tr 11188 class="css-190f936-Row" 11189 > 11190 <th 11191 class="css-1uwgm7m-HeaderCell" 11192 > 11193 Name 11194 </th> 11195 <th 11196 class="css-1uwgm7m-HeaderCell" 11197 > 11198 Type 11199 </th> 11200 <th 11201 class="css-1uwgm7m-HeaderCell" 11202 > 11203 Description 11204 </th> 11205 </tr> 11206 </thead> 11207 <tbody> 11208 <tr 11209 class="css-190f936-Row" 11210 > 11211 <td 11212 class="css-zstkv9-Cell" 11213 > 11214 <strong 11215 class="css-bvflvn-TextComponent" 11216 > 11217 result 11218 </strong> 11219 </td> 11220 <td 11221 class="css-zstkv9-Cell" 11222 > 11223 <code 11224 class="css-4xa05b-TextComponent" 11225 data-text="true" 11226 > 11227 <a 11228 class="css-1na8e0o-A" 11229 href="#pedometerresult" 11230 > 11231 PedometerResult 11232 </a> 11233 </code> 11234 </td> 11235 <td 11236 class="css-zstkv9-Cell" 11237 > 11238 - 11239 </td> 11240 </tr> 11241 </tbody> 11242 </table> 11243 </div> 11244 </div> 11245 </div> 11246 <div 11247 class="css-1h8tzv" 11248 > 11249 <h3 11250 class=" css-6r23rc-TextComponent" 11251 data-heading="true" 11252 > 11253 <a 11254 class="css-1y48vg3" 11255 href="#permissionexpiration" 11256 > 11257 <span 11258 class="css-s3qkfm" 11259 id="permissionexpiration" 11260 /> 11261 <span 11262 class="css-6n7j50" 11263 > 11264 <code 11265 class="css-4xa05b-TextComponent" 11266 data-text="true" 11267 > 11268 PermissionExpiration 11269 </code> 11270 </span> 11271 <span 11272 class="css-1eysgws" 11273 > 11274 <svg 11275 aria-label="permalink" 11276 class="anchor-icon" 11277 fill="none" 11278 height="24" 11279 viewBox="0 0 24 24" 11280 width="24" 11281 xmlns="http://www.w3.org/2000/svg" 11282 > 11283 <path 11284 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11285 stroke="#9B9B9B" 11286 stroke-linecap="round" 11287 stroke-linejoin="round" 11288 stroke-width="2" 11289 /> 11290 <path 11291 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11292 stroke="#9B9B9B" 11293 stroke-linecap="round" 11294 stroke-linejoin="round" 11295 stroke-width="2" 11296 /> 11297 </svg> 11298 </span> 11299 </a> 11300 </h3> 11301 <p 11302 class="css-hnkmoy-TextComponent" 11303 data-text="true" 11304 > 11305 Permission expiration time. Currently, all permissions are granted permanently. 11306 </p> 11307 <p 11308 class="css-1kfqm4n-TextComponent" 11309 data-text="true" 11310 > 11311 Acceptable values are: 11312 11313 <span> 11314 <code 11315 class="css-4xa05b-TextComponent" 11316 data-text="true" 11317 > 11318 'never' 11319 </code> 11320 , 11321 </span> 11322 <span> 11323 <code 11324 class="css-4xa05b-TextComponent" 11325 data-text="true" 11326 > 11327 number 11328 </code> 11329 . 11330 </span> 11331 </p> 11332 </div> 11333 <div 11334 class="css-1h8tzv" 11335 > 11336 <h3 11337 class=" css-6r23rc-TextComponent" 11338 data-heading="true" 11339 > 11340 <a 11341 class="css-1y48vg3" 11342 href="#subscription" 11343 > 11344 <span 11345 class="css-s3qkfm" 11346 id="subscription" 11347 /> 11348 <span 11349 class="css-6n7j50" 11350 > 11351 <code 11352 class="css-4xa05b-TextComponent" 11353 data-text="true" 11354 > 11355 Subscription 11356 </code> 11357 </span> 11358 <span 11359 class="css-1eysgws" 11360 > 11361 <svg 11362 aria-label="permalink" 11363 class="anchor-icon" 11364 fill="none" 11365 height="24" 11366 viewBox="0 0 24 24" 11367 width="24" 11368 xmlns="http://www.w3.org/2000/svg" 11369 > 11370 <path 11371 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11372 stroke="#9B9B9B" 11373 stroke-linecap="round" 11374 stroke-linejoin="round" 11375 stroke-width="2" 11376 /> 11377 <path 11378 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11379 stroke="#9B9B9B" 11380 stroke-linecap="round" 11381 stroke-linejoin="round" 11382 stroke-width="2" 11383 /> 11384 </svg> 11385 </span> 11386 </a> 11387 </h3> 11388 <div 11389 class="css-1uyflf8-Table" 11390 > 11391 <table 11392 class="css-q84cm9-Table" 11393 > 11394 <thead 11395 class="css-1hxdjqf-TableHead" 11396 > 11397 <tr 11398 class="css-190f936-Row" 11399 > 11400 <th 11401 class="css-1uwgm7m-HeaderCell" 11402 > 11403 Name 11404 </th> 11405 <th 11406 class="css-1uwgm7m-HeaderCell" 11407 > 11408 Type 11409 </th> 11410 <th 11411 class="css-1uwgm7m-HeaderCell" 11412 > 11413 Description 11414 </th> 11415 </tr> 11416 </thead> 11417 <tbody> 11418 <tr 11419 class="css-190f936-Row" 11420 > 11421 <td 11422 class="css-18p3734-Cell" 11423 > 11424 <strong 11425 class="css-bvflvn-TextComponent" 11426 > 11427 remove 11428 </strong> 11429 </td> 11430 <td 11431 class="css-18p3734-Cell" 11432 > 11433 <code 11434 class="css-4xa05b-TextComponent" 11435 data-text="true" 11436 > 11437 () => 11438 11439 void 11440 </code> 11441 </td> 11442 <td 11443 class="css-18p3734-Cell" 11444 > 11445 - 11446 </td> 11447 </tr> 11448 </tbody> 11449 </table> 11450 </div> 11451 </div> 11452 <h2 11453 class=" css-13x385i-TextComponent" 11454 data-heading="true" 11455 > 11456 <a 11457 class="css-1y48vg3" 11458 href="#enums" 11459 > 11460 <span 11461 class="css-s3qkfm" 11462 id="enums" 11463 /> 11464 <span 11465 class="css-6n7j50" 11466 > 11467 Enums 11468 </span> 11469 <span 11470 class="css-1eysgws" 11471 > 11472 <svg 11473 aria-label="permalink" 11474 class="anchor-icon" 11475 fill="none" 11476 height="24" 11477 viewBox="0 0 24 24" 11478 width="24" 11479 xmlns="http://www.w3.org/2000/svg" 11480 > 11481 <path 11482 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11483 stroke="#9B9B9B" 11484 stroke-linecap="round" 11485 stroke-linejoin="round" 11486 stroke-width="2" 11487 /> 11488 <path 11489 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11490 stroke="#9B9B9B" 11491 stroke-linecap="round" 11492 stroke-linejoin="round" 11493 stroke-width="2" 11494 /> 11495 </svg> 11496 </span> 11497 </a> 11498 </h2> 11499 <div 11500 class="css-1kkk53e" 11501 > 11502 <h3 11503 class=" css-6r23rc-TextComponent" 11504 data-heading="true" 11505 > 11506 <a 11507 class="css-1y48vg3" 11508 href="#permissionstatus" 11509 > 11510 <span 11511 class="css-s3qkfm" 11512 id="permissionstatus" 11513 /> 11514 <span 11515 class="css-6n7j50" 11516 > 11517 <code 11518 class="css-4xa05b-TextComponent" 11519 data-text="true" 11520 > 11521 PermissionStatus 11522 </code> 11523 </span> 11524 <span 11525 class="css-1eysgws" 11526 > 11527 <svg 11528 aria-label="permalink" 11529 class="anchor-icon" 11530 fill="none" 11531 height="24" 11532 viewBox="0 0 24 24" 11533 width="24" 11534 xmlns="http://www.w3.org/2000/svg" 11535 > 11536 <path 11537 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11538 stroke="#9B9B9B" 11539 stroke-linecap="round" 11540 stroke-linejoin="round" 11541 stroke-width="2" 11542 /> 11543 <path 11544 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11545 stroke="#9B9B9B" 11546 stroke-linecap="round" 11547 stroke-linejoin="round" 11548 stroke-width="2" 11549 /> 11550 </svg> 11551 </span> 11552 </a> 11553 </h3> 11554 <div 11555 class="css-c22nmz" 11556 > 11557 <h4 11558 class=" css-1gu5rqd-TextComponent" 11559 data-heading="true" 11560 > 11561 <a 11562 class="css-1y48vg3" 11563 href="#denied" 11564 > 11565 <span 11566 class="css-s3qkfm" 11567 id="denied" 11568 /> 11569 <span 11570 class="css-6n7j50" 11571 > 11572 <code 11573 class="css-4xa05b-TextComponent" 11574 data-text="true" 11575 > 11576 DENIED 11577 </code> 11578 </span> 11579 <span 11580 class="css-1eysgws" 11581 > 11582 <svg 11583 aria-label="permalink" 11584 class="anchor-icon" 11585 fill="none" 11586 height="24" 11587 viewBox="0 0 24 24" 11588 width="24" 11589 xmlns="http://www.w3.org/2000/svg" 11590 > 11591 <path 11592 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11593 stroke="#9B9B9B" 11594 stroke-linecap="round" 11595 stroke-linejoin="round" 11596 stroke-width="2" 11597 /> 11598 <path 11599 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11600 stroke="#9B9B9B" 11601 stroke-linecap="round" 11602 stroke-linejoin="round" 11603 stroke-width="2" 11604 /> 11605 </svg> 11606 </span> 11607 </a> 11608 </h4> 11609 <code 11610 class="css-1s1f2t0-TextComponent" 11611 data-text="true" 11612 > 11613 PermissionStatus.DENIED = "denied" 11614 </code> 11615 <p 11616 class="css-hnkmoy-TextComponent" 11617 data-text="true" 11618 > 11619 User has denied the permission. 11620 </p> 11621 </div> 11622 <div 11623 class="css-c22nmz" 11624 > 11625 <h4 11626 class=" css-1gu5rqd-TextComponent" 11627 data-heading="true" 11628 > 11629 <a 11630 class="css-1y48vg3" 11631 href="#granted" 11632 > 11633 <span 11634 class="css-s3qkfm" 11635 id="granted" 11636 /> 11637 <span 11638 class="css-6n7j50" 11639 > 11640 <code 11641 class="css-4xa05b-TextComponent" 11642 data-text="true" 11643 > 11644 GRANTED 11645 </code> 11646 </span> 11647 <span 11648 class="css-1eysgws" 11649 > 11650 <svg 11651 aria-label="permalink" 11652 class="anchor-icon" 11653 fill="none" 11654 height="24" 11655 viewBox="0 0 24 24" 11656 width="24" 11657 xmlns="http://www.w3.org/2000/svg" 11658 > 11659 <path 11660 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11661 stroke="#9B9B9B" 11662 stroke-linecap="round" 11663 stroke-linejoin="round" 11664 stroke-width="2" 11665 /> 11666 <path 11667 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11668 stroke="#9B9B9B" 11669 stroke-linecap="round" 11670 stroke-linejoin="round" 11671 stroke-width="2" 11672 /> 11673 </svg> 11674 </span> 11675 </a> 11676 </h4> 11677 <code 11678 class="css-1s1f2t0-TextComponent" 11679 data-text="true" 11680 > 11681 PermissionStatus.GRANTED = "granted" 11682 </code> 11683 <p 11684 class="css-hnkmoy-TextComponent" 11685 data-text="true" 11686 > 11687 User has granted the permission. 11688 </p> 11689 </div> 11690 <div 11691 class="css-c22nmz" 11692 > 11693 <h4 11694 class=" css-1gu5rqd-TextComponent" 11695 data-heading="true" 11696 > 11697 <a 11698 class="css-1y48vg3" 11699 href="#undetermined" 11700 > 11701 <span 11702 class="css-s3qkfm" 11703 id="undetermined" 11704 /> 11705 <span 11706 class="css-6n7j50" 11707 > 11708 <code 11709 class="css-4xa05b-TextComponent" 11710 data-text="true" 11711 > 11712 UNDETERMINED 11713 </code> 11714 </span> 11715 <span 11716 class="css-1eysgws" 11717 > 11718 <svg 11719 aria-label="permalink" 11720 class="anchor-icon" 11721 fill="none" 11722 height="24" 11723 viewBox="0 0 24 24" 11724 width="24" 11725 xmlns="http://www.w3.org/2000/svg" 11726 > 11727 <path 11728 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11729 stroke="#9B9B9B" 11730 stroke-linecap="round" 11731 stroke-linejoin="round" 11732 stroke-width="2" 11733 /> 11734 <path 11735 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11736 stroke="#9B9B9B" 11737 stroke-linecap="round" 11738 stroke-linejoin="round" 11739 stroke-width="2" 11740 /> 11741 </svg> 11742 </span> 11743 </a> 11744 </h4> 11745 <code 11746 class="css-1s1f2t0-TextComponent" 11747 data-text="true" 11748 > 11749 PermissionStatus.UNDETERMINED = "undetermined" 11750 </code> 11751 <p 11752 class="css-hnkmoy-TextComponent" 11753 data-text="true" 11754 > 11755 User hasn't granted or denied the permission yet. 11756 </p> 11757 </div> 11758 </div> 11759</div> 11760`; 11761 11762exports[`APISection no data 1`] = ` 11763<div> 11764 <p 11765 class="css-1kfqm4n-TextComponent" 11766 data-text="true" 11767 > 11768 No API data file found, sorry! 11769 </p> 11770</div> 11771`; 11772