Skip to content
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

Merged
merged 2 commits into from Apr 8, 2024

Conversation

Shahroz16
Copy link
Collaborator

helps: MBL-229 : Proguard rules for Android

What it does:

@Shahroz16 Shahroz16 requested a review from a team April 8, 2024 17:45
@@ -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'
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused imports

Copy link
Contributor

@mrehan27 mrehan27 left a 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"
Copy link
Contributor

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,

Copy link
Collaborator Author

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.

@Shahroz16 Shahroz16 merged commit 9946fe7 into main Apr 8, 2024
4 checks passed
@Shahroz16 Shahroz16 deleted the shahroz/flutter-updates branch April 8, 2024 18:03
github-actions bot pushed a commit that referenced this pull request Apr 8, 2024
## [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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants