Skip to content

Instantly share code, notes, and snippets.

@zendevil
Created April 9, 2021 08:25
Show Gist options
  • Save zendevil/86ed457dea608d3a2c5cde04b40b4b8f to your computer and use it in GitHub Desktop.
Save zendevil/86ed457dea608d3a2c5cde04b40b4b8f to your computer and use it in GitHub Desktop.
cljs 2
(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