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

[xdl] pass app.json updates config to expo-updates in standalone apps #2539

Merged
merged 3 commits into from
Aug 31, 2020

Conversation

esamelson
Copy link
Contributor

@esamelson esamelson commented Aug 28, 2020

Fixes expo/expo#9922, along with expo/expo#9985

This PR passes the updates.checkAutomatically and updates.fallbackToCacheTimeout app.json values, which were previously set at runtime, into build-time configuration values for standalone apps built by turtle. These values will then be read and passed directly to expo-updates by the ExpoKit kernels.

Further, starting with SDK 39 the filenames that the ExpoKit kernel expects for the embedded manifest and bundle have changed, from shell-app-manifest.json and shell-app.bundle to app.manifest and app.bundle. This PR makes that change accordingly for building standalone apps.

@esamelson esamelson force-pushed the @eric/updates-config-standalone branch from 3225546 to 62711af Compare August 31, 2020 18:15
@esamelson esamelson merged commit 2635b93 into master Aug 31, 2020
@esamelson esamelson deleted the @eric/updates-config-standalone branch August 31, 2020 18:15
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.

[android][ios][xdl] use app.json updates key for expo-updates configuration
3 participants