Open rubel opened 3 years ago
This is a known issue and we will be releasing a new version of Admob soon. As a quick workaround, please open your manifest file and change air.com.doitflash.admob
in
<provider android:name="com.google.android.gms.ads.MobileAdsInitProvider" android:authorities="air.com.doitflash.admob.mobileadsinitprovider" android:exported="false" android:initOrder="100"/>
to your own package name. i.e air.com.popgamesstudios.wonderdragons
Added this fix,
<provider android:name="com.google.android.gms.ads.MobileAdsInitProvider" android:authorities="air.com.popgamesstudios.wonderdragons.mobileadsinitprovider" android:exported="false" android:initOrder="100"/>
STILL CRUSHING...bought these from distriqt now and they are working...bad service
Could you please post the crash logs from logcat?
@wonderdragons Let me know if you solve this. I posted about the Android crash 3 weeks ago. I have Admob and FCM (One Signal) enabled in my app too. I cannot run on Android at all. Instant crash when the app opens.
no, could not fix. They are not helpful. First we bought ane worth around $300 Then this but, they did not help, we bought anelab from them. Still no luck, and the dont help. Waited around 2 weeks, then bought from distriqt, just prepared all new codes and they working together, did not uploaded yet, created a sample app to see both work together.
So we lost $350 from myflashlabs...Bad service
@wonderdragons Sorry for the trouble you went through. We're trying to be better. @applauzmedia if you are experiencing a similar problem, could you please send the crash log from logcat?
yes it happened to us a week ago and i solved it by entirely removing that line. it works like a charm to me.
<provider android:name="com.google.android.gms.ads.MobileAdsInitProvider" android:authorities="air.com.popgamesstudios.wonderdragons.mobileadsinitprovider" android:exported="false" android:initOrder="100"/>
This is a known issue and we will be releasing a new version of Admob soon. As a quick workaround, please open your manifest file and change
air.com.doitflash.admob
in<provider android:name="com.google.android.gms.ads.MobileAdsInitProvider" android:authorities="air.com.doitflash.admob.mobileadsinitprovider" android:exported="false" android:initOrder="100"/>
to your own package name. i.e
air.com.popgamesstudios.wonderdragons
I tried this but it does not solve the crash problem. I had to remove that line itself, then app opened.
The XML from your website is different and the XML created from ANELAB is different.
WEBSITE:
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-sdk android:targetSdkVersion="28"/>
<application>
<activity>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Include the AdActivity configChanges and themes. -->
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="@android:style/Theme.Translucent" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<!-- If you are using Admob (must remove the Double-Click meta-data tag) -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713"/> <!-- Replace with your own APPLICATION_ID -->
<!-- If you are using Double-Click (must remove the Admob meta-data tag) -->
<meta-data
android:name="com.google.android.gms.ads.AD_MANAGER_APP"
android:value="true"/>
</application>
</manifest>
The below code is not present in website, but ANELAB adds it
<provider android:name="com.google.android.gms.ads.MobileAdsInitProvider" android:authorities="air.com.popgamesstudios.wonderdragons.mobileadsinitprovider" android:exported="false" android:initOrder="100"/>
Admob works without MobileAdsInitProvider ?
Ane Lab V: 3.20.0 When create a very basic project with firebase messaging/Onesignal (v10.2.1), it works fine. I tested and receive push from onesignal. When create a basic project with admob only (no firebase/fcm in it), admob works fine.
But
When add admob to the 1st project (fcm/onesignal that used to work), that crush with no reason.
How to produce the bug:
Warning: packageName com.google.android.gms.ads used by more than one ANE. Ignoring this entry NOTE: The application has been packaged with a captive runtime.
Here I am including the menifest xml file, please see the file attached. firebaseOnly-app.txt