Hi,
How can I use a certain plugin twice (my case = MobileAdvert).
My purpose is that if I get banned from Google, I can change to another Admob IDs
Br,
You can't add this plugin twice. You'll need to release a new version of the app with a different Admob ID.
Develop games in your browser. Powerful, performant & highly capable.
Yep, I see! I want to learn a technique that can use to use the plugin twice such as MobileAdvert1, MobileAdvert2 or at least we can change App-ID in runtime via events...
I believe App ID needs to be declared in android manifest. Therefore it's not possible to have two App IDs, or to change it with events.
Because we can set up app-id in Properties, so I think we can change somehow. Some plugin such as Photon (Master Collection of Chadori) we can change app-id.
Like I said, Admob App ID needs to be in android manifest. You can't change it in runtime.
Is there any technique that we can duplicate the Plugin (MobileAdvert) by changing its code (JavaScript variable/Class...)?
This won't help! Because there can be only one record for App ID in the manifest.
Okie, I see. Thank you!