Skip to content

Latest commit

 

History

History
31 lines (13 loc) · 1022 Bytes

README.md

File metadata and controls

31 lines (13 loc) · 1022 Bytes

Cafebazaar-ReactNative

A simple react native sample for cafebazaar in app billing

1.Copy and edit this source code. important tips are mentioned in next steps.

2.Change package name in every part of app. (gradle.build - manifest - main java files included packages)

3.Add your CafeBazaar RSA license key as a line to your android/app/src/main/res/values/strings.xml with the name RNB_GOOGLE_PLAY_LICENSE_KEY. For example:

<string name="RNB_GOOGLE_PLAY_LICENSE_KEY">YOUR_GOOGLE_PLAY_LICENSE_KEY_HERE</string>

4.In App.js there is a line productId: "vipuser", change the value with your product sku-code.(vipuser is sample sku).

  1. run your app and enjoy :))

more detailed help is available in main repo