Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Update for v2.2.1
Browse files Browse the repository at this point in the history
- Fix iOS CocoaPods build failures
  • Loading branch information
poting-oath committed Aug 1, 2022
1 parent e77d0c0 commit 91a2ab5
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 10 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
* [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/)

# v2.2.0 (2022-07-12)
### v2.2.1 (2022-08-02)

#### Bug Fixes

* Fix iOS CocoaPods build failures

## v2.2.0 (2022-07-12)

#### Features

Expand All @@ -13,7 +19,7 @@

* Fix iOS CocoaPods build failures

# v2.1.0 (2022-05-26)
## v2.1.0 (2022-05-26)

#### Features

Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,21 @@ A Flutter plugin for Flurry SDK
### iOS
- Define a global platform for your project in `Podfile`.
```groovy
platform :ios, '10.0'
```
- **Flurry Push**</br>
To set up Flurry Push, please take the following steps.
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/main/images/push_ios_1.png)
![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/main/images/push_ios_2.png)
![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/main/images/push_ios_3.png)
![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
Expand Down Expand Up @@ -447,8 +453,8 @@ See [Android](https://flurry.github.io/flurry-android-sdk/analytics/index.html)-
mixin MessagingListener{
bool onNotificationReceived(Message message);
bool onNotificationClicked(Message message);
void onNotificationCancelled(Message message);
void onTokenRefresh(String token);
void onNotificationCancelled(Message message); // Android only
void onTokenRefresh(String token); // Android only
}
class Message {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,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 = "2.2.0";
private static final String ORIGIN_VERSION = "2.2.1";

private Context context;

Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/FlurryFlutterPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#endif

NSString *originName = @"flutter-flurry-sdk";
NSString *originVersion = @"2.2.0";
NSString *originVersion = @"2.2.1";

static FlurryFlutterPlugin* sharedInstance;

Expand Down
1 change: 1 addition & 0 deletions ios/flutter_flurry_sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ A new flutter plugin project.
s.dependency 'Flurry-iOS-SDK/FlurryMessaging', "~> #{sdkVersion}"
s.dependency 'Flurry-iOS-SDK/FlurryConfig', "~> #{sdkVersion}"
s.platform = :ios, '10.0'
s.static_framework = true

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
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: flutter_flurry_sdk
description: A Flutter plugin for Flurry Analytics SDK. Flurry Push for messaging and Flurry Config for remote configuration are supported by our plugin as well!
version: 2.2.0
version: 2.2.1
homepage: https://www.flurry.com/
repository: https://github.com/flurry/flutter-flurry-sdk

Expand Down

0 comments on commit 91a2ab5

Please sign in to comment.