Closed aaronxsu closed 2 years ago
Hey @maurizi , I continued from where we left off in the pairing and chased down some more Android linter warnings. They are included in this commit https://github.com/azavea/cac-tripplanner-android/pull/199/commits/a486e2a7a2355fde8fe8ec1495a28a32a5d85a35
Please let me know if it needs changes, and/or if we should create an issue to resolve all remaining warnings too.
Overview
This PR:
targetSdkVersion
andcompileSdkVersion
to version 30minSdkVersion
to version 21Notes
The update of
minSdkVersion
to version 21 has two reasons:Unable to get provider com.google.firebase.provider.FirebaseInitProvider
error occurred. Some google search indicated that addingMultidex
support would fix the issue, which then opened up a can of warms.okHttp
reported an errorExpected Android API level 21+ but was 19
. The suggestion here was obvious, plus starting from sdk version 21,Multidex
support is built-in, which means no code base change neededTesting Instructions
api_keys.xml
andgoogle-services.json
can be found in LastPassapi_keys.xml
, log in with your Google Account, and use the debug token rather than the release token. And paste this debug token in your localapi_keys.xml
Closes https://github.com/azavea/cac-tripplanner-android/issues/196