From e00d7ba1795e730f319a36c08f25d0872d323ff1 Mon Sep 17 00:00:00 2001 From: Nan Date: Wed, 6 Mar 2024 13:55:57 -0800 Subject: [PATCH] release commit 5.1.2 --- android/build.gradle | 2 +- .../src/main/java/com/onesignal/flutter/OneSignalPlugin.java | 2 +- ios/Classes/OneSignalPlugin.m | 2 +- ios/onesignal_flutter.podspec | 4 ++-- pubspec.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index fbe9dded..ded3c807 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.onesignal.flutter' -version '5.1.1' +version '5.1.2' 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 aa90bfaa..83a32a37 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("050101"); + OneSignalWrapper.setSdkVersion("050102"); channel = new MethodChannel(messenger, "OneSignal"); channel.setMethodCallHandler(this); diff --git a/ios/Classes/OneSignalPlugin.m b/ios/Classes/OneSignalPlugin.m index b904efbd..5bffdb38 100644 --- a/ios/Classes/OneSignalPlugin.m +++ b/ios/Classes/OneSignalPlugin.m @@ -57,7 +57,7 @@ + (void)registerWithRegistrar:(NSObject*)registrar { [OneSignal initialize:nil withLaunchOptions:nil]; OneSignalWrapper.sdkType = @"flutter"; - OneSignalWrapper.sdkVersion = @"050101"; + OneSignalWrapper.sdkVersion = @"050102"; OneSignalPlugin.sharedInstance.channel = [FlutterMethodChannel methodChannelWithName:@"OneSignal" diff --git a/ios/onesignal_flutter.podspec b/ios/onesignal_flutter.podspec index 17efa6dc..86bba05f 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.1.1' + s.version = '5.1.2' 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' @@ -13,7 +13,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'OneSignalXCFramework', '5.1.1' + s.dependency 'OneSignalXCFramework', '5.1.3' s.ios.deployment_target = '11.0' s.static_framework = true end diff --git a/pubspec.yaml b/pubspec.yaml index f10f6759..e139eb07 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.1.1 +version: 5.1.2 homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK flutter: