Recently I updated android 9 to android 10 but unfortunately, the app sometimes crashes and gives this error.
com.fgapps.maker E/chromium: [ERROR:cookie_manager.cc(137)] Strict Secure Cookie policy does not
allow setting a secure cookie for http://googleads.g.doubleclick.net/ for apps targeting >= R.
Please either use the 'https:' scheme for this URL or omit the 'Secure' directive in the cookie value.
I tried using this in manifiest
<application
android:hardwareAccelerated="false"
android:networkSecurityConfig="@xml/network_security_config"
android:usesCleartextTraffic="true"
....>
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
I also added build-gradle (app)
android {
useLibrary 'org.apache.http.legacy'
...}
and also AdMob rejects my app due to Site Behavior: Navigation
violation even I checked all links working properly, so How to resolve this issue. thanks
Three of my friends resolved errors by following these steps.
Just request to google this is an error sometimes google fixes this issue without changes in the app.
If not fix from step-1 then it maybe needs to remove ads from MainActivity, especially Interstitial ad.
and also check the app for unlink remote resources.
I had same issue. my banner ads cover or overlap the contents of the app. After fixing the banner ads published my app again and issue resolved. So in my opinion check your banner ads and also check any direct link that leads to another app or webpage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With