New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: added proguard rules for R8 strict mode #116
Conversation
@@ -2,14 +2,14 @@ group 'io.customer.customer_io' | |||
version '1.0-SNAPSHOT' | |||
|
|||
buildscript { | |||
ext.kotlin_version = '1.6.10' | |||
ext.kotlin_version = '1.7.21' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are matching the android SDK versions
@@ -16,7 +16,7 @@ dependencies: | |||
dev_dependencies: | |||
flutter_test: | |||
sdk: flutter | |||
flutter_lints: ^2.0.0 | |||
flutter_lints: ^3.0.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a dev dependency
|
||
import 'package:customer_io/customer_io.dart'; | ||
import 'package:customer_io/customer_io_inapp.dart'; | ||
import 'package:firebase_core/firebase_core.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏻
@@ -78,7 +68,7 @@ flutter { | |||
} | |||
|
|||
dependencies { | |||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | |||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.21" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid hardcoding versions, as they are error-prone and harder to track when updating,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, left it for gradle 8 changes to not complicate this one.
## [1.3.2](1.3.1...1.3.2) (2024-04-08) ### Bug Fixes * added proguard rules for R8 strict mode ([#116](#116)) ([9946fe7](9946fe7))
helps: MBL-229 : Proguard rules for Android
What it does: