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