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