-
Notifications
You must be signed in to change notification settings - Fork 283
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
SAF-210 - Fix debug build error with apache commons-io lib #775
Conversation
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.
Thanks for this. Hopefully there's a way to make the patch cleaner and isolated from the other.
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 reverted yarn.lock because I don't think that is necessary and all those updates to individual deps should be isolated.
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.
Tested the apk and it works! no red error
* official/develop: Fix EULA modal close icon color (Path-Check#792) feat(i18n) Language updates, May 10 (Path-Check#790) feat(GPS) Store Location Data in an encrypted Realm DB (Path-Check#788) Enable location status checks in testing build (Path-Check#787) fix(Onboarding) Fix EULA links to open in device browser (Path-Check#783) chore(Build) Fix debug build error with apache commons-io lib (Path-Check#775, SAF-210) chore(Testing) snapshot tests for LocationTracking, main/* (Path-Check#785) Only render mayo clinic link when language is english (Path-Check#782) fix(UX) Fix pulse alignment on Android devices with “notch” (Path-Check#771) fix(Location) Improve location "tracking" status checks (Path-Check#749) Fix text crop in About screen (Path-Check#774) [iOS] add missing languages (Path-Check#773)
…ignoring apache commons lib
Description:
On the latest develop build (as of May 6, 2020), installing a debug (Android) APK would result in the app throwing a "red box error" (see attached image), that indicated we were missing a crucial dependency. In a release build, this would manifest as the app crashing.
This fix patches the @mauron85/background-geolocation-android module, per the pull request here: mauron85/background-geolocation-android#31, using patch-package, to address its conflicting apache commons dependency, rather than excluding that dependency for the whole project.
Linked issues:
Screenshots:
How to test:
Install an APK and ensure that the app does not crash on loading, or display a red box error (see attached image)