InAppBilling

Adobe AIR native extension

AIR Native Extension for In-App Billing (Purchases)

The extension is available here: com.distriqt.InAppBilling

Documentation

2019.04.18 [v8.0.064]
Amazon InApp Purchasing integration (alpha) (#231)
Added additional variants to better handle development cases
Corrected missing  method from default lib (#235)
2019.03.27 [v7.0.042]
Corrected getPurchases call for Play Billing (resolves #230)
2019.03.20 [v7.0.033]
Added applicationUsername implementation for Android (#229)
2019.03.03 [v7.0.032]
Complete rewrite of Android Play Store integration to latest API (closes #215)
 - Added upgrade / downgrade ability to change subscriptions (resolves #56)
 - Resolves crashes (resolves #171)
 - Fixes transaction identifiers (resolves #127)
 - Should correct template issues (#203)
Embedded iOS bitcode
2019.02.22 [v6.4.119]
iOS: Added additional checks to product information (#221)
Updated minimum iOS version to 8.0 (#222)
2018.10.22 [v6.3.118]
iOS: Corrected handling of error in getProducts call (resolves #204)
2018.10.10 [v6.3.113]
iOS getPurchases integration using AppReceipt Validation
2018.08.17 [v6.2.107]
Added tvOS platform support (resolves #123)
2018.08.15 [v6.1.102]
Corrected @available packaging issue on Windows machines (resolves #191)
2018.08.01 [v6.1.098]
Corrected size of ANE (#189)
2018.07.31 [v6.1.096]
Resolved issue with calling setup after failure (resolves #189)
2018.01.19 [v6.1.079]
Android: Corrected issue returning wrong response when already owned item (resolves #130)
2017.12.19 [v6.1.076]
iOS: Corrected minor issue with multiple simultaneous finish purchase calls
iOS: Improved compatibility with other ANEs and the startup process (resolves #135)
Updated User Cancellation docs (resolves #153)
Corrected default lib function signatures
2017.12.19 [v6.1.076]
iOS: Corrected minor issue with multiple simultaneous finish purchase calls
iOS: Improved compatibility with other ANEs and the startup process (resolves #135)
Updated User Cancellation docs (resolves #153)
Corrected default lib function signatures
2017.10.03 [v6.0.062]
Latest release including iOS 11 Promotions and Android updates
2017.07.25 [v5.0.017]
Added checks for null reference and correctly handled error (resolves #151)
2017.07.10 [v5.0.016]
Updated for compatibility with new Core library (for Notifications/PushNotifications fix)
2017.07.01 [v5.0.015]
Added getPurchases to retrieve purchases (resolves #36, resolves #131, resolves #142, resolves #61)
Added subscription product handling
Deprecated Purchase events to use PURCHASES_UPDATED main handler (resolves #115)
Android: Corrected response from test transactions (resolves #132)
Android: Added message to purchase cancelled event (resolves #130)
Android: Updated IabHelper (resolves #129, resolves #126, resolves #122, resolves #145, resolves #137)
Android: Moved to better activity handling (resolves #128)
Android: Resolved slow isSupported call (resolves  #138)
Added ErrorCodes constants (resolves #10, resolves #141)
Updated documentation
2016.12.31 [v4.7.005]
New documentation
2016.12.01 [v4.7.002]
Android: Implemented clear products with the getProducts function
2016.06.04
Android: Corrected link for product view (#105)
2016.03.16
Android: Fixed error when multiple consumes occur, now dispatches failed event (#90)
Android: Fixed issue with odd characters in product description (resolves #95)
2016.01.12
iOS: Changed order of product loaded and invalid events
Added a canMakePayments function to check if restrictions are enabled (resolves #82)
2015.08.13
Clean build to check default SWC (#52)
2015.08.12
Added swc to lib (#52)
2015.07.23
Added documentation of events dispatched from function calls (resolves #46)
Added option to add products when calling getProducts rather than clearing the list each call (resolves #45)
Android: Improved handling of package names in init call
2015.06.30
Android: Corrected issue with makePurchase not working after a call to restorePurchases (#40)
2015.06.29
Corrected the default library consumePurchase function to match the native library (resolves #42)
2015.06.27
iOS: Corrected events firing twice (on update and removed) (resolves #37)
2015.06.19
iOS: Added getPendingPurchases to allow access to purchases that are in progress
iOS: Added a check of pending purchases when a call to makePurchase is made to ensure there are no pending purchases for the product (#26)
Removed debug code from AS lib
2015.06.12
Android: Changed 'price' value on a product to be consistent with iOS (resolves #32)
Android: Windows: Fix for bug in AIR packager resulting in missing resources
2015.06.10
Android: Corrected JSON format on cancelled event (#27)
iOS: Corrected restored transaction receipt 
2015.05.07
iOS: Corrected finishPurchase on a failed transaction, was incorrectly failing to find transaction (#25)
2015.04.16
Added changelog for front end site
2015.04.16
Updated documentation
Android: Corrected product details (resolves #16)
2015.04.15
Completely rewriten example application using Starling

Separated finishing a purchase into a separate call
Separated PURCHASE_* events into separate class
Introduced the PurchaseRequest object to initiate calls (resolves #15)
Introduced the Product View for native product UI
Added the currency code to the returned product details (resolves #5)

iOS: Updated to include new receipt data using the appStoreReceiptUrl
iOS: Added access to the application receipt (for iOS 7+) including refresh functionality (resolves #20)
iOS: Added the applicationUsername on purchase requests as optional added security measure
iOS: Updated to the new restorePurchases method

Android: x86 support (resolves #19)
Android: Fixed null pointer exception (resolves #12)
Android: Patch for querying more than 20 items (resolves #6)
2015.02.02
Added check for .debug suffix in application id
2014.12.20
iOS: Included arm64 support (resolves #3) 
Android: Corrected application id check when doesn't contain air prefix 
2014.12.05
Corrected missing EventDispatcher functions from base class
iOS: Implemented autoreleasepools for all C function calls
2014.12.01
Updated README
2014.12.01
New application based key check, removing server checks
2014.11.25
Corrected missing default library definitions (resolves #292)