Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
group 'com.onesignal.flutter'
version '5.6.3'
version '5.6.4'

def safeEnvFlagGet(prop) {
def value = System.getenv(prop)
def normalizedValue = value?.toString()?.trim()
return normalizedValue != null && (normalizedValue.equalsIgnoreCase('true') || normalizedValue == '1')
}

def oneSignalVersion = '5.9.5'
def oneSignalVersion = '5.9.6'
def oneSignalDisableLocation = safeEnvFlagGet('ONESIGNAL_DISABLE_LOCATION')

buildscript {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private void init(Context context, BinaryMessenger messenger) {
this.messenger = messenger;
OneSignalWrapper.setSdkType("flutter");
// Keep in sync with pubspec.yaml version
OneSignalWrapper.setSdkVersion("050603");
OneSignalWrapper.setSdkVersion("050604");

channel = new MethodChannel(messenger, "OneSignal");
channel.setMethodCallHandler(this);
Expand Down
4 changes: 2 additions & 2 deletions ios/onesignal_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
onesignal_xcframework_version = '5.5.3'
onesignal_xcframework_version = '5.5.4'
onesignal_disable_location_env = ENV['ONESIGNAL_DISABLE_LOCATION'].to_s.strip.downcase
onesignal_disable_location = ['true', '1'].include?(onesignal_disable_location_env)

s.name = 'onesignal_flutter'
s.version = '5.6.3'
s.version = '5.6.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'
Expand Down
2 changes: 1 addition & 1 deletion ios/onesignal_flutter/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let package = Package(
.library(name: "onesignal-flutter", targets: ["onesignal_flutter"])
],
dependencies: [
.package(url: "https://github.com/OneSignal/OneSignal-XCFramework", exact: "5.5.3"),
.package(url: "https://github.com/OneSignal/OneSignal-XCFramework", exact: "5.5.4"),
],
targets: [
.target(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ + (instancetype)sharedInstance {
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {

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

OneSignalPlugin.sharedInstance.channel =
Expand Down
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.6.3
version: 5.6.4
homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK

# Uses rps package for scripts
Expand Down
Loading