Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Add imports to fix ejecting on Android with userInterfaceStyle set #2001

Merged
merged 2 commits into from
Apr 27, 2020

Conversation

brentvatne
Copy link
Member

If you eject an app on Android with userInterfaceStyle set to automatic then we will add some code to MainActivity that will not work because it depends on classes that haven't been imported. This adds those imports.

@codecov-io
Copy link

codecov-io commented Apr 26, 2020

Codecov Report

Merging #2001 into master will increase coverage by 0.11%.
The diff coverage is 100.00%.

Flag Coverage Δ
#babelPresetCli 100.00% <ø> (ø)
#config 60.90% <100.00%> (+0.27%) ⬆️
#expoCli 29.09% <ø> (ø)
#expoCodemod 83.81% <ø> (ø)
#jsonFile 65.49% <ø> (ø)
#metroConfig 58.83% <ø> (ø)
#packageManager 16.67% <ø> (ø)
#plist 70.64% <ø> (ø)
#pwa 34.32% <ø> (ø)
#schemer 69.88% <ø> (ø)
#uriScheme 32.05% <ø> (ø)
#webpackConfig 53.41% <ø> (ø)
#xdl 23.37% <ø> (ø)
@@            Coverage Diff             @@
##           master    #2001      +/-   ##
==========================================
+ Coverage   44.90%   45.01%   +0.11%     
==========================================
  Files         103      103              
  Lines        4283     4291       +8     
  Branches     1036     1037       +1     
==========================================
+ Hits         1923     1931       +8     
  Misses       1635     1635              
  Partials      725      725              

@brentvatne brentvatne merged commit 4271dee into master Apr 27, 2020
@brentvatne brentvatne deleted the @brent/fix-android-eject-userInterfaceStyle branch April 27, 2020 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants