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