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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android] Remove obsolete assets from standalone apps #2850

Merged
merged 2 commits into from Nov 30, 2018

Conversation

sjchmiela
Copy link
Contributor

@sjchmiela sjchmiela commented Nov 29, 2018

Why

kernel.android.bundle isn't used in standalone apps yet we include it in every ejected or standalone apps. expo/expo-cli#225 will ensure this file is removed from sources when building app, so we shouldn't point an embedded response to it.

EmojiOne.ttf firstly isn't a valid TTF file, secondly doesn't seem to be used anywhere anymore.

How

Remove embedded response from Constants.java, remove EmojiOne.ttf and its licence from THIRD-PARTY-LICENSES.

Test Plan

I'll deploy staging Turtle with this change and see if the app works properly.

It does! APK

This PR cuts down APK size by 5 MBs (3 MBs for EmojiOne.ttf, 2 MBs for kernel.android.bundle). 馃帀

Copy link
Contributor

@esamelson esamelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thanks for taking care of this!

@sjchmiela sjchmiela force-pushed the @sjchmiela/remove_kernel_android_bundle branch from fd80a1b to c4a0400 Compare November 30, 2018 10:33
@sjchmiela sjchmiela merged commit 068c592 into master Nov 30, 2018
@sjchmiela sjchmiela deleted the @sjchmiela/remove_kernel_android_bundle branch November 30, 2018 10:47
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.

None yet

2 participants