https://github.com/tuarua/inapppurchases-ane
Use StoreKit and BillingClient with this Adobe Air Native Extension for iOS 9.0+, tvOS 9.2+,macOS 10.12+ and Android 19+.
https://github.com/tuarua/inapppurchases-ane
air android kotlin-android macos swift5
Last synced: about 1 year ago
JSON representation
Use StoreKit and BillingClient with this Adobe Air Native Extension for iOS 9.0+, tvOS 9.2+,macOS 10.12+ and Android 19+.
- Host: GitHub
- URL: https://github.com/tuarua/inapppurchases-ane
- Owner: tuarua
- License: apache-2.0
- Created: 2019-07-07T14:35:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T16:41:39.000Z (over 4 years ago)
- Last Synced: 2025-04-14T12:13:54.284Z (about 1 year ago)
- Topics: air, android, kotlin-android, macos, swift5
- Language: ActionScript
- Homepage:
- Size: 1.76 MB
- Stars: 9
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# InAppPurchases-ANE
Use StoreKit and BillingClient with this Adobe Air Native Extension for iOS 9.0+, tvOS 9.2+,macOS 10.12+ and Android 19+.
-------------
## Prerequisites
You will need:
- IntelliJ IDEA
- AIR 33.1.1.217+
- [.Net Core Runtime](https://dotnet.microsoft.com/download/dotnet-core/3.1)
- [AIR-Tools](https://github.com/tuarua/AIR-Tools/)
-------------
## Android
cd into /example-mobile and run the _"air-tools"_ command (You will need [AIR-Tools](https://github.com/tuarua/AIR-Tools/) installed)
```shell
air-tools install
```
-------------
## iOS
>N.B. You must use a Mac to build an iOS app using this ANE. Windows is **NOT** supported.
This folder, ios_dependencies/device/Frameworks, must be packaged as part of your app when creating the ipa. How this is done will depend on the IDE you are using.
After the ipa is created unzip it and confirm there is a "Frameworks" folder in the root of the .app package.
-------------
## tvOS
>N.B. You must use a Mac to build an iOS app using this ANE. Windows is **NOT** supported.
This folder, tvos_dependencies/device/Frameworks, must be packaged as part of your app when creating the ipa. How this is done will depend on the IDE you are using.
After the ipa is created unzip it and confirm there is a "Frameworks" folder in the root of the .app package.
### App Setup
As per iOS above.
## macOS
### The ANE + Dependencies
From the command line cd into /example-desktop and run:
```shell
air-tools install
```
### App Setup
As per iOS above.
### References
* [https://github.com/bizz84/SwiftyStoreKit]
* [https://www.raywenderlich.com/5456-in-app-purchase-tutorial-getting-started]
* [https://developer.android.com/google/play/billing/billing_overview]