In App Purchases Template

Company: WD The Provider - South Africa

How to Open The Project in Android Studio?

  • Open Android Studio > Press Open or Open existing Android Studio Project > Select Your Project folder
  • Press Select Project or Open

How to change the package name?

You can change it easily from Android Studio. Here are the steps:

  • In the Project pane, click on the little gear icon. Uncheck/Deselect the Compact Empty Middle Packages option.
  • Your package directory will now be broken up in individual directories.
  • Individually select each directory you want to rename, and: Right-click it, Select Refactor, Click on Rename In the Pop-up dialog.
  • Click on Rename Package instead of Rename Directory Enter the new name and hit Refactor Allow a minute to let Android Studio update all changes.
  • Now open your build.gradle (module). Update the applicationId to your Package Name and Sync Gradle, if it hasn't already been updated automatically.

Note: When renaming com in Android Studio, it might give a warning. In such case, select Rename All.


How to change app name?

  • Open Android Studio > In App Purchase App > res > values > strings.xml
  • Enter your app name inside "app_name" string tag:
    <string name="app_name">In App Purchase</string>

Where to put Admob app id?

  • Open Android Studio > app > Manifest File > Scroll Down
  • Enter your AdMob App id inside "Value" string tag:
    <android:"value">Your Admob App Id</>>

Change Admob Banner Ad Id?

  • Open Android Studio > In App Purchase App > res > values > strings.xml
  • Enter your admob ad id inside "banner_id" string tag:
    <string name="banner_id">Admob Banner Ad Id</string>

How to Create Products on Google Console Account?

  • Go to https://play.google.com/console to login to your GPC
  • Select the App, scroll on the left side menu and under monetize
  • Select In-App Purchase to create products for selling coins or remove ads.
  • Select Subscriptions for subscriptions products.

Remove Ads - Add Product ID?

  • Open Android Studio > App > activities > RemoveAdsActivity.java
  • Scroll down and look for "showProduct()" method
  • Go to .setProductId("PUT_YOUR_PRODUCT_ID_HERE")

Buy Coins - Add Product IDs?

  • Open Android Studio > App > activities > BuyCoinsActivity.java
  • Scroll down and look for "showProduct()" method
  • Go to .setProductId("PUT_YOUR_PRODUCT_ID_HERE")
  • You can add as many as you want, in this example we have three product IDs

Subscriptions - Add Product IDs?

  • Open Android Studio > App > activities > Subscriptions.java
  • Scroll down and look for "showProduct()" method
  • Go to .setProductId("PUT_YOUR_PRODUCT_ID_HERE")
  • You can add as many as you want, in this example we have two product IDs

How to Config Testing Device

  • Go to https://play.google.com/console to login to your GPC
  • Scroll Down on the left menu and click License testing
  • Enter your gmail address on input 2 and press enter then press save changes.
  • Select the App, Scroll down on the left menu and Under Testing, select Internal Testing
  • Press Create New Release to upload your App, this app will be available to internal testers.
  • Switch the tabs to Testers to create a new Testers list and Check the list you want the app to be available to.
  • You can add many gmails under input 2 and press enter.
  • Lasly, Login with the same Gmail on your Physical Device or Emulator on Google Play Store.

Rating

If you like our app, we will highly appreciate if you can provide us a rating of 5. You can rate us from your Codecanyon Menu > Download page.


Credits

I've used folowing sources into this app:

  • Google Play Billing Library

Once again, thank you so much for purchasing this app. As I said at the beginning, I'd be glad to help you if you have any questions relating to this app. No guarantees, but I'll do my best to assist. If you have a more general question relating to the apps on Codecanyon, you might consider visiting the "FAQ / Support" section and asking your question in the "Comments" section at Codecanyon app detail page.