fix(Android): fixed deprecated APPLICATION_ID for failed builds#3710
fix(Android): fixed deprecated APPLICATION_ID for failed builds#3710FrenchBully wants to merge 4 commits intoinvertase:masterfrom
Conversation
|
The other way to fix this was to refactor and take BuildConfig out, vs using these statics, I'm not sure the LIBRARY_PACKAGE_NAME is the right direction? Is it a breaking change even, since it would be a different constant I think? From @Salakar on linked issue
|
|
@mikehardy does the recent changes fit the intended use or are you expecting another way to fetch package name? Sorry, I forgot to mention I'm not a Java engineer. Just learning through it. Thanks for any feedback and insights. |
|
@Salakar Android Studio 4.0 just came out today so everyone is going to break android builds unless either this is merged or you refactor out in the way you mentioned and I quoted above |
|
@FrenchBully I think Mike (Salakar) was thinking of something different but we've run out of time since Android Studio 4 just went general release. We'll see what he says |
|
Actually your last commit looks like what was sketched out (sorry I didn't see it until now) investigating why it didn't compile. Must be something simple - this isn't a crazy change and I am a Java programmer :-), give me a minute |
packages/crashlytics/android/src/main/java/io/invertase/firebase/crashlytics/Constants.java
Show resolved
Hide resolved
mikehardy
left a comment
There was a problem hiding this comment.
I think if you commit my suggestion then the symbol will be found and it will work
…se/crashlytics/Constants.java
|
..actually I had the ability to commit it, we'll see |
|
My attempt only made it worse ;-), @Salakar just fixed it for real and released - @FrenchBully thanks for giving it a go either way, definitely got it moving and just in time - much appreciated |
Description
This PR is to resolve the issue with deprecated APPLICATION_ID on Android documented here
Unable to build App to Android:
Related issues
Fixes #3254
Issue - 3254: deprecated APPLICATION_ID
Release Summary
APPLICATION_IDto useLIBRARY_PACKAGE_NAMEChecklist
AndroidiOSe2etests added or updated inpackages/\*\*/e2ejesttests added or updated inpackages/\*\*/__tests__Test Plan
Think
react-native-firebaseis great? Please consider supporting the project with any of the below:React Native FirebaseandInvertaseon Twitter