noon_payments 1.2.1
noon_payments: ^1.2.1 copied to clipboard
A Flutter plugin for integrating Noon Payments SDK on Android and iOS.
1.2.1 #
- Fixed: bundled Noon paymentsdk AAR no longer overrides the host app's launcher icon on Android 13+ (it shipped default ic_launcher template resources).
1.2.0 #
- Added Flutter Web as a supported platform (
flutter.plugin.platforms.web+NoonPaymentsWeb) — the plugin now advertises Web on pub.dev and registers in web apps. - Added Apple Pay on the Web:
NoonPayments.payWithApplePayServerSide(...)drives the browser'sApplePaySessionand routes the two Noon calls (INITIATEfor merchant validation, thenPROCESS_AUTHENTICATION) through your backend via callbacks. Works in Safari and, with Apple's JS SDK loaded inweb/index.html, in Chrome/Edge (incl. the cross-device QR).- Add to
web/index.html:<script crossorigin src="https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js"></script>. isApplePayAvailable()works on web;payWithApplePayreturnsUSE_SERVER_SIDEon web (usepayWithApplePayServerSide).
- Add to
- Switched the Apple Pay networking from
dart:iotopackage:httpso the plugin compiles and runs on web.
1.1.0 #
-
Added Apple Pay Direct Integration (native PassKit sheet) alongside the existing drop-in sheet. Uses Noon's Flow A (Noon decrypts the token — no certificate handling or PCI DSS required).
NoonPayments.isApplePayAvailable()— device capability check (iOS only).NoonPayments.getApplePayToken(config)— present the native Apple Pay sheet and return the token (for backend-side INITIATE).NoonPayments.payWithApplePay(...)— present the sheet and submit the token to Noon's INITIATE API from the client.NoonPayments.submitApplePayToken(...)— submit an already-collected Apple Pay token to Noon's INITIATE API.
-
Added models:
NoonApplePayConfig,NoonApplePaySummaryItem,NoonApplePayToken,NoonOrder,NoonOrderItem,ApplePayNetwork,ApplePayMerchantCapability. -
Added
NoonPaymentResult.fromInitiateResponse(...)to parse Noon INITIATE responses. -
Added Apple Pay on Flutter Web support via the W3C Payment Request API (with
ApplePaySessionfallback), using Noon's 2-stepINITIATE→PROCESS_AUTHENTICATIONweb flow. Works in Safari and Chrome/Edge (cross-device QR).- Web supports Apple Pay only — the drop-in sheet and Google Pay/card flows remain native-mobile only.
-
Added
NoonPayments.payWithApplePayServerSide(...)— backend-delegated web flow (two callbacks) so your Noon key stays off the browser. Required for web, since calling Noon directly from the browser is blocked by CORS. -
Web Apple Pay uses the
ApplePaySessionAPI. It works in Safari out of the box, and in Chrome/Edge — including Apple's cross-device QR (scan with an iOS 18+ iPhone) — when you add Apple's JS SDK toweb/index.html:<script crossorigin src="https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js"></script>. -
Switched the Apple Pay direct networking from
dart:iotopackage:httpso the package compiles and runs on Flutter Web. -
Made
ApplePayNetworkandApplePayMerchantCapabilityextensible (custom values supported).
1.0.4+2 #
- Enhanced parse method to correctly handle data from Noon SDK
1.0.4+1 #
- Updated Android build.gradle to resolve Kapt plugin issue with Kotlin 2.2.20
- Update minimum iOS deployment target to 15.0
1.0.3+1 #
- Fixed iOS Swift Package Manager structure: moved sources under
ios/noon_payments/Sources/noon_payments/andPackage.swifttoios/noon_payments/so Flutter detects SPM support. - Declared
FlutterFrameworkdependency inPackage.swift(required by Flutter SPM). - Updated CocoaPods podspec paths to match the new layout (CocoaPods consumers continue to work).
1.0.3 #
- Added Swift Package Manager (SPM) support for iOS
1.0.2 #
- Fixed R8/ProGuard build error on Android by adding missing Coil dependency and keep rules.
1.0.1+2 #
- Updated README.md.
1.0.1 #
- Added environment param to initiatePayment method to allow the user to add their own environment link.
environment: NoonEnvironment("YOUR_ENVIRONMENT_LINK"),
1.0.0+1 #
- Updated README.md.
1.0.0 #
- Initial release of the Noon Payments Flutter plugin.
- Added Android and iOS payment flow support.
- Added payment result, style, and enum models.