ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
499 stars 214 forks source link

Latest AdMob including migration to SKAdNetwork [Crucial for all to continue displaying ads] #473

Open gigafishapps opened 3 years ago

gigafishapps commented 3 years ago

Google announced it will discontinue IDFA on all iOS devices using AdMob to take full advantage of Apple's SKAdNetwrok, so iOS apps won't need to display popups.

The problem is they announced they are discontinuing IDFA with AdMob on all iOS devices, so if there will be no update, probably no ads will show.

My question is, will the latest version of the AdMob plugin be implemented so we can continue displaying any Ads on iOS?

martijnmichel commented 3 years ago

second

mattiaa95 commented 3 years ago

This may work, in the config.xml , inside <platform name="ios">

<config-file target="*-Info.plist" parent="SKAdNetworkItems"> <array> <dict> <key>SKAdNetworkIdentifier</key> <string>cstr6suwn9.skadnetwork</string> </dict> </array> </config-file>

and use 7.67 https://github.com/ratson/cordova-plugin-admob-free/issues/418#issuecomment-624599189

tell me if it works for you

gigafishapps commented 3 years ago

Thank you for your reply. It does not work for me.

I strongly suggest producing a quick noob-friendly guide on the SKAdNetwork aspect as many people may suffer because of that not even knowing.

The other solution is to drop this plugin and just generate an iOS app that serves as an HTML/Cordova wrapper and serve ads within, with the latest Google AdMob plugin.

But I guess this isn't a solution for all, as some people use Cordova because they do not use native iOS.

Nonetheless, this is a red flag issue for anyone thinking seriously about retaining their revenue stream on iOS with this plugin unless an in-house fix migrating the plugin to the latest AdMob update is produced.

martijnmichel commented 3 years ago

This may work, in the config.xml , inside <platform name="ios">

<config-file target="*-Info.plist" parent="SKAdNetworkItems"> <array> <dict> <key>SKAdNetworkIdentifier</key> <string>cstr6suwn9.skadnetwork</string> </dict> </array> </config-file>

and use 7.67 #418 (comment)

tell me if it works for you

It's been nearly a week since I've updated my app with the latest Admob SDK and I sill get the same message..

mattiaa95 commented 3 years ago

This may work, in the config.xml , inside <platform name="ios"> <config-file target="*-Info.plist" parent="SKAdNetworkItems"> <array> <dict> <key>SKAdNetworkIdentifier</key> <string>cstr6suwn9.skadnetwork</string> </dict> </array> </config-file> and use 7.67 #418 (comment) tell me if it works for you

It's been nearly a week since I've updated my app with the latest Admob SDK and I sill get the same message..

have you checked if when compiling it is added in the info.plist, I still get it too :/ . let's see if someone can solve this problem.

martijnmichel commented 3 years ago

Does anyone know a solution?

gigafishapps commented 3 years ago

Yes, there is another plugin (new version of this one): https://admob-plus.github.io/docs/cordova/ You must remove the old plugin and install this one in your app. This should take care of the problem and you will be able to start using SKAdNetwork.

proofles commented 3 years ago

any update?