-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ad_impression event needs to be removed from reserved events list #6307
Comments
Interesting! We have a couple other carve-outs (items from the reserved list https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event) that we pass and despite being reserved, they do work for various reasons. Can you verify for me that when you reach into node_modules and comment that line out, you are able to log things as you need according to the link you included? https://firebase.google.com/docs/analytics/measure-ad-revenue#unity_1 |
Yip It works. I have ad_impression events in a firebase console and "Publisher ad impressions |
Fantastic - thanks for verifying - looks like we have another carve-out then :-) I have quite a few react-native-firebase environments but each of them has a separate sizable chunk of work unpacked in them and in progress so it might be a little bit before I get to this. If you want to cut that time down and get this changed+released now, you could do a PR that comments that out with a comment next to it saying "manual tracking on this reserved word is allowed #6307" as a helper for any curious future code explorers. Otherwise I'll make the change it just might take a bit. Thanks! |
Issue
Currently ad_impression event is reserved so when an app tries to log it RNFirebase throws an exception.
But according to Google docs it is possible to track impression level manually for non-google monetization platforms
The following line needs to be removed
Project Files
Javascript
Click To Expand
package.json
:# N/A
firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:e.g. 5.4.3
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?Y/N
&VERSION
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: