@mpxjs/core 2.10.4-beta.11 → 2.10.4-beta.12

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/core",
3
- "version": "2.10.4-beta.11",
3
+ "version": "2.10.4-beta.12",
4
4
  "description": "mpx runtime core",
5
5
  "keywords": [
6
6
  "miniprogram",
@@ -190,7 +190,7 @@ export default function createApp (options) {
190
190
  useEffect(() => {
191
191
  const changeSubscription = ReactNative.AppState.addEventListener('change', (state) => {
192
192
  // 外层可能会异常设置此配置,因此加载监听函数内部
193
- if (Mpx.config.rnConfig.disableReactNativeAppStateChange) return
193
+ if (Mpx.config.rnConfig.disableAppStateListener) return
194
194
  onAppStateChange(state)
195
195
  })
196
196