We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4efa5c8 commit be4a78cCopy full SHA for be4a78c
source/lib/refresh.js
@@ -1,10 +1,10 @@
1
// @flow
2
import {clearAsyncStorage} from './storage'
3
-import codePush from 'react-native-code-push'
+import restart from 'react-native-restart'
4
import {clearLoginCredentials} from './login'
5
6
export async function refreshApp() {
7
await clearAsyncStorage()
8
await clearLoginCredentials()
9
- codePush.restartApp()
+ restart.Restart()
10
}
0 commit comments