Firebase inside a Webview #6988
Unanswered
sutsurikeru1986
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if this has been asked before, but I couldn't find any reference to Firebase inside a React Native Webview.
We have a native iOS and Android app but are migrating to React Native for both of them. This firebase package has been excellent for everything Firebase related, but the question is supporting Firebase events inside the webview.
There is a guide by Firebase themself (https://firebase.google.com/docs/analytics/webview?platform=ios) that showcases how to do it natively, but has no supporting implementation for React Native. Has anyone had experience on exposing the two key events - logEvent and setUserProperty availability in a webview?
My original thought was to use a post message event from web to react native and pass in the params into the RN versions of logEvent and setUserProperty.
Beta Was this translation helpful? Give feedback.
All reactions