Conversation
|
( |
| @@ -1,7 +1,7 @@ | |||
| dependencyLocking { | |||
| lockAllConfigurations() | |||
There was a problem hiding this comment.
We still need to lock the dependencies, this might lead to a large amount of changes.
jyyi1
left a comment
There was a problem hiding this comment.
Thanks for the update. I have left some comments.
Android/app/build.gradle
Outdated
| implementation 'com.google.firebase:firebase-crashlytics:18.2.6' | ||
| implementation 'com.google.firebase:firebase-crashlytics-ndk:18.2.6' | ||
| implementation 'com.google.firebase:firebase-config:21.0.1' | ||
| implementation 'com.google.firebase:firebase-analytics:22.1.2' // Last version for API <19 |
There was a problem hiding this comment.
I think this comment is not accurate any more?
| implementation 'com.google.firebase:firebase-analytics:22.1.2' // Last version for API <19 | |
| implementation 'com.google.firebase:firebase-analytics:22.1.2' |
| buildFeatures { | ||
| buildConfig = true | ||
| } |
There was a problem hiding this comment.
Are we using it anywhere in the code? If not, I think we can remove this.
There was a problem hiding this comment.
yes, we are actually using it (code:
)but, we could change the implementation, instead of using BuildConfig. like, differentiate LogWrapper for release and debug (src/debug/) mode. wdyt?
| android.nonTransitiveRClass=false | ||
| android.nonFinalResIds=false No newline at end of file |
There was a problem hiding this comment.
Are these two settings necessary?
There was a problem hiding this comment.
well, starting Android Gradle Plugin (AGP) version 8.0 and above, the default value for:
android.nonTransitiveRClass & android.nonFinalResIds are true.
android.nonTransitiveRClass=> each module's R class only includes resources defined within that specific module. It does not include resources from its dependencies.android.nonFinalResIds=> means that resource IDs are generated as non-final by default, allowing for potential modifications at runtime.
Also, I don't think we need to change how it's done, since I'm worried it might mess up other stuff.
There was a problem hiding this comment.
my suggestion is, if we're going to change these, we should do it in a separate PR. wdyt?
Fakrul877
left a comment
There was a problem hiding this comment.
Bagus dan terima kasih untuk amati segalanya mungkin tak bisa saya dalami dan saya juga pengguna baru tolong lah beri tunjuk ajar
|
FYI, I have created #544 to only upgrade AGP to the minimum viable version (without too much dependency update), this should unblock most of the work flows. |
thank you! I will close the PR then 👍🏻 |

Compile Success
Changes