-
-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from j3k0/rb3.9
Release 3.9
- Loading branch information
Showing
53 changed files
with
1,306 additions
and
806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"env" : { | ||
"node" : true, | ||
"browser" : true | ||
}, | ||
"rules" : { | ||
"strict": 1, | ||
"quotes": 0, | ||
"no-underscore-dangle": 0, | ||
"no-multi-spaces": 0, | ||
"key-spacing": 0, | ||
"curly": 0, | ||
"no-use-before-define": [ 1, "nofunc" ] | ||
}, | ||
"globals" : { | ||
"store": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
/node_modules/ | ||
/coverage/ | ||
/test/tmp/ | ||
/www/.store-android.js | ||
/www/.store-ios.js | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"node": true, | ||
"browser": true, | ||
"undef": true, | ||
"globals": { | ||
"store": true, | ||
"cordova": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,3 @@ | ||
# Setup | ||
|
||
## Add your license key | ||
|
||
As android uses a public key for verification of purchase data consistency, you have to put the public key of your application inside the config.xml file under a preference tag like this: | ||
|
||
<preference name="android-iabplugin-license-key" value="yourpublickey" /> | ||
|
||
You can find your public key inside Google Developer Console under SERVICES & APIS tab of the specific application. | ||
|
||
## PlayStore | ||
|
||
from https://github.com/mohamnag/InAppBilling/wiki/Stores%20setup#playstore | ||
|
||
> Recently you can test IAP on PlayStore only if your app is already published. If you don't want to make it available before testing, you can publish it in alpha (recommended) or beta state instead of production. | ||
Read Google's documentations about IAP and testing it. Any thing may have been changed in between. | ||
|
||
Steps to setup IAP in Google's developer console: | ||
|
||
1. `Developer Console` Create your app, provide all needed meta data | ||
|
||
2. `Developer Console` Upload a **signed release** APK to either alpha, beta or production | ||
|
||
3. `Developer Console` Setup your in app items | ||
|
||
4. `Developer Console` Setup your test users if you don't want to spend real money buying your own app ;) | ||
Its easier to be done with an alpha published app. You add users to a google group then send a link and they sign up on their own. | ||
|
||
4. `Developer Console` Publish your app and wait until it is available to (test) users. | ||
This may take hours! | ||
|
||
5. Install **same** release signed app on a device which is logged into play store using a test account. | ||
If you use the debug build, you can do some actions, however you will not be able to buy the product. | ||
|
||
6. Try in-app purchasing! | ||
|
||
This have moved: | ||
|
||
See https://github.com/j3k0/cordova-plugin-purchase/wiki/HOWTO#setup-android-applications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.