NativeScript Payments
For payments via Google Play or iTunes utilizing RxJS.
Installation
tns plugin add nativescript-payments
Usage
TODO
```javascript
Usage code snippets here
```)
API
*** TODO ***
Property | Default | Description |
---|
some property | property default value | property description, default values, etc.. |
another property | property default value | property description, default values, etc.. |
License
MIT
Dumping typings...
iOS
From src/
:
pod repo update
TNS_TYPESCRIPT_DECLARATIONS_PATH="$(pwd)/typings" npm run demo.ios
cp typings/x86_64/objc\!Zendesk* typings/
Android
From project root:
cd android
./gradlew clean
./gradlew getDeps
cd lib
jar xf billing-1.0.aar
mv classes.jar used-billing.jar
rm -rf */
find . -type f ! -iname "used-*" -delete
cd ../..
rm -rf out/
java -jar ../android-dts-generator/dts-generator/build/libs/dts-generator.jar -input \
android/lib/used-billing.jar \
&& mv out/android.d.ts src/typings/java\!PlayBillingLibrary.d.ts;