Contribute to waffs702/mvz_plugins development by creating an account on GitHub.
github.com
-MZxNativeCore.js
-MVxNativeInterstitialAd.js
Install the plugins.
Go to the common events of your project.
You can optionally add two messages to check if the ads work if simply creating the common events without instructions is not enough.
Create an event and add the following statement: MVxNativeInterstitialAd X Y, X = Common event for success and Y = Common event for failure.
Deploy your project.
Go to the mv_to_android-master folder, open app folder and create a folder called htmlSource.
Move the files from your game's www folder to the htmlSource folder.
Open mv_to_android-master in Android Studio.
Use the view in "project" and go to app\src\main\res\values\strings.xml
Inside string.xml you will find:
The name of your game: <string name="app_name">game name</string>
The id of your application in admob: <string name="ad_application_id">id app</string>
The id of your ads: <string name="ad_rewarded_unit_id">id rewarded ad</string>
<string name="ad_interstitial_id">id insterstitial ad</string>