Comments (9)
@joonhocho the core of the issue is, is that:
await signOutPromise()
never resolves on iOS. the onDisconnect / onDisconnectError handlers are never called.
Do you have a suggested fix?
from react-native-google-sign-in.
I've experienced this too. My UI hangs on awating the Promise to resolve. Tapping the button again signs the user out
from react-native-google-sign-in.
same problem,
thanks @YousefED for quick-fix
from react-native-google-sign-in.
@joonhocho what's your view on this?
from react-native-google-sign-in.
@YousefED If you remove async, are you saying it will raise disconnect event and thus resolved?
from react-native-google-sign-in.
@joonhocho honestly this is a while ago, I see we also made the following change to resolve this issue: YousefED@8227feb. Don't remember 100% but looks related :)
from react-native-google-sign-in.
experiencing the same issue, signOutPromise never resolve (nor reject)
from react-native-google-sign-in.
@YousefED @jasonnathan @frozenxis @RalfNieuwenhuizen @calcal12
This issue has been fixed with new version.
Just upgraded to the latest Google SignIn SDK for iOS. (npm version 1.0.16)
Please follow new instructions carefully.
https://github.com/joonhocho/react-native-google-sign-in#ios
Also refer to ExampleApp if something is not working. I've tested ExampleApp and is working fine.
Feel free to reopen this issue if you cannot get it working.
from react-native-google-sign-in.
FYI, signout
should never call 'disconnect' events. disconnect
should raise disconnect
events. I fixed it accordingly.
from react-native-google-sign-in.
Related Issues (20)
- Google+ Shutdown HOT 1
- Failed to compile release APK react native 0.60.3
- Apple Mach-O Linker (id) Error
- Must I use firebase? HOT 2
- Doesn't stay signed in when restarting app HOT 1
- Error code 8 with new account sign in HOT 5
- How to render "GoogleSignIn" Button? HOT 1
- "disconnect()" is not revoking the authentication.
- Project obsolete? HOT 4
- Setup Swift Bridging Header link not working HOT 1
- ld: library not found for -lDoubleConversion
- RNGoogleSignInEvents.swift:11:29: Use of undeclared type 'RCTEventEmitter' HOT 1
- Warning Issues for RNGoogleSignInEvents and RNGoogleSignIn HOT 5
- FAILURE: Build failed with an exception. Could not find com.google.android.gms:play-services-base:12.0.1 HOT 1
- i love you
- ld: library not found for -lRNGoogleSignin HOT 2
- Project with path ':react-native-google-sign-in' could not be found in project ':app'. HOT 1
- The operation couldn’t be completed. (com.google.HTTPStatus error 400.) HOT 1
- Issue with RN v0.57.0
- error reactNativeGoogleSignin currenntUserAsync is not function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-google-sign-in.