Skip to content

Commit

Permalink
Release Flutter SDK version 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Oct 4, 2023
1 parent 052cdc9 commit daf0285
Show file tree
Hide file tree
Showing 35 changed files with 630 additions and 593 deletions.
23 changes: 22 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 7.0.0

##### Breaking
- Updates the native Android bridge [from Braze Android SDK 26.1.1 to 27.0.1](https://github.com/braze-inc/braze-android-sdk/blob/master/CHANGELOG.md#2701).
- Adds support for Gradle 8.

##### Added
- Updates the native iOS bridge [from Braze Swift SDK 6.3.0 to 6.6.1](https://github.com/braze-inc/braze-swift-sdk/compare/6.3.0...6.6.1#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed).
- Adds `BrazePlugin.logFeatureFlagImpression(String id)` to log a Feature Flag impression.
- Adds support for custom user attributes to be nested objects.
- `BrazeUser.setNestedCustomUserAttribute()`
- `BrazeUser.setCustomUserAttributeArrayOfObjects()`
- You can specify that the Dictionary be merged with the existing value.
- `BrazeUser.setNestedCustomUserAttribute(string, Map<string, dynamic>, true)`
- See https://www.braze.com/docs/user_guide/data_and_analytics/custom_data/custom_attributes/nested_custom_attribute_support/ for more information.
- Adds `BrazeUser.setCustomUserAttributeArrayOfStrings()` to set arrays of strings as a custom attribute.
- Adds `BrazePlugin.getCachedContentCards()` to get the most recent content cards from the cache.
- Adds `BrazePlugin.registerPushToken()` to send a push token to Braze's servers.
- Deprecates `BrazePlugin.registerAndroidPushToken()` in favor of this new method.
- Adds an example integration of iOS push notifications as well as custom scheme deep links, [universal links](https://docs.flutter.dev/cookbook/navigation/set-up-universal-links) (iOS), and [app links](https://docs.flutter.dev/cookbook/navigation/set-up-app-links) (Android) to the Flutter sample app.

## 6.0.1

##### Fixed
Expand Down Expand Up @@ -155,7 +176,7 @@
- Custom events and purchases now support nested properties.
- In addition to integers, floats, booleans, dates, or strings, a JSON object can be provided containing dictionaries of arrays or nested dictionaries. All properties combined can be up to 50 KB in total length.
- Adds the ability to restrict the Android automatic integration from natively displaying in-app messages.
- To enable this feature, add this to your `braze.xml` configuration:
- To enable this feature, add this to your `braze.xml` configuration:
```
<string name="com_braze_flutter_automatic_integration_iam_operation">DISCARD</string>
```
Expand Down
3 changes: 0 additions & 3 deletions android/.idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion android/.idea/.name

This file was deleted.

123 changes: 0 additions & 123 deletions android/.idea/codeStyles/Project.xml

This file was deleted.

5 changes: 0 additions & 5 deletions android/.idea/codeStyles/codeStyleConfig.xml

This file was deleted.

6 changes: 0 additions & 6 deletions android/.idea/compiler.xml

This file was deleted.

18 changes: 0 additions & 18 deletions android/.idea/gradle.xml

This file was deleted.

30 changes: 0 additions & 30 deletions android/.idea/jarRepositories.xml

This file was deleted.

9 changes: 0 additions & 9 deletions android/.idea/misc.xml

This file was deleted.

11 changes: 0 additions & 11 deletions android/.idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions android/.idea/vcs.xml

This file was deleted.

7 changes: 4 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.android.tools.build:gradle:8.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -25,7 +25,8 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 31
compileSdkVersion 34
namespace 'com.braze.brazeplugin'

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -51,5 +52,5 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.braze:android-sdk-ui:26.1.1"
implementation "com.braze:android-sdk-ui:27.0.1"
}
Binary file removed android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Loading

0 comments on commit daf0285

Please sign in to comment.