Replies: 2 comments
-
Have you tried? In my experience the app crashes on startup if you don't put the admob id in your plist and AndroidManifest.xml, which this module will helpfully do for you if you use the firebase.json But feel free to try yourself! I've only had success using firebase.json, like so: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, will give it a shot, just wanted to know which one takes effect, but seems like this is only for the native part of the configuration and later can be overwritten. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
As we follow the documentation for AdMob usage, it says to create a firebase.json file in the root of the project and add the android and ios App IDs in that file, but when actually creating a BannerAd, the unitId is initialized from string.
My question is do we really need that file, or can we simply pass the unitId as a prop without even adding the firebase.json file, for example fetching this value from remote-config and passing it as a prop to the BannerAd component?
Beta Was this translation helpful? Give feedback.
All reactions