Skip to content

Commit 5e2078a

Browse files
committed
Release Flutter SDK version 12.0.0
1 parent c2ca702 commit 5e2078a

File tree

15 files changed

+1238
-308
lines changed

15 files changed

+1238
-308
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
⚠️ 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.
22

3+
## 12.0.0
4+
5+
##### Breaking
6+
- Updates the native iOS bridge [from Braze Swift SDK 10.3.1 to 11.3.0](https://github.com/braze-inc/braze-swift-sdk/compare/10.3.1...11.3.0#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed).
7+
- Updates the native Android bridge [from Braze Android SDK 32.1.0 to 33.1.0](https://github.com/braze-inc/braze-android-sdk/compare/v32.1.0...v33.1.0#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed).
8+
39
## 11.1.0
410

511
##### Added
@@ -51,6 +57,7 @@
5157
- The minimum supported Xcode version is 15.2.
5258
- Updates the native Android bridge [from Braze Android SDK 29.0.1 to 30.3.0](https://github.com/braze-inc/braze-android-sdk/compare/v29.0.1...v30.3.0#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed).
5359
- The minimum supported Dart version is `2.15.0`.
60+
- The minimum supported Swift Language Version is Swift 5.
5461

5562
##### Added
5663
- Push notification payloads are now accessible in the Dart layer by calling `subscribeToPushNotificationEvents(void Function(BrazePushEvent) onEvent)`. This allows you to run custom Dart code after a push is received or when a push is clicked.

android/build.gradle

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ version '1.0-SNAPSHOT'
33

44
buildscript {
55
ext.kotlin_version = '1.6.21'
6+
ext.detekt_version = '1.19.0'
7+
68
repositories {
79
google()
810
mavenCentral()
@@ -11,6 +13,7 @@ buildscript {
1113
dependencies {
1214
classpath 'com.android.tools.build:gradle:8.1.1'
1315
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
16+
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detekt_version"
1417
}
1518
}
1619

@@ -23,9 +26,10 @@ rootProject.allprojects {
2326

2427
apply plugin: 'com.android.library'
2528
apply plugin: 'kotlin-android'
29+
apply plugin: 'io.gitlab.arturbosch.detekt'
2630

2731
android {
28-
compileSdkVersion 34
32+
compileSdkVersion 35
2933
namespace 'com.braze.brazeplugin'
3034

3135
sourceSets {
@@ -50,13 +54,45 @@ android {
5054
}
5155
}
5256

57+
detekt {
58+
// Preconfigure defaults
59+
buildUponDefaultConfig = true
60+
// Activate all available (even unstable) rules.
61+
allRules = false
62+
// Point to your custom config defining rules to run, overwriting default behavior
63+
config = files("config/detekt/detekt.yml")
64+
// A way of suppressing issues before introducing detekt
65+
baseline = file("$rootDir/config/detekt/baseline.xml")
66+
67+
source = files(
68+
"src/main/kotlin",
69+
"src/androidTest/java",
70+
"src/debug/java",
71+
"src/test/java",
72+
)
73+
74+
reports {
75+
// Observe findings in your browser with structure and code snippets
76+
html.enabled = true
77+
// Checkstyle like format mainly for integrations like Jenkins
78+
xml.enabled = true
79+
// similar to the console output, contains issue signature to manually edit baseline files
80+
txt.enabled = true
81+
// Standardized SARIF format (https://sarifweb.azurewebsites.net/) to support integrations with Github Code Scanning
82+
sarif.enabled = true
83+
}
84+
parallel = true
85+
}
86+
5387
dependencies {
5488
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
55-
implementation "com.braze:android-sdk-ui:32.1.0"
89+
implementation "com.braze:android-sdk-ui:33.1.0"
5690

5791
androidTestImplementation "org.mockito:mockito-android:3.12.4"
5892
androidTestImplementation "junit:junit:4.13.2"
5993
androidTestImplementation "org.mockito:mockito-core:3.12.4"
6094
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:3.2.0"
6195
androidTestImplementation("androidx.test:runner:1.5.2")
96+
97+
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.21.0")
6298
}

0 commit comments

Comments
 (0)