Skip to content

Commit

Permalink
fix(auth): social sign-in can block touch input (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamann authored Apr 6, 2023
1 parent d7c3d3c commit 50d132b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<key>Rownd.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>22</integer>
<integer>11</integer>
</dict>
<key>RowndFrameworkTestApp.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>23</integer>
<integer>10</integer>
</dict>
<key>RowndTests.xcscheme_^#shared#^_</key>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Rownd/Models/AppleSignUpCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class AppleSignUpCoordinator: NSObject, ASAuthorizationControllerDelegate, ASAut
}
}

Rownd.requestSignIn(jsFnOptions: RowndSignInJsOptions(loginStep: RowndSignInLoginStep.Success,intent: self.intent, userType: tokenResponse?.userType))
// Rownd.requestSignIn(jsFnOptions: RowndSignInJsOptions(loginStep: RowndSignInLoginStep.Success,intent: self.intent, userType: tokenResponse?.userType))
})
}
}
Expand Down
14 changes: 7 additions & 7 deletions Sources/Rownd/Rownd.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ public class Rownd: NSObject {
store.dispatch(UserData.fetch())
store.dispatch(SetLastSignInMethod(payload: SignInMethodTypes.google))

requestSignIn(
jsFnOptions: RowndSignInJsOptions(
loginStep: RowndSignInLoginStep.Success,
intent: signInOptions?.intent,
userType: tokenResponse?.userType
)
)
// requestSignIn(
// jsFnOptions: RowndSignInJsOptions(
// loginStep: RowndSignInLoginStep.Success,
// intent: signInOptions?.intent,
// userType: tokenResponse?.userType
// )
// )
}
}
}
Expand Down

0 comments on commit 50d132b

Please sign in to comment.