Open LukasMod opened 1 month ago
For error 3 you can do some investigation / logging in: https://github.com/invertase/react-native-google-mobile-ads/blob/main/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsConsentModule.java#L114
For the others I think you could simulate a bad network connection in Android Studio. You can find all related code in: ReactNativeGoogleMobileAdsConsentModule.java. Could be related to the underlying SDK...
The problem is that these errors occur at the end user, so logging in my build doesn't do anything for me. I verified in Android Studio that after setting up a slow connection I get one of listed errors:
"message": "Error making request.",
"code": "consent-update-failed"
But so far I have not been able to get the others.
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
What happened?
Hey, we use this library to show the CMP consent form.
The application is production and available in stores. We just get a lot of errors and I can't find the cause, maybe someone knows what they can be caused by. Errors that result from offline mode should not be logged by us anymore, so I assume it is something else.
Errors I cant figure out (code - message), these are errors on Android:
On my test and private devices I do not have these errors, everything works properly. I see in logs that these are from different android versions from 8-14, different brands like samsung (mostly), oppo, motorola, xiaomi, huawei. Majority installed from Google Store.
Do you have any idea how to debug these errors or where they come from?
Implementation looks like that:
Platforms
Only on Android
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
No response
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response