Skip to content

Commit

Permalink
Release Flutter SDK version 11.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Sep 26, 2024
1 parent c7158e9 commit c2ca702
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
⚠️ In version 3.0.0, we changed the iOS bridge from AppboyKit, which is written in Objective-C, to the new [Swift SDK](https://github.com/braze-inc/braze-swift-sdk). If you are upgrading from a version below 3.0.0 to a version above 3.0.0, please read [the instructions](https://github.com/braze-inc/braze-flutter-sdk/blob/master/CHANGELOG.md#300) to ensure a smooth transition and backward compatibility.

## 11.1.0

##### Added
- Updates the native iOS bridge [from Braze Swift SDK 10.2.0 to 10.3.1](https://github.com/braze-inc/braze-swift-sdk/compare/10.2.0...10.3.1#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed).

## 11.0.0

##### Breaking
Expand Down Expand Up @@ -52,6 +57,7 @@
- On iOS, this callback can only be triggered for push click events.
- Reference our [Flutter Push Notification documentation](https://www.braze.com/docs/developer_guide/platform_integration_guides/flutter/push_notifications) with details on how to utilize this feature.
- This feature is compatible with the `replayCallbacksConfigKey` to replay the push event callback for any notifications that were received prior to calling `subscribeToPushNotificationEvents`.
- Due to [an issue in the Flutter framework](https://github.com/flutter/flutter/issues/155479), this feature is not compatible with subscribing to [iOS silent push notifications](https://developer.apple.com/documentation/usernotifications/pushing-background-updates-to-your-app#Receive-background-notifications).
- Adds support for Braze tracking properties.
- Adds the `updateTrackingPropertyAllowList(allowList)` method to dynamically configure Braze tracking properties.
- For further usage details, refer to the [Swift privacy manifest documentation](https://www.braze.com/docs/developer_guide/platform_integration_guides/swift/privacy_manifest/).
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ end

# Pods for sample Braze Rich Push Notifications integration.
target 'BrazeFlutterRichPush' do
pod 'BrazeNotificationService'
pod 'BrazeNotificationService', '~> 10.3.1'
end

# Pods for sample Braze Push Stories integration.
target 'BrazeFlutterPushStory' do
pod 'BrazePushStory'
pod 'BrazePushStory', '~> 10.3.1'
end

post_install do |installer|
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import braze_plugin
let brazeApiKey = "9292484d-3b10-4e67-971d-ff0c0d518e21"
let brazeEndpoint = "sondheim.braze.com"

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {

// These subscriptions need to be retained to be active
Expand Down Expand Up @@ -54,7 +54,7 @@ let brazeEndpoint = "sondheim.braze.com"
"""
=> [Push Event Subscription] Received push event:
- type: \(payload.type)
- title: \(payload.title ?? "<empty>"))
- title: \(payload.title ?? "<empty>")
- isSilent: \(payload.isSilent)
"""
)
Expand Down
6 changes: 3 additions & 3 deletions ios/braze_plugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Pod::Spec.new do |s|
s.static_framework = true

s.dependency 'Flutter'
s.dependency 'BrazeKit', '~> 10.2.0'
s.dependency 'BrazeLocation', '~> 10.2.0'
s.dependency 'BrazeUI', '~> 10.2.0'
s.dependency 'BrazeKit', '~> 10.3.1'
s.dependency 'BrazeLocation', '~> 10.3.1'
s.dependency 'BrazeUI', '~> 10.3.1'

s.ios.deployment_target = '12.0'
end
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: braze_plugin
description: This is the Braze plugin for Flutter. Effective marketing automation is an essential part of successfully scaling and managing your business.
version: 11.0.0
version: 11.1.0
homepage: https://www.braze.com/
repository: https://github.com/braze-inc/braze-flutter-sdk

Expand Down

0 comments on commit c2ca702

Please sign in to comment.