diff --git a/README.md b/README.md index 148b5746..8b4f69bb 100644 --- a/README.md +++ b/README.md @@ -24,5 +24,5 @@ For account issues and support please contact OneSignal support from the [OneSig To make things easier, we have published a demo project in the `/example` folder of this repository. #### Supports: -* Tested from iOS 8 to iOS 12.3 +* Tested from iOS 8 to iOS 13 * Tested from Android 4.0.3 (API level 15) to Android 9.0 (28) \ No newline at end of file diff --git a/android/build.gradle b/android/build.gradle index 9493fb7b..dd3e5ec0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.onesignal.flutter' -version '2.0.0' +version '2.0.2' buildscript { repositories { @@ -34,7 +34,7 @@ android { } dependencies { - compile('com.onesignal:OneSignal:3.11.1') + compile('com.onesignal:OneSignal:3.11.2') } // Adds required manifestPlaceholders keys to allow mainifest merge gradle step to complete @@ -49,12 +49,13 @@ class DefaultManifestPlaceHolders { static void addManifestToAppProject(Project proj) { def androidApp = proj.android MANIFEST_PLACEHOLDERS_DEFAULTS.each { defKey, defValue -> - if (!androidApp.defaultConfig.manifestPlaceholders.containsKey(defKey)) + if (!androidApp.defaultConfig.manifestPlaceholders.containsKey(defKey)) { androidApp.defaultConfig.manifestPlaceholders[defKey] = defValue - androidApp.buildTypes.each { buildType -> - if (!buildType.manifestPlaceholders.containsKey(defKey)) - buildType.manifestPlaceholders[defKey] = defValue + androidApp.buildTypes.each { buildType -> + if (!buildType.manifestPlaceholders.containsKey(defKey)) + buildType.manifestPlaceholders[defKey] = defValue + } } } } diff --git a/ios/onesignal_flutter.podspec b/ios/onesignal_flutter.podspec index 4466ff5e..c5a43d03 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 = '2.0.0' + s.version = '2.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' @@ -13,7 +13,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'OneSignal', '>= 2.9.5', '< 3.0' + s.dependency 'OneSignal', '2.10.1' s.ios.deployment_target = '8.0' s.static_framework = true end diff --git a/pubspec.yaml b/pubspec.yaml index fd663abe..c63e44cc 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: 2.0.1 +version: 2.0.2 author: Brad Hesse , Josh Kasten homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK