From e497381be4e8ee05e9bb5e3522fb1d4791b5d9ae Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 13 Jan 2023 13:11:21 +0200 Subject: [PATCH] Update IAP package --- macos/Flutter/GeneratedPluginRegistrant.swift | 2 ++ pubspec.foss.yaml | 2 +- pubspec.lock | 4 ++-- pubspec.next.yaml | 2 +- pubspec.yaml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 0b82410cd..2830cc81d 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,6 +5,7 @@ import FlutterMacOS import Foundation +import in_app_purchase_storekit import in_app_review import package_info import package_info_plus_macos @@ -20,6 +21,7 @@ import url_launcher_macos import window_manager func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + InAppPurchasePlugin.register(with: registry.registrar(forPlugin: "InAppPurchasePlugin")) InAppReviewPlugin.register(with: registry.registrar(forPlugin: "InAppReviewPlugin")) FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin")) FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) diff --git a/pubspec.foss.yaml b/pubspec.foss.yaml index da40babbd..06e46ef6f 100644 --- a/pubspec.foss.yaml +++ b/pubspec.foss.yaml @@ -22,7 +22,7 @@ dependencies: sdk: flutter # google_sign_in: ^5.0.7 # in_app_review: ^2.0.4 - # in_app_purchase: ^3.0.6 + # in_app_purchase: ^3.1.1 # pinput: ^2.2.11 flutter_redux: ^0.8.2 redux_logging: ^0.5.0 diff --git a/pubspec.lock b/pubspec.lock index 361a171c4..a5f3bbb25 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -590,7 +590,7 @@ packages: name: in_app_purchase url: "https://pub.dartlang.org" source: hosted - version: "3.0.6" + version: "3.1.1" in_app_purchase_android: dependency: transitive description: @@ -611,7 +611,7 @@ packages: name: in_app_purchase_storekit url: "https://pub.dartlang.org" source: hosted - version: "0.3.1" + version: "0.3.4+1" in_app_review: dependency: "direct main" description: diff --git a/pubspec.next.yaml b/pubspec.next.yaml index dc4df6d1e..2be9a03ab 100644 --- a/pubspec.next.yaml +++ b/pubspec.next.yaml @@ -22,7 +22,7 @@ dependencies: sdk: flutter google_sign_in: ^5.0.7 in_app_review: ^2.0.4 - in_app_purchase: ^3.0.6 + in_app_purchase: ^3.1.1 pinput: ^2.2.11 flutter_redux: ^0.8.2 redux_logging: ^0.5.0 diff --git a/pubspec.yaml b/pubspec.yaml index 5d131b68e..1ce4b80aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: sdk: flutter google_sign_in: ^5.0.7 in_app_review: ^2.0.4 - in_app_purchase: ^3.0.6 + in_app_purchase: ^3.1.1 pinput: ^2.2.11 #pinput: # git: