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