Twinr Builder Resources
  • 🙌Getting Started
    • What is Twinr?
    • Fun Fact
  • 📱Create App
    • Create App from Template
      • Blank
      • E-Commerce App
      • News App
      • Restaurant App
  • 👥Organization
    • Create Organization
    • Invite Members
  • 🖥️Dashboard
    • App Dashboard
    • Preview App
    • Delete App
  • 📲Setup Branding Info
    • App info
    • Launch screen
    • App Permissions
      • Camera Permission
      • Photo Library Permission
      • Microphone Permission
      • App Tracking Transparency
      • Location Permission
      • Read External Storage
    • App Settings
      • Enable portrait only mode
      • Prevent App Sleep
      • Enable/Disable iPad Support
      • Customize Minimum Android Version
  • 🎨Setup Theme
    • Overview
    • Bottom Tab bar
    • Navigation bar
      • Button setting
    • Status bar
  • 📲Screen Customization
    • External URL Handling
    • Apply Custom CSS
    • Apply Custom JavaScript
    • Hide Elements
    • Page Refresh
    • Login
      • General
      • Login Page
    • Tab bar(Bottom tabs)
      • Add New Screen
      • Delete Screen
      • Rearrange Screen
      • General
      • Navigation Bar
        • Navigation Bar Title
        • Navigation Bar Buttons
          • Back Button
          • Linker Button
          • Cart Button
          • Custom Button
          • Hamburger Menu
          • Native Link Sharing
          • Native Notification Screen Button
      • Tab Screen - External URL Handling
      • Responsible URL
      • Tab Screen - Hide Elements
      • Tab Screen - CSS
      • Tab Screen - Scripts
  • 🛠️App Configuration
    • Add New Configuration
  • 🔗Extensions
    • Overview
    • Page Loader
    • Pull to Refresh
    • Custom User Agent
    • Custom Fonts
    • Cache Policy
    • No Internet View
    • App Review
    • App Onboarding
    • Multi Language
    • In-App Purchase (IAP)
      • iOS In-App Purchase (IAP)
      • Android In-App Purchase (IAP)
    • Deeplink
    • Force App Update
    • Account Delete
    • Dynamic Titles
  • ⚙️Integrations
    • Overview
    • Firebase Push Notification
      • Enable Push Notification
      • Send Push Notification
    • Push Permission Reminder
    • Personalized Push Notification
    • Abandoned Cart Push Notification
    • Native Notification Screen
    • AdMob
      • Create Android & iOS Apps
      • Create Ads on AdMOb
      • Setup AdMob Integration
    • Firebase Analytics
      • Auto Tracked Analytics
      • Custom Analytics
      • How to check Analytics in Firebase?
  • Plugins
    • Overview
    • WooCommerce
    • Shopify
    • Preshtashop
  • Engage
    • Overview
    • Engage Dashboard
    • One Time Campaigns
    • Event Triggered Campaigns
      • Order Created
      • Order Status Change
      • Product Created
      • Product Re-stock
      • Product Out-of-stock
      • Product Low Stock
      • Coupon Created
    • Welcome Push Notification
    • Inactivity Push Notification
  • 📊App Analytics
    • Overview
    • Acquisition & Retention
      • Number of Sessions
      • Number of Unique Sessions
      • Daily Active Users
      • Total App Sessions
      • New App Sessions
      • Session by Platform
      • Average Session Length
      • Session by Devices
      • Retention
    • Revenue
      • Sales
      • Orders
      • Total Revenue - Current vs Previous Period
      • Total Orders - Current vs Previous Period
      • Revenue by Device
      • Average Order Value by Device
      • Order by Device
      • Orders by New vs. Returning Users
      • Top 10 Popular Products
      • Promo Code Revenue vs Revenue
  • JS Bridge
    • What is the JS Bridge?
    • AdMob Interstitial Ad
    • Change App Language
    • Push Notification - Device Token
    • Request Account Delete
    • Native Datastore
  • 🚀Publish Apps
    • Publishing to the Google Play Store
      • Setup Android Signing Information
      • Get Android Build File
      • Create Your Google Developer Account
      • Setup your App on Google Play Store
      • Submit Your App to Production
      • Reset Android Signing Key
    • Publishing to the Apple App Store
      • Create Your Apple Developer Account
      • Setup Annual Payment for your Apple Developer Account
      • Create Your Apple Bundle ID
      • Setup iOS Signing Info
      • Get iOS Build File
      • Add Users to Your App Store Connect Team (Optional)
      • Add Users to TestFlight (Optional)
      • Submit Your Build to The App Store
  • 👤Twinr Account
    • Change Password
    • Billing & Payments
    • Invoices
    • Update Payment Method
    • Enable 2-Step Authentication
  • 👩‍💼Support
    • Contact Support
    • On-demand Services
      • End-to-End App Solution(All Inclusive)
      • App Development
      • App Publishing
      • App Screenshots
      • Login Script
      • Push Notification Setup
  • 🤝Partnership & Earnings
    • Twinr Partnership Model
    • Agency Plan
    • Become an Affiliate
  • ❓FAQs
    • Subscription
    • Preview your App
    • App Customization
    • Build APK & IPA
    • Publishing App
Powered by GitBook
On this page
  • How to setup In App Purchase?
  • Create In-App Purchase Products
  • Create Licence User Accounts to Test IAP

Was this helpful?

  1. Extensions
  2. In-App Purchase (IAP)

Android In-App Purchase (IAP)

Android In-App Purchase (IAP) is a feature provided by Android that allows app owners to sell digital content within their apps. This can include things like subscriptions, premium features.

PreviousiOS In-App Purchase (IAP)NextDeeplink

Last updated 2 years ago

Was this helpful?

How to setup In App Purchase?

Create In-App Purchase Products

There are 4 types of in-app purchases.

  • Consumable: These are items that can be used up or expire over time and can be bought multiple times (e.g. in-game currency, items, or other virtual goods).

  • Non-Consumable: These are permanent items that can only be purchased once (e.g. unlocking a full version of an app or purchasing a permanent game character).

  • Auto-renewable subscriptions: This type of in-app purchase allows a user to subscribe to a service or content within an app on a recurring basis.

  • Non-renewable subscriptions: This type of in-app purchase allows a user to subscribe to a service or content within an app for a specific duration of time.

Android doesn't differentiate between consumable & non-consumable products. You need to manage from your side if user can purchase one product single time or multiple times.

1.) Go to Google Play Developer Console -> Select Your App -> Monetize -> In-app product.

2.) Click on Create Product button to create a product. Enter all the info and create a product.

3.) Once you create it, Activate button will gets displayed with all the information you filled-up. Click on Activate to activate the product. This is required to test IAP.

Google provides very easy way to create Auto-Renewable and Non-Renewable subscriptions. Follow below steps.

1.) Go to Google Play Developer Console -> Select Your App -> Monetize -> Subscriptions

2.) Click on Create Subscription button to create a product. Enter all the info and create a product.

3.) Once you create it, it will ask you to complete below tasks.

  • Add subscription benefits: In this section you will need to enter all the subscription benefits, description and other info.

  • Add a base plan: First of all select your plan type.

    • Auto-renewing: Select this option if you want to create auto-renewable subscription.

    • Pre-paid: Select this option if you want to create non-renewable subscriptions

  • Add offers: Use this option if you want to enable offer for your subscription such as free trial. This steps is optional.

  • Activate: At last you need to activate your subscription to make it available for testing and prod users when you go live.

Create Licence User Accounts to Test IAP

1.) Go to PlayStore Console -> Setup -> Licence Testing

2.) Enter comma separated email addresses under Add licence testers field and hit Enter.

3.) Select RESPOND_NORMALLY under Licence response dropdown.

4.) Now, you need to prepare an APK and upload it under internal tester. To do that, go to PlayStore Console -> Select Your App -> Testing -> Internal testing.

5.) Click Create a new release button and upload your APK in there. Publish that release for review.

6.) Next step is to join the testers program. To do so, click on Testers tab and then copy Join on the web URL. Open this URL in your browser and join the testers program.

7.) Now, you are ready to test IAP in your application. Install APK file in your mobile and test everything.

🔗