Skip to content

Commit b856b31

Browse files
authored
0.1.2+2, Consumer ProGuard rules (#56)
1 parent 1136835 commit b856b31

File tree

8 files changed

+36
-11
lines changed

8 files changed

+36
-11
lines changed

splitio/CHANGELOG.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
## 0.1.2+1
1+
## 0.1.2+2 (Dec 7, 2022)
22

3-
* Added exports for models.
3+
Added consumer ProGuard rules for Android.
44

5-
## 0.1.2
5+
## 0.1.2+1 (Sep 14, 2022)
6+
7+
Added exports for models.
8+
9+
## 0.1.2 (Sep 13, 2022)
610

711
* Migrated to federated structure.
812
* Added support for Impression Listener.
@@ -11,11 +15,11 @@
1115
* Added support for manager methods.
1216
* Added support for linking native factory.
1317

14-
## 0.1.1
18+
## 0.1.1 (Aug 19, 2022)
1519

1620
Minor fixes.
1721

18-
## 0.1.0
22+
## 0.1.0 (Aug 3, 2022)
1923

2024
Initial release.
2125

splitio/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: splitio
22
description: Official plugin for split.io, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience.
3-
version: 0.1.2+1
3+
version: 0.1.2+2
44
homepage: https://split.io/
55
repository: https://github.com/splitio/flutter-sdk-plugin/tree/main/splitio/
66

@@ -19,7 +19,7 @@ flutter:
1919
dependencies:
2020
flutter:
2121
sdk: flutter
22-
splitio_android: ^0.1.2
22+
splitio_android: ^0.1.2+1
2323
splitio_ios: ^0.1.2
2424
splitio_platform_interface: ^1.0.0
2525

splitio_android/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
# 0.1.2
1+
## 0.1.2+1 (Dec 7, 2022)
2+
3+
Added Consumer ProGuard rules.
4+
5+
## 0.1.2 (Aug 13, 2022)
26

37
Splits from `splitio` as federated implementation.

splitio_android/android/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ android {
3131

3232
defaultConfig {
3333
minSdkVersion 16
34+
35+
consumerProguardFiles 'split-proguard-rules.pro'
3436
}
3537

3638
dependencies {
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Please include these rules in your project
2+
# in order to make Split code work properly when
3+
# using proguard
4+
-keep class io.split.android.client.dtos.* { *; }
5+
-keep class io.split.android.client.storage.db.** { *; }
6+
-keep public class io.split.android.client.service.sseclient.SseJwtToken.** { *; }
7+
-keep public class io.split.android.client.service.sseclient.SseAuthToken.** { *; }
8+
-keep public class io.split.android.client.service.sseclient.SseAuthenticationResponse.** { *; }
9+
-keep class io.split.android.client.service.sseclient.notifications.** { *; }
10+
-keepattributes Signature
11+
-keep class com.google.gson.reflect.TypeToken { *; }
12+
-keep class * extends com.google.gson.reflect.TypeToken
13+
-keepclassmembers,allowobfuscation class * {
14+
@com.google.gson.annotations.SerializedName <fields>;
15+
}

splitio_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: splitio_android
22
description: The official Android implementation of splitio Flutter plugin.
33
repository: https://github.com/splitio/flutter-sdk-plugin/tree/main/splitio_android
4-
version: 0.1.2
4+
version: 0.1.2+1
55

66
environment:
77
sdk: ">=2.16.2 <3.0.0"

splitio_ios/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# 0.1.2
1+
# 0.1.2 (Aug 13, 2022)
22

33
Splits from `splitio` as federated implementation.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# 1.0.0
1+
# 1.0.0 (Aug 13, 2022)
22

33
Initial release.

0 commit comments

Comments
 (0)