Pre-Register Playstore Rewards

Hey,
So I just published my game on Playstore for Pre-Register and also set up a reward in the Developer console that will be delivered to players as soon as I publish the game.
The problem is that I can’t find a way to implement this function iside of Unity. Google says that it has a similar implementation as promotions with promo codes!
Below I have a screenshot from the Google Billing Promo Support. How can I have access to this functions inside of Unity?
I should also mention that I already use IAP in this game that work but without having a product catalog in Unity, just a script that handles the purchase and buttons that call functions inside of the script.
Exactly like this Tutorial: Unity IAP - Unity Learn

Now I really need to know how to handle the Pre-Register rewards!
Thanks for your help,
SAVVU

Do you have the product to be delivered to the player configured as an In App Purchase product on Google Play? You need to have IAP completely configured as described here Unity - Manual: Configuring for Google Play Store

Any update on this?, I tried to search Unity play store pre-register reward tutorial but found nothing.

Pre-register link: Build awareness for your apps with pre-registration - Play Console Help

We do not have a tutorial on pre-registration. My understanding is that after the IAP is initialized, the IAP will get the products owned by the user, and you should grant it to the user in ProcessPurchase. https://docs.unity3d.com/Manual/UnityIAPProcessingPurchases.html

1 Like

Thank you @SamOYUnity3D !

If it’s automaticly send that callback then I just catch that callbacks.

Yes, you may also need to define the Products in scripts. https://docs.unity3d.com/Manual/UnityIAPDefiningProducts.html

using UnityEngine;
using UnityEngine.Purchasing;

public class MyIAPManager {
    public MyIAPManager () {
        var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());
        builder.AddProduct("100_gold_coins", ProductType.Consumable, new IDs
        {
            {"100_gold_coins_google", GooglePlay.Name},
            {"100_gold_coins_mac", MacAppStore.Name}
        });
        // Initialize Unity IAP...
    }
}
1 Like

Yep already defined. Thank you a lot!

1 Like

How do I implement the reward?

Handle it like In-App-Purchase. Just think about pre-register is automatic IAP that will give to you when IAP is initalized.