cordova-plugin-googleplus icon indicating copy to clipboard operation
cordova-plugin-googleplus copied to clipboard

added fallback/workaround for unexplained crashes in Firebase console

Open alexp25 opened this issue 5 years ago • 3 comments
trafficstars

Fallback/workaround for crashes encountered in Firebase Crashlytics from real users, unable to reproduce on device. Use safeMode option to enable when calling login(options). Now the app won't crash anymore (with this flag enabled) and will just do nothing if the error is encountered (should handle this case with e.g. timeout after app resumes from background in Cordova app). Addressing issues 634, 358, 440, 531 and possibly many more.

alexp25 avatar Sep 13 '20 10:09 alexp25

Hi @alexp25 & @EddyVerbruggen any update on this? We are facing the similar issue. App is getting crashed at nl.xservices.plugins.GooglePlus.handleSignInResult.

bhaskar-se avatar Jan 24 '22 12:01 bhaskar-se

@bhaskar-se did you pass safeMode: true option on login(options)? That should prevent unexplained crashes (and the app should just do nothing instead). Also, this workaround was not yet merged, so you may use my fork instead, and see if it fixes the problem.

alexp25 avatar Jan 25 '22 08:01 alexp25

hi @EddyVerbruggen any update on this PR or the fix?

bhaskar-se avatar Aug 10 '22 06:08 bhaskar-se