SDK 39, how to restart bundled app?

Is there any way to restart app when running a bundled app (apk) and using managed workflow?

Old way of restarting using Updates.reload() was removed in SDK 39.

Also the following only works in development mode.

import { DevSettings } from 'react-native'
DevSettings.reload()

Seems like I have to use both DevSettings.reload() and Updates.reloadAsync() simultaneously. One for development and one for bundled app.

hi there! we’re going to roll out a fix ideally sometime next week, so you will be able to use just Updates.reloadAsync(). related pr: https://github.com/expo/expo/pull/10310

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.