Skip to content

Commit

Permalink
Merge pull request #843 from OneSignal/release/5.1.1
Browse files Browse the repository at this point in the history
Release 5.1.1
  • Loading branch information
nan-li authored Mar 5, 2024
2 parents b7656b8 + 8c2ef61 commit 23dd178
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.onesignal.flutter'
version '5.1.0'
version '5.1.1'

buildscript {
repositories {
Expand Down Expand Up @@ -38,5 +38,5 @@ android {
}

dependencies {
implementation 'com.onesignal:OneSignal:5.1.2'
implementation 'com.onesignal:OneSignal:5.1.6'
}
Original file line number Diff line number Diff line change
Expand Up @@ -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("050100");
OneSignalWrapper.setSdkVersion("050101");

channel = new MethodChannel(messenger, "OneSignal");
channel.setMethodCallHandler(this);
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/OneSignalPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {

[OneSignal initialize:nil withLaunchOptions:nil];
OneSignalWrapper.sdkType = @"flutter";
OneSignalWrapper.sdkVersion = @"050100";
OneSignalWrapper.sdkVersion = @"050101";

OneSignalPlugin.sharedInstance.channel = [FlutterMethodChannel
methodChannelWithName:@"OneSignal"
Expand Down
4 changes: 2 additions & 2 deletions ios/onesignal_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'onesignal_flutter'
s.version = '5.1.0'
s.version = '5.1.1'
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'
Expand All @@ -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.0'
s.dependency 'OneSignalXCFramework', '5.1.1'
s.ios.deployment_target = '11.0'
s.static_framework = true
end
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.0
version: 5.1.1
homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK

flutter:
Expand Down

0 comments on commit 23dd178

Please sign in to comment.