Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.

Commit 4a2a7d4

Browse files
committed
Fix spelling mistakes and add more guide info
1 parent 97c6b88 commit 4a2a7d4

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,17 @@ In order to do this send in `null` as parameter, along with your Activity-instan
113113
## Testing with your own In-app products
114114
Testing with static responses is limited, because you are only able to test the purchase-method. Therefore, testing with real In-app products is recommended. But before that is possible, you need to do the following:
115115
* I will assume you've already created your Google Play Developer account and an application there.
116-
* Now you need to create In-app Products under your application at Play Developer Console and activate it (press the button at the top right).
116+
* Now you need to create an In-app product under your application at the Google Play Developer Console and activate it (press the button at the top right).
117117
* Assuming you have installed this module (InApp Billing), you can write the JS code as explained in the Javascript API section. I suggest you to use `getProductDetails` function to see if it's the product is retrieved.
118-
* When you're ready to test, you'll need to properly create a signed APK. You can follow this [guide](https://facebook.github.io/react-native/docs/signed-apk-android.html).
119-
* When you have the APK, you need to upload it to Play Developer Console, either the Alpha or the Beta channel will be OK.
120-
* After uploading, you will have to publish it to the market. Don't worry, when publishing the APK to the Alpha or Beta channel the APK will not be available for general public. (**ImportantÆ*: It might take several hours for Google to process the APK).
121-
* The final part is, you'll need to create an add testers for the channel you've published to. The web page will give you a signup URL (opt-in) after you've approved open testing. Visit this URL in the browser of your **testing device** (it must be a physical device, not a emulator) signup from the URL and download the app where it redirected.
118+
* When you're ready to test, you'll need to properly create a signed APK. You can follow this [guide](https://facebook.github.io/react-native/docs/signed-apk-android.html). (**Important**: You'll have to install the APK as described in the guide. Not in the way you'd normally debug an React Native app on Android).
119+
* When you have the APK, you need to upload it to Play Developer Console, either the Alpha or the Beta channel will be fine. Remember your app will need to have a proper `applicationId` (normally your package name) and `versionCode` set in `android/app/build.gradle`.
120+
* After uploading, you will have to publish it to the market. Don't worry, when publishing the APK to the Alpha or Beta channel the APK will not be available for general public. (**Important**: It might take several hours for Google to process the APK).
121+
* The final part is, you'll need to add testers for the channel you've published to. The web page will give you a signup URL (opt-in) after you've approved open testing. Visit this URL in the browser of your **testing device** (it must be a physical device, not a emulator) and signup, and download the app where it redirected.
122122
* Try to buy something with the device. The purchase will eventually be cancelled, but you can also do this manually through your Google Merchant wallet.
123123

124+
**Important**: You can only test on a physical Android device, not from an emulator.
125+
126+
124127
## Javascript API
125128
All methods returns a `Promise`.
126129

0 commit comments

Comments
 (0)