Skip to content

Commit 7f76325

Browse files
committed
🚀 4.0.0
1 parent 9b32652 commit 7f76325

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

android/src/main/kotlin/com/courier/courier_flutter/CourierFlutterActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ open class CourierFlutterActivity : FlutterActivity() {
2121
handler.attach(context, intent)
2222

2323
// Setup and run the agent
24-
Courier.agent = CourierAgent.FlutterAndroid(version = "3.5.0")
24+
Courier.agent = CourierAgent.FlutterAndroid(version = "4.0.0")
2525
Courier.initialize(context)
2626

2727
}

android/src/main/kotlin/com/courier/courier_flutter/CourierFlutterFragmentActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ open class CourierFlutterFragmentActivity : FlutterFragmentActivity() {
2121
handler.attach(this, intent)
2222

2323
// Setup and run the agent
24-
Courier.agent = CourierAgent.FlutterAndroid(version = "3.5.0")
24+
Courier.agent = CourierAgent.FlutterAndroid(version = "4.0.0")
2525
Courier.initialize(this)
2626

2727
}

android/src/main/kotlin/com/courier/courier_flutter/CourierPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal class CourierPlugin : FlutterPlugin {
1313
}
1414

1515
init {
16-
Courier.agent = CourierAgent.FlutterAndroid(version = "3.5.0")
16+
Courier.agent = CourierAgent.FlutterAndroid(version = "4.0.0")
1717
}
1818

1919
override fun onAttachedToEngine(flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) {

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Demonstrates how to use the courier_flutter plugin.
55
# pub.dev using `flutter pub publish`. This is preferred for private packages.
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

8-
version: 1.0.0+14
8+
version: 1.0.0+15
99

1010
environment:
1111
sdk: '>=2.18.1 <3.0.0'

ios/Classes/CourierFlutterDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ open class CourierFlutterDelegate: FlutterAppDelegate {
4141
super.init()
4242

4343
// Set the api agent version
44-
Courier.agent = CourierAgent.flutterIOS("3.5.0")
44+
Courier.agent = CourierAgent.flutterIOS("4.0.0")
4545

4646
// Handle notification registration
4747
app.registerForRemoteNotifications()

ios/Classes/CourierFlutterMethodHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class CourierFlutterMethodHandler: NSObject {
1414

1515
// Set the flutter ios user agent
1616
// This ensures all the requests are tagged with this agent
17-
Courier.agent = CourierAgent.flutterIOS("3.5.0")
17+
Courier.agent = CourierAgent.flutterIOS("4.0.0")
1818

1919
}
2020

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: courier_flutter
22
description: Inbox, Push Notifications and Preferences for Flutter
3-
version: 3.5.0
3+
version: 4.0.0
44
homepage: https://courier.com
55

66
environment:

0 commit comments

Comments
 (0)