diff --git a/android/src/main/kotlin/com/courier/courier_flutter/CourierPlugin.kt b/android/src/main/kotlin/com/courier/courier_flutter/CourierPlugin.kt index c0b3264..29cca7b 100644 --- a/android/src/main/kotlin/com/courier/courier_flutter/CourierPlugin.kt +++ b/android/src/main/kotlin/com/courier/courier_flutter/CourierPlugin.kt @@ -13,7 +13,7 @@ internal class CourierPlugin : FlutterPlugin { } init { - Courier.agent = CourierAgent.FlutterAndroid(version = "3.3.0") + Courier.agent = CourierAgent.FlutterAndroid(version = "3.4.0") } override fun onAttachedToEngine(flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) { diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift index deeb757..7c17ccb 100644 --- a/example/ios/Runner/AppDelegate.swift +++ b/example/ios/Runner/AppDelegate.swift @@ -2,7 +2,7 @@ import UIKit import Flutter import courier_flutter -@UIApplicationMain +@main @objc class AppDelegate: CourierFlutterDelegate { override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { diff --git a/example/pubspec.lock b/example/pubspec.lock index b7990a1..162a433 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -63,7 +63,7 @@ packages: path: ".." relative: true source: path - version: "3.2.0" + version: "3.3.0" crypto: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 1256715..1623c2b 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -5,7 +5,7 @@ description: Demonstrates how to use the courier_flutter plugin. # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 1.0.0+12 +version: 1.0.0+13 environment: sdk: '>=2.18.1 <3.0.0' diff --git a/ios/Classes/CourierFlutterDelegate.swift b/ios/Classes/CourierFlutterDelegate.swift index c993563..c21ef07 100644 --- a/ios/Classes/CourierFlutterDelegate.swift +++ b/ios/Classes/CourierFlutterDelegate.swift @@ -41,7 +41,7 @@ open class CourierFlutterDelegate: FlutterAppDelegate { super.init() // Set the api agent version - Courier.agent = CourierAgent.flutterIOS("3.3.0") + Courier.agent = CourierAgent.flutterIOS("3.4.0") // Handle notification registration app.registerForRemoteNotifications() diff --git a/ios/Classes/CourierFlutterMethodHandler.swift b/ios/Classes/CourierFlutterMethodHandler.swift index bf1c44a..d4b95a8 100644 --- a/ios/Classes/CourierFlutterMethodHandler.swift +++ b/ios/Classes/CourierFlutterMethodHandler.swift @@ -14,7 +14,7 @@ public class CourierFlutterMethodHandler: NSObject { // Set the flutter ios user agent // This ensures all the requests are tagged with this agent - Courier.agent = CourierAgent.flutterIOS("3.3.0") + Courier.agent = CourierAgent.flutterIOS("3.4.0") } diff --git a/pubspec.yaml b/pubspec.yaml index 3221d23..f5869b5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: courier_flutter description: Inbox, Push Notifications and Preferences for Flutter -version: 3.3.0 +version: 3.4.0 homepage: https://courier.com environment: