Skip to content

Commit

Permalink
[docs] Add platform specific runtime version description (#16347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkh committed Feb 21, 2022
1 parent 9c92611 commit b51a1b6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/pages/eas-update/runtime-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,22 @@ You can also set a custom runtime version that meets the [runtime version format

This option is good for developers who want to manage the runtime version manually, separately from any other version numbers present in a project's app config. It gives the developer complete control over which updates are compatible with which builds.

### Platform specific `"runtimeVersion"`

You can also set a runtime version for a specific platform:

```json
{
"expo": {
"android": {
"runtimeVersion": "1.0.0"
}
}
}
```

When both a top level runtime and a platform specific runtime are set, the platform specific one takes precedence.

## Avoiding crashes with incompatible updates

The main issue that can arise when publishing updates is that the update could rely on native code that the build it's running on does not support. For instance, imagine we made a build with a runtime version of `"1.0.0"`. Then, we submitted that build to the app stores and released it to the public.
Expand Down

0 comments on commit b51a1b6

Please sign in to comment.