3156 Commits
Author SHA1 Message Date
Brent Vatne c4258cabdb Publish
- @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]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2022-04-27 10:57:06 -07:00
Kudo Chien 2b8093c066 [install-expo-modules] Add react-native 0.68 and expo sdk 45 support (#4333)
# Why

close ENG-4618

# How

- install expo sdk based on target project's react-native version
- will try to install `expo@^45.0.0` first and fallback to install `expo@>=45.0.0-0 <46.0.0` for prerelease version
- add react-native 0.68 template support

# Test Plan

#### Unit Test

```
 PASS   install-expo-modules  src/utils/__tests__/expoVersionMappings-test.ts
  getDefaultSdkVersion
    ✓ should resolve as sdk 45 from react-native 0.68 project (16 ms)
    ✓ should resolve as sdk 45 from react-native 0.65 project (1 ms)
    ✓ should resolve as sdk 44 from react-native 0.64 project

 PASS   install-expo-modules  src/plugins/android/__tests__/withAndroidModulesMainApplication-test.ts
  setModulesMainApplication
    ✓ should able to update from react-native@>=0.68.0 template (2 ms)

 PASS   install-expo-modules  src/plugins/android/__tests__/withAndroidModulesMainActivity-test.ts
  setModulesMainActivity
    ✓ should add ReactActivityDelegateWrapper for react-native@>=0.68.0 - java (1 ms)
    ✓ should add ReactActivityDelegateWrapper for react-native@>=0.68.0 - kotlin (1 ms)
```

#### Integration Test

```sh
$ npx react-native init RN068 --version 0.68
$ npx install-expo-modules

$ expo run:android

$ expo run:ios

$ export ORG_GRADLE_PROJECT_newArchEnabled=true ; expo run:android

$ cd ios; rm -rf Pods build; RCT_NEW_ARCH_ENABLED=1 pod install
$ expo run:ios
```
2022-04-27 23:59:36 +08:00
Evan Bacon 3d28d2e1bf [config plugins] support android.blockedPermissions (#4323)
* Added support for the new `android.blockedPermissions` array

* Added tests for blocked permissions

* Updated tests

* Update ExpoConfig.ts
2022-04-26 15:17:56 -05:00
Brent Vatne 3b877aba82 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [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]
 - [email protected]
2022-04-25 09:39:36 -07:00
Evan Bacon 448c86353d feat(config-plugins): add initial app clip support (#4327) 2022-04-25 11:32:52 -05:00
Kim Brandwijk 080d32bacd [expo-env-info] convert expo-env-info from CJS to ESM (#4320) 2022-04-25 13:49:41 +02:00
Wojciech Kozyra c5fb53c32e [config-plugins] resolve target specific entitlements files (#4313)
* [config-plugins] resolve target specific entitlement files

* fix tests

* review feedback
2022-04-25 12:40:52 +02:00
Kim Brandwijk 208354c051 [expo-env-info] prepare repo to convert expo-env-info to esm (#4312) 2022-04-23 02:01:30 +02:00
Kudo ChienandEvan Bacon 2706b9daee [config-plugins] Introduce rule-based build properties config-plugin (#4270)
# Why

to support more customized native build properties, like android `compileSdkVersion` and `targetSdkVersion`. we need an extensible way for what we did in the `jsEngine` property (reading a value from source config and merge it into properties file).
close ENG-4021

# How

refactor original dedicated `JsEngine` plugin to generic `BuildProperties` plugin.  it is rule based and easy for extension.
the source config can be either from expo config or from other custom config passing through config-plugin props.

Co-authored-by: Evan Bacon <[email protected]>
2022-04-22 01:28:03 +08:00
Evan Bacon 6e77669f5e feat(dev-server): support new API for Expo SDK 45 (#4306)
* Added support for the new API interface of @react-native-community/cli-server-api

* update types
2022-04-20 15:58:31 -04:00
Will Schurman ae23775587 Update CHANGELOG and commit schemas files [skip ci] 2022-04-19 14:24:46 -07:00
Will Schurman a61ddb4dcd Publish
- @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2022-04-19 14:19:30 -07:00
Will Schurman 285efe2734 [schemer] Update user-facing error message for not fields (#4308) 2022-04-18 10:56:32 -07:00
Evan Bacon 3c1a3b4132 chore(xdl): add new metro logging events (#4304) 2022-04-14 10:18:33 -07:00
Evan Bacon 5971e2f566 Bump @expo/[email protected] (#4300) 2022-04-13 15:07:50 -05:00
Brent Vatne f163652768 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[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]
 - [email protected]
2022-04-11 13:14:18 -07:00
Wojciech Kozyra d28aeb0a28 match xcodeproj in ios directory only (#4288) 2022-04-11 10:36:48 -07:00
Mark Lawlor f9a45b6e2c [next-adapter] revert webpack5 detection (#4254) 2022-04-11 10:21:16 -07:00
Evan Bacon 1e8a075162 chore(config plugins): drop fs-extra (#4290) 2022-04-07 19:52:28 -05:00
Bartosz Kaszubowski 7ce126ec50 [chore] update packages readme files (#4170) 2022-04-07 15:53:49 +02:00
Evan Bacon cdb715365b add webpack-dev-server dependency to expo/webpack-config (#4282) 2022-03-31 07:52:10 -05:00
Kim Brandwijk 53340d761f [cli] update supported Node version warning to reflect current LTS schema (#4261) 2022-03-30 11:21:43 +02:00
James Ide 99b733b6c2 [cli] Cap Expo CLI at Node 16 (#4281)
It doesn't work with Node 17 right now. Make this clear in `engines`.
2022-03-29 23:04:25 -07:00
Giau. Tran Minh a836b25afc [config-plugins] use relative path for locales (#4260)
* fix: use relative path for locales

* fix: refactor groupName
2022-03-23 19:49:04 -05:00
Evan Bacon 1d564cd2aa Update README.md 2022-03-22 18:32:33 -05:00
Jon SampandJames Ide 2f97cbd3a0 [metro-config] Remove json assetExt (#4255)
* [metro-config] Remove json assetExt

* feedback, adds changelog

* correct the url

* Update CHANGELOG.md

Co-authored-by: James Ide <[email protected]>

Co-authored-by: James Ide <[email protected]>
2022-03-16 23:06:55 -04:00
Evan Bacon 82dcf7ce66 Publish
- @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]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2022-03-08 12:30:47 -07:00
Evan Bacon 4c9306d30f Move expo eject to the deprecated help group (#4249)
- Update the description to reflect that users should move to expo prebuild instead.
2022-03-08 12:28:26 -07:00
Evan Bacon e20958d1ee [config-plugins] update AndroidManifest.xml template for introspect (#4245)
* Update withAndroidBaseMods.ts

* Update withDefaultPlugins-test.ts.snap
2022-03-07 18:26:10 -07:00
Evan Bacon d4a3c6c2b9 [config-plugins] Added support for AppDelegate.mm (#4243)
* Added support for `AppDelegate.mm`

* cxx -> objcpp
2022-03-07 18:00:00 -07:00
Evan Bacon e5eed5530d Deprecated reservedClientId (#4241) 2022-03-02 22:24:18 -07:00
Kim BrandwijkandEvan Bacon 049150991d [expo-cli] deprecate diagnostics command (#4221)
* feat: deprecate diagnostics command

* docs: changelog

* test: fix bundle size test again

* 'fix': remove commented out diagnostics remnants

Co-authored-by: Evan Bacon <[email protected]>

* chore: remove envinfo dep

Co-authored-by: Evan Bacon <[email protected]>
2022-03-01 10:47:04 -07:00
Giau. Tran Minh 001c29b9ff [config-plugin] append scheme REVERSED_CLIENT_ID from GoogleService-Info.plist (#4238)
* fix: update infoPlist plugin to access modRequest

* feat: auto set REVERSED_CLIENT_ID from GoogleService-Info.plist

* chore: cleanup

* fix: reverted changes in ios-plugin

* fix: remove introspect flag

* chore: cleanup
2022-02-28 21:59:06 -07:00
Giau. Tran Minh 20c3cd14f3 [expo-cli]: pick correct scheme for open android app (#4228)
* fix: pick correct scheme for open android app

Expo CLI should pick the scheme with the empty host
or it's much exactly matched to `expo-development-client`

* fix: replace schemes with data

* fix: update unittests

* fix: cleanup

* fix: fixed lint

* fix: update expo-cli for get correct scheme

* fix: filter items without scheme
2022-02-26 13:52:43 -07:00
Wojciech Kozyra 054e4d4171 [config-plugins] Unescape values when reading strings.xml (#4229) 2022-02-24 10:11:07 +01:00
Evan Bacon 3c8193d7b2 [expo-cli] Deprecate the --name argument of the init command. (#4225)
* Deprecate the `--name` argument of the init command.

* Update init-test.ts
2022-02-21 18:36:45 -07:00
Evan Bacon 4720e153c5 round file results (#4226) 2022-02-21 18:36:22 -07:00
Brent Vatne c73681f811 [config-plugins] Don't warn in EXPO_DEBUG when runtimeVersion isn't set (#4134)
* [config-plugins] Don't warn in EXPO_DEBUG when runtimeVersion isn't set

* [xdl] Handle null runtime version in manifest
2022-02-16 21:16:16 -07:00
Brent Vatne 11f518d24c Publish
- @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
2022-02-16 12:20:14 -08:00
Eric Samelson fbccd3fa5d [expo-cli][xdl] remove env flag for interstitial page (#4218) 2022-02-16 12:17:38 -08:00
Kim Brandwijk 8b97f9ba91 [cli][package-manager] documentation and proper handling of passing unparsed options to expo install (#4174)
* fix: documentation and proper handling of passing unparsed options to install

* fix: properly pass parameters to package manager

* fix: add default parameter value for consistency

* docs: changelog

* fix: also pass parameters to `npm install`

* test: added test coverage for new functionality
2022-02-16 12:17:22 -08:00
Scott Bartell 83f6b4489c [expo-cli] fix: pass max-workers option to metro on publish command (#4187) 2022-02-16 12:17:13 -08:00
Evan Bacon 804f2c6c86 Disable declaration and publish expo-env-info 2022-02-16 10:57:23 -07:00
Łukasz Kosmaty b5c59a7910 [Interstitial page] Fix QR on web UI & fallback to SDK version if the runtime version wasn't defined (#4214)
# Why

Fixes that QR code on web UI pointed to the `Expo Go` directly instead of to the interstitial page.
Fallback to the SDK version if the runtime version wasn't defined. 

# How

- Extended the dev graphQL server to serve Interstitial page URL if available. 

# Test Plan

- runs the local version of the CLI and confirms that the web QR code points to the correct place.
- checks if the SDK version was detected when the runtime version isn't available.
2022-02-16 13:17:37 +01:00
Łukasz Kosmaty 9777ad6935 [Interstitial page] Try to detect if a deep link succeed (#4209)
# Why

Currently, if someone scans the QR code, we can't detect if the device can handle a deep link to `Expo Go` or `Development Build`. So we're trying to detect if the redirection was successful. If not we display a message. 

# How

When the user clicks, we trigger a timeout. After some time, we check if the document became inactive (if so, we know that the redirection was successful). This flow gets more complicated on iOS because the user will see a modal. In that case, we need to fire the timeout after the document will be focused. 

# Test Plan

- manual tests with Android device and iOS simulator.
2022-02-16 13:17:05 +01:00
Kim Brandwijk ccb623829a [cli] new expo-env-info package (#4167) 2022-02-16 07:12:33 +01:00
Kim Brandwijk 9aad9d63b8 [expo-cli] don't sanitize numbers from project names for npm package name on init (#4208) 2022-02-16 04:55:18 +01:00
Brent Vatne f1d2413db3 Publish
- @expo/[email protected]
 - [email protected]
 - [email protected]
2022-02-15 10:13:55 -08:00
Kim Brandwijk d64613bd49 [cli] fix typo in settings validation logic (#4215) 2022-02-15 10:02:56 -08:00
Brent Vatne 82904c9641 Publish
- @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]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2022-02-10 12:37:31 -08:00