capacitor-firebase: bug: Getting addListener to fire on IOS
Plugin(s): Capacitor Firebase Authentication
Platform(s): IOS fails but web works fine
Current behavior: When I use this plugin and console log results, the web version works fine. When I attempt to use the similar logging for Native Platform (Confirming that the Native code is working) trying the addListener command in several locations (see Github Repo) on the IOS logging does not seem to be firing
Expected behavior: What I am wanting to achive is to get Firebase Custom Claims and report them (and then perform access actions based on those claims)
Steps to reproduce: See Git Repo - comment with logic with various positions of the addListener
Related code: https://github.com/sclawer/MobileApp
Other information:
Capacitor doctor:
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 3.4.3
@capacitor/core: 3.4.3
@capacitor/android: 3.4.3
@capacitor/ios: 3.4.3
Installed Dependencies:
@capacitor/cli: 3.4.3
@capacitor/core: 3.4.3
@capacitor/android: 3.4.3
@capacitor/ios: 3.4.3
[success] iOS looking great! 👌
[success] Android looking great! 👌
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (10 by maintainers)
@JuliusJacobitz Your problem should be another one. Please have a look at this two comments: https://github.com/robingenz/capacitor-firebase-authentication/issues/78#issuecomment-924055336 and https://github.com/robingenz/capacitor-firebase/issues/39#issuecomment-1078402815. If this does not help you, please create a new issue.