Closed Guruprasad1399 closed 7 months ago
Hello, @Guruprasad1399 👋. When you describe the behavior as being successful when making GraphQL queries but then it crashes if moving to another tab/component, can you share the code that's making these queries? And is the second tab also running the app and attempting to make the same queries?
Hi 👋 Closing this as we have not heard back from you.
Unfortunately, we do not officially support React Native for Windows, only React Native CLI and Expo apps.
Before opening, please confirm:
JavaScript Framework
React Native, Not applicable
Amplify APIs
GraphQL API, DataStore
Amplify Version
v6
Amplify Categories
storage, api
Backend
Amplify CLI
Environment information
Describe the bug
I am developing a React Native application that targets Windows using React Native Windows. My application crashes and becomes inactive when I use GraphQL queries or the DataStore feature from AWS Amplify. The issue occurs when performing operations such as fetching data, subscribing to updates, or saving data using DataStore.
Steps to Reproduce Set up a React Native Windows application with AWS Amplify configured and the following packages as listed in pacakge.json Implement a GraphQL query or a DataStore operation. Run the application and trigger the operation.
Expected Behavior The application should successfully complete the GraphQL query or DataStore operation without crashing.
Actual Behavior The application succesfully fetches the data from Amplify when queried using graphQL and crashes and becomes inactive when navigating to any other tab or component inside the application, when using datastore, it becomes inactive when the DataStore operation is executed.
Here is a snippet from my package.json to provide more context on the package versions used in my project:
{ "name": "windowsOnedose", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "lint": "eslint .", "start": "react-native start", "test": "jest", "windows": "react-native run-windows" }, "dependencies": { "@aws-amplify/react-native": "^1.0.18", "@azure/core-asynciterator-polyfill": "^1.0.2", "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/react-native-fontawesome": "^0.3.0", "@miblanchard/react-native-slider": "^2.3.1", "@react-native-async-storage/async-storage": "^1.22.2", "@react-native-community/datetimepicker": "^7.6.2", "@react-native-community/netinfo": "^11.3.1", "@react-native-community/progress-bar-android": "^1.0.5", "@react-native-community/progress-view": "^1.4.2", "@react-navigation/bottom-tabs": "^6.5.14", "@react-navigation/native": "^6.1.12", "@react-navigation/stack": "^6.3.23", "@reduxjs/toolkit": "^2.2.1", "@rneui/base": "^4.0.0-rc.7", "@rneui/themed": "^4.0.0-rc.8", "aws-amplify": "^6.0.18", "aws-sdk": "^2.1567.0", "react": "18.2.0", "react-native": "0.73.5", "react-native-blob-util": "^0.19.8", "react-native-crypto-js": "^1.0.0", "react-native-elements": "^3.4.3", "react-native-gesture-handler": "^2.15.0", "react-native-modal": "^13.0.1", "react-native-paper": "^5.12.3", "react-native-pdf": "^6.7.4", "react-native-safe-area-context": "^4.9.0", "react-native-screens": "^3.29.0", "react-native-svg": "^15.0.0", "react-native-tab-view": "^3.5.2", "react-native-vector-icons": "^10.0.3", "react-native-windows": "0.73.8", "react-redux": "^9.1.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "rn-fetch-blob": "^0.12.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/babel-preset": "0.73.21", "@react-native/eslint-config": "0.73.2", "@react-native/metro-config": "0.73.5", "@react-native/typescript-config": "0.73.1", "@types/react": "^18.2.6", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.6.3", "eslint": "^8.19.0", "jest": "^29.6.3", "metro-config": "^0.80.6", "prettier": "2.8.8", "react-test-renderer": "18.2.0", "typescript": "5.0.4" }, "engines": { "node": ">=18" } }
I am using Visual Studio 2022 for development. This issue is critical as it hinders the development of our application targeting the Windows platform.
Request for Assistance: I am seeking insights, workarounds, or potential fixes for this issue. The ability to use AWS Amplify's DataStore and GraphQL features without causing the application to crash or become inactive is crucial for our development efforts. Any guidance or suggestions from the community or the AWS Amplify team would be greatly appreciated. I am also willing to provide any additional information or specific code snippets as required.
Expected behavior
The application should successfully complete the GraphQL query or DataStore operation without crashing, is what I expected to happen but the React native windows application Crashed.
Reproduction steps
Steps to Reproduce Set up a React Native Windows application with AWS Amplify configured and the following packages as listed in pacakge.json Implement a GraphQL query or a DataStore operation (query an amplify table from react native windows). Run the application and trigger the operation.
Code Snippet
Log output
aws-exports.js
Manual configuration
No response
Additional configuration
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
Console.logs on the debugger in React native windows !
Console was cleared C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Utilities\infoLog.js:17 Running "windowsOnedose" with {"initialProps":null,"rootTag":11,"fabric":false} C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:57 I am called undefined Object C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:76 Object C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:57 I am called Home Object C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:76 Object C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:57 I am called Home Object C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:76 Object C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:57 I am called Home {isHaveTitle: false, isHaveBack: false, isAccordionTitle: false, isCheckList: false, isForm: false, …} C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:76 {isHaveTitle: false, isHaveBack: false, isAccordionTitle: false, isCheckList: false, isForm: false, …} C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:47
new NativeEventEmitter()
was called with a non-null argument without the requiredaddListener
method. at NotificationScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:137369:33) at StaticContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346800:18) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342674:25) at SceneView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346705:23) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at Background (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:351277:22) at Screen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352260:108) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at InnerScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352538:36) at Screen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352814:36) at MaybeScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352366:25) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at ScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352670:32) at MaybeScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352355:24) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352214:26) at BottomTabView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:348780:31) at PreventRemoveProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:345737:26) at NavigationContent (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346491:23) at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346507:28 at BottomTabNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:348676:19) at MainScreenBottomTabNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:137251:39) at StaticContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346800:18) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342674:25) at SceneView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346705:23) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at CardSheet (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357003:24) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at Dummy (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357057:25) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at Card (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:356481:36) at CardContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:356101:35) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at InnerScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352538:36) at Screen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352814:36) at MaybeScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357106:25) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at ScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352670:32) at MaybeScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357096:24) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at Background (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:351277:22) at CardStack (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:355682:36) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352214:26) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at StackView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:354807:36) at PreventRemoveProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:345737:26) at NavigationContent (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346491:23) at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346507:28 at StackNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:354701:19) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342674:25) at BaseNavigationContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342267:29) at ThemeProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:347722:22) at NavigationContainerInner (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:347610:27) at AppNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:137163:41) at Provider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:232001:23) at ThemeProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:235750:33) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at PortalHost (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:243705:36) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at CompatNativeSafeAreaProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236500:25) at SafeAreaProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236368:25) at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236264:26) at PaperProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236149:38) at StyleProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:139068:25) at ThemeProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:138000:25) at App (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:125933:41) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at AppContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59404:36) at ComponentWithDisplayName (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:110979:29) registerWarning @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\LogBox\LogBox.js:148 console.warn @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\LogBox\LogBox.js:71 overrideMethod @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-devtools-core\dist\backend.js:13278 NativeEventEmitter @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\EventEmitter\NativeEventEmitter.js:63 get eventEmitter @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@react-native-community\netinfo\src\internal\nativeInterface.ts:36 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@react-native-community\netinfo\src\internal\nativeInterface.ts:31 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@react-native-community\netinfo\src\index.ts:13 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\utils\ReachabilityMonitor\index.native.ts:4 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 ConnectionStateMonitor @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\utils\ConnectionStateMonitor.ts:69 AWSAppSyncRealTimeProvider @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\Providers\AWSAppSyncRealTimeProvider\index.ts:123 InternalGraphQLAPIClass @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\internals\InternalGraphQLAPI.ts:55 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\internals\InternalGraphQLAPI.ts:478 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\GraphQLAPI.ts:23 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:173 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 graphql @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\internals\v6.ts:115 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:47 asyncGeneratorStep @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:3 _next @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:22 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:27 tryCallTwo @ C:\Users\Admin\repositories\windowsOnedose\node_modules\promise\setimmediate\core.js:45 doResolve @ C:\Users\Admin\repositories\windowsOnedose\node_modules\promise\setimmediate\core.js:200 Promise @ C:\Users\Admin\repositories\windowsOnedose\node_modules\promise\setimmediate\core.js:66 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:19 loadNotificationList @ C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:43 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:183 commitHookEffectListMount @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18283 commitPassiveMountOnFiber @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19927 commitPassiveMountEffects_complete @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19883 commitPassiveMountEffects_begin @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19860 commitPassiveMountEffects @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19838 flushPassiveEffectsImpl @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:21931 flushPassiveEffects @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:21881 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:21688 workLoop @ C:\Users\Admin\repositories\windowsOnedose\node_modules\scheduler\cjs\scheduler.native.development.js:252 flushWork @ C:\Users\Admin\repositories\windowsOnedose\node_modules\scheduler\cjs\scheduler.native.development.js:221 performWorkUntilDeadline @ C:\Users\Admin\repositories\windowsOnedose\node_modules\scheduler\cjs\scheduler.native.development.js:431 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:247 _callTimer @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:111 _callReactNativeMicrotasksPass @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:161 callReactNativeMicrotasks @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:415 callReactNativeMicrotasks @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:393 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:132 guard @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:368 flushedQueue @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:131 callFunctionReturnFlushedQueue @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:116 (anonymous) @ debuggerWorker.js:69 Show 56 more frames Show less C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:47new NativeEventEmitter()
was called with a non-null argument without the requiredremoveListeners
method. at NotificationScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:137369:33) at StaticContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346800:18) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342674:25) at SceneView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346705:23) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at Background (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:351277:22) at Screen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352260:108) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at InnerScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352538:36) at Screen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352814:36) at MaybeScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352366:25) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at ScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352670:32) at MaybeScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352355:24) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352214:26) at BottomTabView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:348780:31) at PreventRemoveProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:345737:26) at NavigationContent (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346491:23) at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346507:28 at BottomTabNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:348676:19) at MainScreenBottomTabNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:137251:39) at StaticContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346800:18) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342674:25) at SceneView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346705:23) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at CardSheet (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357003:24) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at Dummy (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357057:25) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at Card (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:356481:36) at CardContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:356101:35) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:76035:62 at InnerScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352538:36) at Screen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352814:36) at MaybeScreen (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357106:25) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at ScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352670:32) at MaybeScreenContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:357096:24) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at Background (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:351277:22) at CardStack (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:355682:36) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:352214:26) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at StackView (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:354807:36) at PreventRemoveProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:345737:26) at NavigationContent (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346491:23) at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:346507:28 at StackNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:354701:19) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342674:25) at BaseNavigationContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:342267:29) at ThemeProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:347722:22) at NavigationContainerInner (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:347610:27) at AppNavigator (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:137163:41) at Provider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:232001:23) at ThemeProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:235750:33) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at PortalHost (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:243705:36) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at CompatNativeSafeAreaProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236500:25) at SafeAreaProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236368:25) at SafeAreaProviderCompat (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236264:26) at PaperProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:236149:38) at StyleProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:139068:25) at ThemeProvider (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:138000:25) at App (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:125933:41) at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at RCTView at http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59566:44 at AppContainer (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:59404:36) at ComponentWithDisplayName (http://localhost:8081/index.bundle//&platform=windows&dev=true&hot=true&inlineSourceMap=true:110979:29) registerWarning @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\LogBox\LogBox.js:148 console.warn @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\LogBox\LogBox.js:71 overrideMethod @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-devtools-core\dist\backend.js:13278 NativeEventEmitter @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\EventEmitter\NativeEventEmitter.js:68 get eventEmitter @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@react-native-community\netinfo\src\internal\nativeInterface.ts:36 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@react-native-community\netinfo\src\internal\nativeInterface.ts:31 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@react-native-community\netinfo\src\index.ts:13 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\utils\ReachabilityMonitor\index.native.ts:4 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 ConnectionStateMonitor @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\utils\ConnectionStateMonitor.ts:69 AWSAppSyncRealTimeProvider @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\Providers\AWSAppSyncRealTimeProvider\index.ts:123 InternalGraphQLAPIClass @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\internals\InternalGraphQLAPI.ts:55 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\internals\InternalGraphQLAPI.ts:478 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:180 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\GraphQLAPI.ts:23 loadModuleImplementation @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:273 guardedLoadModule @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:173 metroRequire @ C:\Users\Admin\repositories\windowsOnedose\node_modules\metro-runtime\src\polyfills\require.js:89 graphql @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@aws-amplify\api-graphql\src\internals\v6.ts:115 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:47 asyncGeneratorStep @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:3 _next @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:22 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:27 tryCallTwo @ C:\Users\Admin\repositories\windowsOnedose\node_modules\promise\setimmediate\core.js:45 doResolve @ C:\Users\Admin\repositories\windowsOnedose\node_modules\promise\setimmediate\core.js:200 Promise @ C:\Users\Admin\repositories\windowsOnedose\node_modules\promise\setimmediate\core.js:66 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\@babel\runtime\helpers\asyncToGenerator.js:19 loadNotificationList @ C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:43 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:183 commitHookEffectListMount @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18283 commitPassiveMountOnFiber @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19927 commitPassiveMountEffects_complete @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19883 commitPassiveMountEffects_begin @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19860 commitPassiveMountEffects @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19838 flushPassiveEffectsImpl @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:21931 flushPassiveEffects @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:21881 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:21688 workLoop @ C:\Users\Admin\repositories\windowsOnedose\node_modules\scheduler\cjs\scheduler.native.development.js:252 flushWork @ C:\Users\Admin\repositories\windowsOnedose\node_modules\scheduler\cjs\scheduler.native.development.js:221 performWorkUntilDeadline @ C:\Users\Admin\repositories\windowsOnedose\node_modules\scheduler\cjs\scheduler.native.development.js:431 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:247 _callTimer @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:111 _callReactNativeMicrotasksPass @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:161 callReactNativeMicrotasks @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\Core\Timers\JSTimers.js:415 callReactNativeMicrotasks @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:393 (anonymous) @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:132 guard @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:368 flushedQueue @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:131 callFunctionReturnFlushedQueue @ C:\Users\Admin\repositories\windowsOnedose\node_modules\react-native-windows\Libraries\BatchedBridge\MessageQueue.js:116 (anonymous) @ debuggerWorker.js:69 Show 56 more frames Show less C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:47 [INFO] 29:22.776 Reachability - subscribing to reachability in React Native C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:47 [INFO] 29:22.778 Reachability - subscribing to reachability in React Native C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:57 I am called Notification {isHaveTitle: false, isHaveBack: false, isAccordionTitle: false, isCheckList: false, isForm: false, …} C:\Users\Admin\repositories\windowsOnedose\ui_components\ActionBar.tsx:76 {isHaveTitle: false, isHaveBack: false, isAccordionTitle: false, isCheckList: false, isForm: false, …} debuggerWorker.js:69 [INFO] 29:22.927 Reachability - Notifying reachability change true debuggerWorker.js:69 [INFO] 29:22.928 Reachability - Notifying reachability change true debuggerWorker.js:69 [INFO] 29:22.932 Reachability - Notifying reachability change true debuggerWorker.js:69 [INFO] 29:22.934 Reachability - Notifying reachability change true C:\Users\Admin\repositories\windowsOnedose\ui\notification\Notification.tsx:84 Notifications {data: {…}} C:\Users\Admin\repositories\windowsOnedose\src\models\index.js:58 [INFO] 29:23.714 Reachability - subscribing to reachability in React Native C:\Users\Admin\repositories\windowsOnedose\src\models\index.js:58 [INFO] 29:23.715 Reachability - Notifying reachability change true[INFO] 29:22.927 Reachability - Notifying reachability change true &platform=windows&dev=true&hot=true&inlineSourceMap=true:143581 [INFO] 29:22.928 Reachability - Notifying reachability change true &platform=windows&dev=true&hot=true&inlineSourceMap=true:143581 [INFO] 29:22.932 Reachability - Notifying reachability change true &platform=windows&dev=true&hot=true&inlineSourceMap=true:143581 [INFO] 29:22.934 Reachability - Notifying reachability change true &platform=windows&dev=true&hot=true&inlineSourceMap=true:137448 Notifications {data: {…}} &platform=windows&dev=true&hot=true&inlineSourceMap=true:143571 [INFO] 29:23.714 Reachability - subscribing to reachability in React Native &platform=windows&dev=true&hot=true&inlineSourceMap=true:143581 [INFO] 29:23.715 Reachability - Notifying reachability change true &platform=windows&dev=true&hot=true&inlineSourceMap=true:353413 I am called Notification {isHaveTitle: false, isHaveBack: false, isAccordionTitle: false, isCheckList: false, isForm: false, …} &platform=windows&dev=true&hot=true&inlineSourceMap=true:353431 {isHaveTitle: false, isHaveBack: false, pageTitle: '', page: '', backPage: ''} &platform=windows&dev=true&hot=true&inlineSourceMap=true:353413 I am called Settings {isHaveTitle: false, isHaveBack: false, isAccordionTitle: false, isCheckList: false, isForm: false, …} &platform=windows&dev=true&hot=true&inlineSourceMap=true:353431 {isHaveTitle: false, isHaveBack: false, pageTitle: '', page: '', backPage: ''} &platform=windows&dev=true&hot=true&inlineSourceMap=true:137448 Notifications {data: {…}}