bug: Getting addListener to fire on IOS
See original GitHub issuePlugin(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! 👌
Issue Analytics
- State:
- Created a year ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
Window.click event does not fire on IOS safari - JavaScript only
' Switch the listener from 'window' to 'body' fixed the issue in Safari. Good listener document.querySelector('body').addEventListener('click', ...
Read more >bug: capacitor network plugin doesn't fire an event after going ...
On my case is iOS broken. The native CAPLog prints all network state changes correct! But the events are not broadcasting to the...
Read more >DOMContentLoaded not working in Safari App Extension
Hey everyone! I have figured out a work-around to the issue. It appears that a lot of the time, the DOMContentLoaded event would...
Read more >Simple Click Events | Maps JavaScript API - Google Developers
This example demonstrates the use of event listeners. It. listens for the click event on a marker to zoom the map when the...
Read more >deviceready - Apache Cordova
Once the event fires, you can safely make calls to Cordova APIs. Applications typically attach an event listener with document.addEventListener once the HTML ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
It looks like there hasn’t been a reply in 30 days, so I’m closing this issue.