# android-store-google-play **Repository Path**: mirrors_asmodehn/android-store-google-play ## Basic Information - **Project Name**: android-store-google-play - **Description**: Google Play billing hook to SOOMLA android-store - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README *This project is a billing provider plugin to [android-store](https://github.com/soomla/android-store).* ## android-store-google-play android-store-google-play is the default billing service plugin for android-store. It uses the default code given by Google which was adapted to IabHelper and IIabService interface so it'll be useful to SOOMLA's android-store. ## Getting Started In order to work with this plugin you first need to go over android-store's [Getting Started](https://github.com/soomla/android-store#getting-started). The steps to integrate this billing service are also in android-store's [Selecting Billing Service](https://github.com/soomla/android-store#google-play) but we will also write them here for convenience: 1. Add `AndroidStoreGooglePlay.jar` from the `build` folder to your project. 2. Make the following changes in AndroidManifest.xml: Add the following permission (for Google Play): ```xml ``` Add the IabActivity to your `application` element, the plugin will spawn a transparent activity to make purchases. Also, you need to tell us what plugin you're using so add a meta-data tag for that: ```xml ``` 3. After you initialize `SoomlaStore`, let the plugin know your public key from the dev console: ```Java GooglePlayIabService.getInstance().setPublicKey("[YOUR PUBLIC KEY FROM THE MARKET]"); ``` 4. If you want to allow the test purchases, all you need to do is tell that to the plugin: ```Java GooglePlayIabService.AllowAndroidTestPurchases = true; ``` For Google Play, We recommend that you open the IAB Service and keep it open in the background in cases where you have an in-game storefront. This is how you do that: When you open the store, call: ```Java SoomlaStore.getInstance().startIabServiceInBg(); ``` When the store is closed, call: ```Java SoomlaStore.getInstance().stopIabServiceInBg(); ``` ## Contribution We want you! Fork -> Clone -> Implement -> Test -> Pull-Request. We have great RESPECT for contributors. ## SOOMLA, Elsewhere ... + [Framework Page](http://project.soom.la/) + [On Facebook](https://www.facebook.com/pages/The-SOOMLA-Project/389643294427376) + [On AngelList](https://angel.co/the-soomla-project) ## License MIT License. Copyright (c) 2014 SOOMLA. http://soom.la + http://www.opensource.org/licenses/MIT