Created
April 9, 2021 08:25
-
-
Save zendevil/86ed457dea608d3a2c5cde04b40b4b8f to your computer and use it in GitHub Desktop.
cljs 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(reg-fx | |
:apple-signin-fx | |
(fn [navigation] | |
(go (let [appleAuthRequestResponse | |
(<p! (.performRequest appleAuth | |
#js {:requestedOperation (.. appleAuth -Operation -LOGIN) | |
:requestedScopes [(.. appleAuth -Scope -Email) | |
(.. appleAuth -Scope -FULL_NAME)]}))])))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment