Difference between revisions of "Fruit Swipe Match 3 Kit Monetization"
(→Unity IAP) |
|||
Line 58: | Line 58: | ||
* Make sure that the key is pasted and active in Services tab -> InApp. | * Make sure that the key is pasted and active in Services tab -> InApp. | ||
* Go to Purchasing -> Options (if not, paste it there also and press the button). | * Go to Purchasing -> Options (if not, paste it there also and press the button). | ||
+ | |||
+ | Please note that, in order to be able to test in-app purchases on Android, you will need to upload your .APK to Google Play (for example, to the closed alpha channel) and test on your mobile phone. A direct build from Unity will not work. | ||
|} | |} |
Revision as of 01:56, 26 November 2020
Unity AdsThe kit provides a rewarded ad button in the level scene that allows the player to earn some extra coins after completely watching an ad provided by Unity Ads. Please make sure to become familiar with how Unity Ads works by reading this guide first. There are several settings related to Unity Ads that you can tweak from the Fruit Swipe Match 3 Kit editor (Window/Fruit Swipe Match 3 Kit/Editor). Go to the Game settings tab and open the Monetization sub-tab. In the Rewarded ad section you can find the following settings:
Unity IAPThe kit provides a coins shop with in-app purchasable packs of coins using Unity IAP. In order to enable Unity IAP in your project, please follow this guide. These are the main steps you need to perform:
The Store id needs to be exactly the same identifier you use in your store (App Store, Google Play, etc.), while the rest of the fields are only visual. Please note you will need to have previously defined your available in-app purchasable items in the store/s of your choice (for more details, please follow this guide). IMPORTANT: Even if the latest versions of Unity provide a built-in IAP package, you still need to perform the previous configuration manually. You can read more about why this is needed here. Also, and specifically for Android, you can track verified transactions in Unity Analytics by performing the following steps:
Please note that, in order to be able to test in-app purchases on Android, you will need to upload your .APK to Google Play (for example, to the closed alpha channel) and test on your mobile phone. A direct build from Unity will not work. |