@mpxjs/core 2.10.4-beta.3 → 2.10.4-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -138,7 +138,7 @@ export default function createApp (options) {
|
|
|
138
138
|
useEffect(() => {
|
|
139
139
|
const changeSubscription = ReactNative.AppState.addEventListener('change', (currentState) => {
|
|
140
140
|
if (currentState === 'active') {
|
|
141
|
-
let options = global.__mpxEnterOptions
|
|
141
|
+
let options = global.__mpxEnterOptions || {}
|
|
142
142
|
const navigation = getFocusedNavigation()
|
|
143
143
|
if (navigation) {
|
|
144
144
|
const state = navigation.getState()
|