2695 Commits
Author SHA1 Message Date
Brent Vatne caa0173d89 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2021-06-23 10:37:34 -07:00
Evan Bacon 625294bb81 Update getAndroidSplashConfig.ts 2021-06-23 11:19:21 -06:00
Evan Bacon 43b4f2274d [splash-screen] Extend default theme (#3558)
* Extend default theme

* Update Styles-test.ts
2021-06-23 11:18:19 -06:00
Evan Bacon a863185662 Make the status bar translucent by default (#3578) 2021-06-23 11:17:48 -06:00
Evan Bacon 1f21b216c7 [prebuild config] Created android splash plugin (#3576)
* Created new Android splash plugins

* [wip] Added tests

* Update withAndroidSplashStyles.ts

* extend default style

* Refactor

* Update withAndroidSplashStyles.ts

* Update withAndroidSplashStyles.ts

* Added colorsNight mod

* Update withAndroidSplashImages.ts

* Update withAndroidSplashDrawables.ts

* Update withAndroidSplashStyles.ts

* Remove expo/configure-splash-screen from config plugins

* Update StatusBar.ts

* fixup tests

* Support no splash config

* PR feedback

* Added explicit spaces to regex
2021-06-23 11:16:50 -06:00
Evan Bacon 094c71140c [run] prompt for scheme (#3587)
* prompt for scheme

* Added default scheme style

* Update BuildScheme.ts

* clean up
2021-06-23 10:52:31 -06:00
Evan Bacon 8f00c63576 Lazy load heavy modules (#3598)
* Lazy load heavy modules

* Update package.json
2021-06-23 10:52:01 -06:00
Evan Bacon d31ae74923 Import Command as type (#3597) 2021-06-23 10:05:28 -06:00
Brent Vatne 5a400d1a9e Update CHANGELOG and commit schema cache 2021-06-21 16:51:56 -07:00
Brent Vatne 86ff226740 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2021-06-21 16:24:32 -07:00
Evan Bacon 1cb14f0989 [Metro] Created a custom metro babel transformer (#3282)
* Created a custom metro babel transformer

* Allow for overwriting

* remove extra unused transformer
2021-06-21 17:34:51 -05:00
darnfishandBartłomiej Klocek 0eaf320a79 Remove expo upload:ios cmd copy (#3593)
Co-authored-by: Bartłomiej Klocek <[email protected]>
2021-06-21 14:03:10 -07:00
Evan Bacon 79a50a8aa8 Wrap CLI message 2021-06-18 15:28:34 -05:00
Evan Bacon 364bd14891 [run:ios] Improve multi-target support by signing all targets at once (#3583)
* Improve multi-target by signing all targets at once

* Update developmentCodeSigning-test.ts
2021-06-17 18:16:34 -05:00
Evan Bacon c617577b1b Add workaround for broken shitty glob library (#3585) 2021-06-17 17:10:54 -05:00
Evan Bacon d8e9b51e3a [config-plugins] Default version number to 1.0.0 (#3582)
* Default version number to 1.0.0

* Update Version-test.ts
2021-06-17 16:48:30 -05:00
jkh 930544a597 [config-plugins] add EXUpdatesRequestHeaders to ExpoPlist type (#3577) 2021-06-17 13:39:00 -07:00
Evan Bacon d208d882fb [expo-cli][export] Prevent testing against bundle hashes (#3580)
* Prevent testing against bundle hashes

* Update export-test.ts
2021-06-16 15:32:20 -05:00
Ville Immonen 7d18ef1e7a Add analytics to dev client commands (#3521) 2021-06-16 12:44:43 +03:00
jkh 7f63d4e0d3 [config-plugins] add config request headers enum (#3571) 2021-06-14 07:15:54 -07:00
Evan Bacon 0ee84e4bb9 [config plugins] Remove permission side effects (#3565) 2021-06-12 21:24:54 -05:00
Brent Vatne 31954a8cc3 Commit schema and update changelog 2021-06-11 18:45:30 -07:00
Brent Vatne d53eadc503 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2021-06-11 18:33:29 -07:00
Evan Bacon fcbe8a7dcc [config] ios splash screen plugin (#2706)
* Import ios code from splash migration

* working variation with limited functionality

* Update SplashScreen.ts

* Update SplashScreen.ts

* added tests

* updated plugins

* Update Paths.ts

* revert

* Move xcode util

* extract status bar code

* Update SplashScreen.ts

* Update StatusBar.ts

* Update SplashScreen.ts

* Updated types

* updated tests

* support incoming parameters

* Update SplashScreen.ts

* move StatusBar

* Update index.ts

* Update SplashScreen.ts

* improve testing

* XML splash screen API

* run once

* Update SplashScreen-test.ts

* update splash screen plugin

* Update Xcodeproj.ts

* moved status bar changes to #3131

* Update SplashScreen.ts

* update

* Delete SplashScreen-test.ts

* Update InterfaceBuilder.ts

* Update withIosSplashScreen.ts

* Added support for more test props

* Update withIosSplashScreen.ts

* Update withIosSplashScreen-test.ts

* refactor

* allow missing image

* revise debug label

* Updated tests

* Update withIosSplashInfoPlist.ts

* Update withIosSplashInfoPlist.ts

* Update InterfaceBuilder.ts
2021-06-10 13:33:00 -05:00
Kudo Chien 3229162cfd [expo-cli] Enhance Hermes support for expo export and publish (#3536)
# Why

this pr addresses some missing parts of hermes support.

# How

1. add hermes bytecode bundle to `printBundleSizes`.
2. add hermes bytecode bundle support for `expo publish`.
3. support managed workflow by reading the `android.jsEngine` config in app.json.
4. `android.jsEngine` in app.json is now the single source of truth to determine  if we need to generate hermes bytecode bundle.
5. introduce `maybeInconsistentEngineAsync()` to show an error prompt if there are inconsistencies between app config and native project.

# Test Plan

1. expo export + managed workflow app with `android.jsEngine=hermes` in app.json.
    make sure exported assets has hermes bytecode bundle.

2. expo publish + managed workflow app with `android.jsEngine=hermes` in app.json.
    download the asset and make sure it is a hermes bytecode bundle.

### Unit Test

```
packages/dev-server/src/__tests__/HermesBundler-test.ts
  maybeInconsistentEngineAsync - android
     should return false for managed project
     should return false if "enableHermes: true" in app/build.gradle and "jsEngine: 'hermes'" in app.json (1 ms)
     should return true if "enableHermes: false" in app/build.gradle and "jsEngine: 'hermes'" in app.json
     should return false if "expo.jsEngine=hermes" in gradle.properties and "jsEngine: 'hermes'" in app.json (2 ms)
     should return false for default sdk41 bare project
     should return true for default sdk41 bare project but user enabled hermes manually
     should handle the inconsistency between app/build.gradle and gradle.properties
```
2021-06-11 01:34:52 +08:00
Ville Immonen 5e5a49c42a [expo-cli] Use the default scheme to launch managed dev client apps (#3569) 2021-06-10 17:36:16 +03:00
Evan Bacon a17e23281a Patch android status bar to match the color of the splash screen (#3563)
* Patch android status bar to match the color of the splash screen

* Update packages/config-plugins/src/android/StatusBar.ts

* Update StatusBar.ts

* Update StatusBar-test.ts

* Update withAndroidSplashScreen.ts
2021-06-09 20:59:06 -05:00
Evan Bacon 40143eac1b [config plugins] Refactor debug contents on android (#3566)
* Refactor debug contents on android

* Update Package.ts
2021-06-09 20:58:31 -05:00
Evan Bacon 48a5721989 Add support for legacy android icons (#3567) 2021-06-09 20:57:44 -05:00
Evan Bacon 6b80286697 Migrate expo-ads-admob plugin to prebuild-config (#3520)
* Migrate expo-ads-admob plugin to prebuild

* Update withAndroidAdMob-test.ts

* fix lint
2021-06-09 14:12:02 -05:00
Evan Bacon 3d021f60b5 Add prebuild-config to CI (#3564)
* Add prebuild-config to CI

* Update withAndroidNotifications-test.ts
2021-06-09 14:10:38 -05:00
Cedric van PuttenandBrent Vatne 4e3ed93f4c [xdl] Update watchman version check to allow new format (#3553)
* [xdl] Update watchman version check to allow new format

* Update packages/xdl/src/project/Doctor.ts

Co-authored-by: Brent Vatne <[email protected]>

Co-authored-by: Brent Vatne <[email protected]>
2021-06-09 19:30:13 +02:00
Evan Bacon c56b0bd2a8 Remove bare typescript template (#3562) 2021-06-09 10:56:11 -05:00
Ville Immonen 2b03a0771e Add support for Android dev client on managed projects (#3561) 2021-06-09 16:34:31 +03:00
Evan Bacon a02c899798 Update package.json 2021-06-08 12:40:24 -05:00
Ville Immonen b8807bc773 Allow expo start --dev-client in managed projects (#3523) 2021-06-08 15:46:04 +03:00
Evan Bacon f3fe9e38b5 Remove nullthrows (#3546) 2021-06-07 15:06:19 -05:00
Evan Bacon bc725a634d Allow auto plugin adding on install for any version (#3557)
* Allow auto plugin adding on install for any version

* Update modifyConfigAsync.ts
2021-06-07 14:25:25 -05:00
Evan Bacon 319fd7be67 Added expo-cellular to the list of default plugins (#3550) 2021-06-07 13:10:01 -05:00
Evan Bacon 5f45b7fe0c Update openDevTools.ts 2021-06-07 11:50:16 -05:00
Evan Bacon 13738d241b Removed default push notifications entitlement (#3497) 2021-06-03 15:22:13 -05:00
Evan Bacon bf83ba9c6b Update naming to reflect best practices (#3544)
* Update naming to reflect best practices

* Update setupWarnings.ts
2021-06-03 15:20:21 -05:00
Evan Bacon 174e20848f fix #3473 (#3545) 2021-06-03 15:20:11 -05:00
Jon Samp 43a6162edd [expo-cli] Add /projects to website build url (#3542) 2021-06-03 13:53:50 -04:00
Ville Immonen 3a0ef962a2 Fix a typo in Manifest.ts (#3541) 2021-06-03 13:33:49 +03:00
Evan Bacon 573de6b891 [config plugins] add styles and colors mods (#3539)
* Added colors and styles mods

* Update NavigationBar.ts

* Update PrimaryColor.ts

* Update RootViewBackgroundColor.ts

* Update StatusBar.ts

* Update NavigationBar-test.ts

* Update PrimaryColor-test.ts

* Update RootViewBackgroundColor-test.ts

* Update StatusBar-test.ts

* Update StatusBar-test.ts

* Updated Notifications plugins

* Updated withAndroidIcons

* Cleaned up tests

* Clean up prebuild-config colors plugins

* Added new colors shorthand

* Added new styles shorthand

* Added new testing system for PrimaryColor

* Apply new testing to RootViewBackgroundColor

* Clean up testing interface
2021-06-02 17:42:54 -05:00
Evan Bacon bf8cec7873 Remove unused transformer (#3535) 2021-06-02 11:47:00 -05:00
Evan Bacon 2cc921f3a1 Update ExpoConfig.ts 2021-06-02 11:44:33 -05:00
Kudo Chien 534e3b1c46 [config-plugins] Support android.jsEngine in app.json (#3530)
# Why

to support hermes for managed workflow
closes [ENG-1222](https://linear.app/expo/issue/ENG-1222)

# How

add config-plugins and prebuild-configs to read `android.jsEngine` from app.json and update `expo.jsEngine` in `gradle.properties`

# Test Plan

### Unit Test

```
packages/config-plugins/src/android/__tests__/JsEngine-test.ts
  jsEngine
    returns default engine if no engine is provided (2 ms)
    return the engine if provided
    set the property if no property is existed (2 ms)
    overwrite the property if an old property is existed
```
2021-06-02 09:36:06 +08:00
Evan Bacon 9aec0a4714 Bump expo/xcpretty (#3538) 2021-06-01 18:52:24 -05:00