From 177e31955548b3462b5d5e4c77b9361d8b414241 Mon Sep 17 00:00:00 2001 From: Nan Date: Wed, 27 Sep 2023 17:18:58 -0700 Subject: [PATCH] release commit 5.0.2 * Bump SDK version number to 5.0.2 * Update Android SDK to 5.0.2 * iOS has been updated to 5.0.2 in a previous PR --- android/build.gradle | 4 ++-- .../src/main/java/com/onesignal/flutter/OneSignalPlugin.java | 2 +- example/ios/Podfile | 2 +- ios/Classes/OneSignalPlugin.m | 2 +- ios/onesignal_flutter.podspec | 2 +- pubspec.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 53a4b20..c626659 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.onesignal.flutter' -version '5.0.1' +version '5.0.2' buildscript { repositories { @@ -34,5 +34,5 @@ android { } dependencies { - implementation 'com.onesignal:OneSignal:5.0.1' + implementation 'com.onesignal:OneSignal:5.0.2' } diff --git a/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java b/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java index 90549fe..e98c6a0 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("050001"); + OneSignalWrapper.setSdkVersion("050002"); channel = new MethodChannel(messenger, "OneSignal"); channel.setMethodCallHandler(this); diff --git a/example/ios/Podfile b/example/ios/Podfile index c8179bb..92a74ef 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -32,7 +32,7 @@ target 'Runner' do end target 'OneSignalNotificationServiceExtension' do - pod 'OneSignalXCFramework', '>= 5.0.1', '< 6.0.0' + pod 'OneSignalXCFramework', '>= 5.0.2', '< 6.0.0' end post_install do |installer| diff --git a/ios/Classes/OneSignalPlugin.m b/ios/Classes/OneSignalPlugin.m index 009a7f3..c38b6b4 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 = @"050001"; + OneSignalWrapper.sdkVersion = @"050002"; OneSignalPlugin.sharedInstance.channel = [FlutterMethodChannel methodChannelWithName:@"OneSignal" diff --git a/ios/onesignal_flutter.podspec b/ios/onesignal_flutter.podspec index fe7c50d..7773a99 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.0.1' + s.version = '5.0.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' diff --git a/pubspec.yaml b/pubspec.yaml index 593195c..2e9e351 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.0.1 +version: 5.0.2 author: Brad Hesse , Josh Kasten , Henry Boswell homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK