How can we help?

Configuring Marketplace Connect (SVOD) on Android Mobile Follow

 

This guide acts as complementary documentation to Creating an Android App with our App Template. The purpose of this article is to guide Zype users through configuring Marketplace Connect in the Android mobile template. This article covers updating the Android mobile template in Android Studio, setting up in-app purchases in the Android marketplace, and testing the Android mobile app prior to public release.

Note: This article covers subscription purchases only.

Summary

  1. Unlock Marketplace Connect
  2. Update app in Android Studio
  3. Set up Privacy Policy and Terms of Service links
  4. Configure In-App Products on Google Play Console
  5. Configure In-App Products on Zype Admin
  6. Authenticate your app for Zype Marketplace Connect
  7. Provisioning the Webhook
  8. Test In-App Products

If you have not already done so, please contact Zype to unlock Marketplace Connect. You can do so with the Contact Zype to learn more button under the Marketplace Connect Setup tab under any subscription plan on the Zype platform.

  • You can access a plan under Make Money -> Subscription Plans

marketplace-connect-2.png

 

Update app in Android Studio

Select the following boolean values under the Monetization section of your ZypeSettings.java file:

// Monetization
public static final boolean NATIVE_SUBSCRIPTION_ENABLED = Boolean.valueOf(“false”);
public static final boolean NATIVE_TO_UNIVERSAL_SUBSCRIPTION_ENABLED = Boolean.valueOf("true");
public static final String[] PLAN_IDS = new String[] { “plan_id_1”, “plan_id2”, … };
public static final boolean SUBSCRIBE_TO_WATCH_AD_FREE_ENABLED = Boolean.valueOf("false");
public static final boolean UNIVERSAL_SUBSCRIPTION_ENABLED = Boolean.valueOf(“false”);
public static final boolean UNIVERSAL_TVOD = Boolean.valueOf("false");

*Make sure you fill in the PLAN_IDS above with the corresponding Subscription Plans' IDs found in your Zype Account on Make Money > Subscription Plans. You will find the relevant ID by scrolling down to the bottom of the page after selecting the plan.

Zype___Plan__Monthly_Plan.jpg

 

You'll want to make sure your Privacy Policy and Terms of Service links are accessible in the apps prior to submitting an app with in-app products. If you have not already configured these for another app, you will need to do the following on the Zype platform:

1. Create a "content" Zobject Type. The Zobject Type should have a title of "content" and a custom attribute of "link" with the String type

ios-privacy-policy-1.png

2. After creating the "content" Zobject Type, create "content" Zobjects for privacy_policy_url and a terms_of_service_url. The titles are case sensitive and the links should be links to your privacy policy and terms of service on your website. The links appear on the IAP selection screen and will redirect the user to these links when clicked.

ios-privacy-policy-2.png

 

Configure In-App Products on Google Play Console

1. Go to your Play Console.

2. Select your app.

3. Select Store presence > In-app products > Subscriptions > Create Subscription.

In-app_products_-_Intergalactic_Sports_Network_-_Google_Play_Console.jpg

4. Enter required details (matching your Zype plans settings) and set to ACTIVE.

2019-01-31_09-59-49.png

 

Configure In-App Products on Zype Admin

1. Go to Zype plans.

2. Click on your plan name or the gear icon and navigate to Marketplace Connect Setup tab at the top. Locate the table next to Marketplace IDs, select googleplay Marketplace and enter the Product Identifier. You will need to follow these steps for each of your plans.

2019-01-31_09-24-35.png

2019-01-31_09-33-48.png

 

Authenticate your app for Zype Marketplace Connect

After covering the steps to set up your IAPs above, you need to send Zype your app public key to authenticate the app for the Zype Marketplace Connect service. This step is mandatory, as finalizing your marketplace connect authentication requires action on the Zype side.

1. Go to Google Play console.

2. Select your app.

3. Select Development Tools > Services & APIs

4. You will see the key in the section Licensing & in-app billing.

5. Copy the code and send it to support@zype.com with Subject: Google Public Key.

 

Provisioning the Webhook

Once we get your Public Key, we will reply to the ticket you previously sent with your webhook. You will need to add this to your Google Play console as instructed below.

1. Go to Google Play console.

2. Select your app.

3. Select Development Tools > Services & APIs

4. Scroll down to Real-time developer notifications and paste the following Topic name: projects/zypeconnect/topics/your-zype-account-name

5. Click SAVE.

Services___APIs_-_Intergalactic_Sports_Network_-_Google_Play_Console.jpg

 

Test In-App Products

Upload your APK under the Internal Test Track which will allow you to test the app as a beta tester and Promote the app to Production once you feel the app is ready to go live.

1. Go to your Play Console.

2. Select your app.

3. Select Release management > App releases.

4. Scroll down to Internal test track and click on MANAGE.

App_releases_-_Zype_Android_Demo_-_Google_Play_Console.jpg

5. Click on CREATE RELEASE, add the APK and SAVE.

App_releases_-_Zype_Android_Demo_-_Google_Play_Console.jpg

App_releases_-_Zype_Android_Demo_-_Google_Play_Console.jpg

6. Back on the Internal Test track, create a testers list by clicking on CREATE LIST. Choose a Title and add your Google Play Store account as a beta tester (you can add more beta testers to the list as well) and SAVE it.

7. Back on the Users section, check the box next to the list you want to use.

8. You will find the Opt-in URL at the bottom that you can share with the testers.

App_releases_-_Zype_Android_Demo_-_Google_Play_Console.jpg

App_releases_-_Zype_Android_Demo_-_Google_Play_Console.jpg

 

Comments

Article is closed for comments.