From 91d4efea13c0da8bde39b40666a69bcdd205ee05 Mon Sep 17 00:00:00 2001 From: Po-Ting Wu Date: Tue, 4 Apr 2023 11:17:15 -0700 Subject: [PATCH] Update for v3.2.0 - Upgrade Flurry Android SDK version to 14.2.0 --- CHANGELOG.md | 6 ++++++ README.md | 10 +++++++++- android/build.gradle | 4 ++-- .../flurry/android/flutter/FlurryFlutterPlugin.java | 2 +- example/android/app/build.gradle | 4 ++-- example/android/app/src/main/AndroidManifest.xml | 3 +++ ios/Classes/FlurryFlutterPlugin.m | 2 +- pubspec.yaml | 2 +- 8 files changed, 25 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3aac743..62a8f66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ * [Flurry Android SDK Release Notes](https://developer.yahoo.com/flurry/docs/releasenotes/android/) * [Flurry iOS SDK Release Notes](https://developer.yahoo.com/flurry/docs/releasenotes/ios/) +## v3.2.0 (2023-04-02) + +#### Features + +* Upgrade Flurry Android SDK version to 14.2.0 + ## v3.1.0 (2023-02-02) #### Features diff --git a/README.md b/README.md index 2a4b65f..23b77cd 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,13 @@ A Flutter plugin for Flurry SDK .build(this, FLURRY_ANDROID_API_KEY); ``` - 3. Set up "Android Authorization" in Flurry [Push Authorization](https://developer.yahoo.com/flurry/docs/push/authorization/). + 3. Add notification permission in the Android manifest file. (required on the Android 13 and above devices.) + + ```xml + + ``` + + 4. Set up "Android Authorization" in Flurry [Push Authorization](https://developer.yahoo.com/flurry/docs/push/authorization/). ### iOS @@ -103,10 +109,12 @@ A Flutter plugin for Flurry SDK 1. Open your `.xcworkspace` file which is under the `ios` folder. Go to "Capabilities" tab and enable Push Notifications. ![push_ios_1](https://github.com/flurry/flutter-flurry-sdk/raw/master/images/push_ios_1.png) + 2. Enable Background Modes (Background Fetch and Remote Notifications turned on). ![push_ios_2](https://github.com/flurry/flutter-flurry-sdk/raw/master/images/push_ios_2.png) Now your `Info.plist` should contain the following items. For more information, please see [Push Setup](https://developer.yahoo.com/flurry/docs/push/integration/ios/). ![push_ios_3](https://github.com/flurry/flutter-flurry-sdk/raw/master/images/push_ios_3.png) + 3. Set up "iOS Authorization" in Flurry [Push Authorization](https://developer.yahoo.com/flurry/docs/push/authorization/). ### tvOS diff --git a/android/build.gradle b/android/build.gradle index ceaf2ce..4841972 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -32,6 +32,6 @@ android { dependencies { // implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) - implementation 'com.flurry.android:analytics:14.1.0' - implementation 'com.flurry.android:marketing:14.1.0' + implementation 'com.flurry.android:analytics:14.2.0' + implementation 'com.flurry.android:marketing:14.2.0' } diff --git a/android/src/main/java/com/flurry/android/flutter/FlurryFlutterPlugin.java b/android/src/main/java/com/flurry/android/flutter/FlurryFlutterPlugin.java index 05365ca..c9b3084 100644 --- a/android/src/main/java/com/flurry/android/flutter/FlurryFlutterPlugin.java +++ b/android/src/main/java/com/flurry/android/flutter/FlurryFlutterPlugin.java @@ -55,7 +55,7 @@ public class FlurryFlutterPlugin implements FlutterPlugin, MethodCallHandler, Ac private static final String TAG = "FlurryFlutterPlugin"; private static final String ORIGIN_NAME = "flutter-flurry-sdk"; - private static final String ORIGIN_VERSION = "3.1.0"; + private static final String ORIGIN_VERSION = "3.2.0"; private Context context; diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 1ea2d28..dc45833 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -53,8 +53,8 @@ flutter { dependencies { // implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) - implementation 'com.flurry.android:analytics:14.1.0' - implementation 'com.flurry.android:marketing:14.1.0' + implementation 'com.flurry.android:analytics:14.2.0' + implementation 'com.flurry.android:marketing:14.2.0' implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' implementation 'com.google.firebase:firebase-messaging:21.1.0' diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 8be4c99..c35c4df 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,8 @@ + + +