From f126fc59c0c5a8d83aea5778fde1703c931df0c6 Mon Sep 17 00:00:00 2001 From: Jenna Antilla <46546946+jennantilla@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:10:27 -0700 Subject: [PATCH] release commit --- android/build.gradle | 4 ++-- .../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, 7 insertions(+), 7 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 0b2063b..8560061 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.onesignal.flutter' -version '5.2.2' +version '5.2.3' buildscript { repositories { @@ -38,5 +38,5 @@ android { } dependencies { - implementation 'com.onesignal:OneSignal:5.1.17' + implementation 'com.onesignal:OneSignal:5.1.20' } diff --git a/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java b/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java index e3a7cdd..6b3d90b 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("050202"); + OneSignalWrapper.setSdkVersion("050203"); channel = new MethodChannel(messenger, "OneSignal"); channel.setMethodCallHandler(this); diff --git a/ios/Classes/OneSignalPlugin.m b/ios/Classes/OneSignalPlugin.m index 0c3d2cb..03deda3 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 = @"050202"; + OneSignalWrapper.sdkVersion = @"050203"; [OneSignal initialize:nil withLaunchOptions:nil]; OneSignalPlugin.sharedInstance.channel = [FlutterMethodChannel diff --git a/ios/onesignal_flutter.podspec b/ios/onesignal_flutter.podspec index 040a372..0cbb5f2 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.2' + s.version = '5.2.3' 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.2.2' + s.dependency 'OneSignalXCFramework', '5.2.3' s.ios.deployment_target = '11.0' s.static_framework = true end diff --git a/pubspec.yaml b/pubspec.yaml index 538c8db..f286e17 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.2 +version: 5.2.3 homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK flutter: