remato
September 24, 2020, 2:12pm
#1
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()
remato
September 24, 2020, 5:19pm
#2
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
system
closed
October 24, 2020, 5:21pm
#4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.