diff --git a/android/build.gradle b/android/build.gradle index f8f5c1b..acd65dc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.onesignal.flutter' -version '5.2.3' +version '5.2.4' buildscript { repositories { diff --git a/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java b/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java index 6b3d90b..7b12a31 100644 --- a/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java +++ b/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java @@ -40,7 +40,7 @@ private void init(Context context, BinaryMessenger messenger) this.messenger = messenger; OneSignalWrapper.setSdkType("flutter"); // For 5.0.0, hard code to reflect SDK version - OneSignalWrapper.setSdkVersion("050203"); + OneSignalWrapper.setSdkVersion("050204"); channel = new MethodChannel(messenger, "OneSignal"); channel.setMethodCallHandler(this); diff --git a/ios/Classes/OneSignalPlugin.m b/ios/Classes/OneSignalPlugin.m index 03deda3..4abe3b9 100644 --- a/ios/Classes/OneSignalPlugin.m +++ b/ios/Classes/OneSignalPlugin.m @@ -57,7 +57,7 @@ + (instancetype)sharedInstance { + (void)registerWithRegistrar:(NSObject*)registrar { OneSignalWrapper.sdkType = @"flutter"; - OneSignalWrapper.sdkVersion = @"050203"; + OneSignalWrapper.sdkVersion = @"050204"; [OneSignal initialize:nil withLaunchOptions:nil]; OneSignalPlugin.sharedInstance.channel = [FlutterMethodChannel diff --git a/ios/onesignal_flutter.podspec b/ios/onesignal_flutter.podspec index 0cbb5f2..b1720d8 100644 --- a/ios/onesignal_flutter.podspec +++ b/ios/onesignal_flutter.podspec @@ -3,7 +3,7 @@ # Pod::Spec.new do |s| s.name = 'onesignal_flutter' - s.version = '5.2.3' + s.version = '5.2.4' s.summary = 'The OneSignal Flutter SDK' s.description = 'Allows you to easily add OneSignal to your flutter projects, to make sending and handling push notifications easy' s.homepage = 'https://www.onesignal.com' diff --git a/pubspec.yaml b/pubspec.yaml index f286e17..cd0af34 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: onesignal_flutter description: OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal -version: 5.2.3 +version: 5.2.4 homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK flutter: