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

Slim down the android app #46

Merged
merged 2 commits into from
Jun 24, 2016
Merged

Conversation

shankari
Copy link
Contributor

So that it launches more quickly.
In particular, versions 5.0 (Lollipop+) which have the system updated webview will no longer use crosswalk

shankari added 2 commits June 23, 2016 17:02
But use the "lite" version so that we don't bloat up the apk again.

With this change, and the changes to only include the parts of the google play
API that we actually use,
e-mission/cordova-jwt-auth#6
e-mission/e-mission-data-collection#116

we're using the most recent version of the crosswalk
apk, while dropping 10MB off the size.

new crosswalk, all google play: won't compile, dex too large
old crosswalk, all google play: 33MB
new crosswalk, selected google play: 22MB
no crosswalk, selected google play: 23MB
@shankari shankari merged commit 112a094 into e-mission:master Jun 24, 2016
shankari added a commit to shankari/e-mission-server that referenced this pull request Jun 28, 2016
As part of the change to slim down the apk for android,
e-mission/e-mission-phone#46,
e-mission/e-mission-data-collection#116
we switched from google play version from 8.1.0 to 8.3.0, which is the version
that has separate jar files, at least in my install.

But this changed the motion activity format - the field names are now `zzaKM`
and `zzaKN` instead of `zzaEg` and `zzaEh`. So we change the formatter on the
server to handle this use case as well.

Note that we should really fix
e-mission/e-mission-data-collection#80
to stop running into this in the future
@shankari shankari deleted the slim_down_app branch July 3, 2016 00:11
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.

1 participant