capacitor-firebase icon indicating copy to clipboard operation
capacitor-firebase copied to clipboard

feat: keep existing users signed in when moving to native SDK

Open DontGiveAFck opened this issue 5 months ago • 1 comments

Plugin(s)

  • [ ] Analytics
  • [ ] App
  • [ ] App Check
  • [X] Authentication
  • [ ] Crashlytics
  • [ ] Cloud Firestore
  • [ ] Cloud Functions
  • [ ] Cloud Messaging
  • [ ] Cloud Storage
  • [ ] Performance
  • [ ] Remote Config

Current problem

Users that were signed in with js sdk in old app version should be kept signed in in new app version that uses native sdk.

Preferred solution

Not sure what exactly should be implemented, maybe signInWithCredential method should help - so we can get token id with js sdk and use it to login with newly implemented signInWithCredential in native sdk

Alternative options

No response

Additional context

No response

Before submitting

  • [X] I have read and followed the feature request guidelines.
  • [X] I have attached links to possibly related issues and discussions.

DontGiveAFck avatar Sep 10 '24 08:09 DontGiveAFck