174 Commits
Author SHA1 Message Date
Brent Vatne ca2116669c Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected].0
 - [email protected]
2021-07-16 11:09:46 -07:00
Kudo Chien cf2d5914f9 [config-plugins] Fix addJavaImports broken for kotlin files (#3668) 2021-07-15 13:14:48 -06:00
Evan Bacon 397a6766d0 Switch requiresFullScreen to false in SDK 43 (#3650)
* Switch requiresFullScreen to false in SDK 43

* Update yarn.lock

* Update versions.ts

* Update versions.ts
2021-07-09 20:06:01 -06:00
Evan Bacon 482247efd2 Warn about babel config changing (#3638)
* Warn about babel config changing

* Update Scheme.ts
2021-07-06 23:35:27 -06:00
Evan Bacon abba78d101 [config-plugins] Sort results for predictable rewrites (#3609)
* Sort results for predictable rewrites

* Update withDefaultPlugins-test.ts.snap
2021-07-05 20:52:25 -06:00
Kim Brandwijk beefed95d0 Handle empty entries when parsing URL types in iOS projects (#3627)
* Handle empty url type entries

A newly created URL type entry in XCode doesn't have any properties yet, so it's not safe to assume the CFBundleURLSchemes property exists and is an array.

Resolves #3625.

* style: adhere to code styling feedback from test runner
2021-07-05 19:12:48 -06:00
Dominik Sokal 738cc4e154 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-07-05 13:49:26 +02:00
Dominik Sokal e1b0046ff4 [config-plugins] fix expo updates native configuration checks (#3634) 2021-07-05 13:22:45 +02:00
Wojciech KozyraandDominik Sokal 8f551d8985 [config-plugins] check if EAS_BUILD env is set (#3624)
* [config-plugins] check if EAS_BUILD env is set

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

Co-authored-by: Dominik Sokal <[email protected]>

Co-authored-by: Dominik Sokal <[email protected]>
2021-07-01 15:11:42 +02:00
Evan Bacon 1221f533c9 Add to the main target if possible (#3616) 2021-06-25 19:16:37 -06:00
Evan Bacon 193131fc68 Resolve exact Info.plist filepath (#3617)
* Resolve exact Info.plist filepath

* Clean up

* Added failing

* Added tests

* Update BundleIdentifier.ts
2021-06-25 19:16:27 -06:00
Brent Vatne 754c9ff008 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-25 13:37:40 -07:00
Evan Bacon 89dc37c10c Added debug logs 2021-06-25 14:03:51 -06:00
Evan Bacon d1025b21b8 Added createPermissionsPlugin (#3607) 2021-06-24 14:16:19 -06:00
Brent Vatne cc4293e677 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 16:55:55 -07:00
Evan Bacon 927c318eee [config-plugins] Added support for targetApi (#3599)
* Added support for targetApi

* Update withDefaultPlugins-test.ts.snap
2021-06-23 17:29:12 -06:00
Evan BaconandBrent Vatne 1b72fb06f7 Skip unprovided mods and warn (#3600)
* Skip unprovided mods and warn

* Update mod-compiler.ts

* Update packages/config-plugins/src/plugins/mod-compiler.ts

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

Co-authored-by: Brent Vatne <[email protected]>
2021-06-23 17:29:00 -06:00
Evan Bacon e0cb624cab fix tests 2021-06-23 16:47:00 -06:00
Evan Bacon 8cdd26b988 [config-plugins] default translucent to off (#3601) 2021-06-23 15:37:05 -07:00
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 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
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 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 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
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 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 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 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 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
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
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 6863097d49 Silence duplicate file warnings (#3537) 2021-06-01 15:21:33 -05:00
Dominik Sokal 6cd679038b 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-01 13:02:23 +02:00
Dominik Sokal 1e5eb29349 [config-plugins] fix finding first native target (#3533) 2021-06-01 12:59:30 +02:00
Brent Vatne d5cc32c7d0 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-05-31 15:50:35 -07:00
Evan Bacon 70c1867620 Fix object application in iOS base mods (#3531)
* Fix object application in iOS base mods

* Added improved tests
2021-05-31 15:45:56 -07:00
Brent Vatne 8b73a07290 Fix @expo/config-types dependencies 2021-05-26 21:45:26 -07:00
Brent Vatne 315dc74ad3 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]
 - @expo/[email protected]
2021-05-26 12:52:07 -07:00
Evan Bacon b1f08d0cb5 Refactor config plugins (#3514)
* migrate default plugins back to config

* migrate icon plugin to config package

* Update withDefaultPlugins.ts

* Migrated notifications back to config

* Migrated splash screen back to config

* Fixed tests

* Created expo/prebuild-config package

* fix imports

* Remove extra files

* Update XML.ts

* Update package.json

* Update package.json
2021-05-26 12:33:09 -05:00
Dominik Sokal a90d37dee7 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2021-05-25 14:15:46 +02:00
Dominik Sokal 469200aad3 [config-plugins] make bundle identifier getter aware of multiple targets (#3483)
* [config-plugins] rename getBuildConfigurationForId -> getBuildConfigurationsForListId

* [config-plugins] make getBundleIdentifierFromPbxproj return bundle id for a named target

* [config-plugins] make setProvisioningProfileForPbxprojAsync set provisioning profile only for a particular build configuration

* address PR feedback
2021-05-25 14:02:32 +02:00