Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User stuck on login screen when login in if PN received before #8709

Closed
Serhy opened this issue Aug 6, 2019 · 3 comments
Closed

User stuck on login screen when login in if PN received before #8709

Serhy opened this issue Aug 6, 2019 · 3 comments
Labels

Comments

@Serhy
Copy link
Contributor

Serhy commented Aug 6, 2019

Type: Bug

Summary: When app is closed and I receive Push Notification -> I stuck on login screen when logging into account. And it doesn't matter whether I navigate to app from a tap on PN (opening Status from PN issue described separately here #8550) OR I open Status by tap on its icon from the list of apps)

After reopening Status I can log in fine, but each new PN causes the same issue again

Expected behavior

User logged in and wind up on Chats view

Actual behavior

User keep staying on login screen
Screenshot 2019-08-02 at 18 55 21

Reproduction

  1. Create a new account (UserA)
  2. UserB sends a text message to UserA
  3. UserA adds UserB in contacts
  4. UserA closes Status app
  5. UserB sends a text message to UserA (UserA receives PN at this point)
  6. UserA opens Status from the list of device apps
  7. UserA Submits login form with a valid password

Additional Information

Logs

8-06 14:06:48.062 12725 12927 D StatusModule: StartNode result: {"error":""}
08-06 14:06:48.062 12725 12927 D StatusModule: Geth node started
08-06 14:06:48.095 12725 12759 D RNFirebaseMessaging: Firebase token: f1U0Aiaf3Dc:APA91bEDu5T02nQLsoo4D3UdaVVZtyzv1blJglyKnMvTvJZpswpebcUEwYopemAbhQJAwxJ-zluEhAre5uINCmVuBFCcrui-_2AhQe9lyu7DPxji8GBYtNOoI04zLSYOFlQ3Cye6lg63
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: console.error: "re-frame: no handler registered for effect:", {"Mb":null,"name":"merging-fx-with-common-keys","R":"merging-fx-with-common-keys","fe":-1375695184,"j":2153775105,"P":4096}, ". Ignoring.", stack:
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: s@-1
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: Pr@11:87143
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: _r@11:87064
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: Hr@11:86981
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: a@11:89950
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: a8n@11:958773
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: <unknown>@11:964106
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: g8n@11:959747
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: j8n@11:960975
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: x8n@11:963112
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: k8n@11:961280
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: <unknown>@11:962317
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: M8n@11:962978
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: n@11:961345
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: y@80:657
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: C@80:1021
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: callImmediates@80:3216
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: callImmediates@-1
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: value@19:2873
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: <unknown>@19:1264
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: value@19:2565
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: value@19:1234
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: value@-1
08-06 14:06:48.104 12725 12759 E unknown:ReactNative: value@-1
08-06 14:06:48.114 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.114] LES protocol is disabled                 package=status-go/node
08-06 14:06:48.115 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.115] Incentivisation is disabled              package=status-go/node
08-06 14:06:48.115 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.115] Status service api is disabled           package=status-go/node
08-06 14:06:48.117 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.117] Starting peer-to-peer node               instance=StatusIM/v9de77b21b22aeca3c71050ed4f7809f500e63191/
08-06 14:06:48.117 12725 12832 D StatusNativeLogs: android-arm/go1.11.5
08-06 14:06:48.148 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.148] started whisper v.6.0 
08-06 14:06:48.154 12725 12812 D StatusModule: Signal event: {"type":"node.started","event":null}
08-06 14:06:48.155 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.155] New local node record                    seq=4 id=b49d0918f706f499 ip=127.0.0.1 udp=0 tcp=53221
08-06 14:06:48.155 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.155] Started P2P networking                   self="enode://ee369204535e389c95f86b5aea0039f475b39208e362d5
08-06 14:06:48.156 12725 12832 D StatusNativeLogs: 5522a8ea3033da46c49ecbe0426a2a869f3be23bd7a5f0cd1e9470e785c939eade92832ecd72764404@127.0.0.1:53221?discport=0"
08-06 14:06:48.157 12725 12929 D StatusModule: Signal event: {"type":"node.ready","event":null}
08-06 14:06:48.159 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.155] Handlers registered                      package=status-go/api.StatusBackend
08-06 14:06:48.159 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.156
08-06 14:06:48.159 12725 12832 D StatusNativeLogs: ] Account reselected                       package=status-go/api.StatusBackend
08-06 14:06:48.166 12725 12832 D StatusNativeLogs: INFO [08-06|11:06:48.165] UDP listener up                          net=enode://ee369204535e389c95f86b5aea0039f475b39208e362d555
08-06 14:06:48.166 12725 12832 D StatusNativeLogs: 22a8ea3033da46c49ecbe0426a2a869f3be23bd7a5f0cd1e9470e785c939eade92832ecd72764404@[::]:58317
08-06 14:06:48.189 12725 12758 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :show-tab-bar
08-06 14:06:48.193 12725 12758 D ReactNativeJS: DEBUG [status-im.notifications.core:194] - get-fcm-token: f1U0Aiaf3Dc:APA91bEDu5T02nQLsoo4D3UdaVVZtyzv1blJglyKnMvTvJZpswpebcUEwYopemAbhQJAwxJ-zluEhAre5uINCmVuBFCcrui-_2AhQe9lyu7DPxji8GBYtNOoI04zLSYOFlQ3Cye6lg63

@annadanchenko
Copy link

@rachelhamlin v1 scope

@vitvly vitvly self-assigned this Aug 14, 2019
@churik
Copy link
Member

churik commented Oct 28, 2019

After attempt to login \ reopening an app I can't login to app two times more - it crashes on start:

photo_2019-10-28 17 17 56

--------- beginning of system
10-28 17:08:17.848 28898 28898 D ReactNative: ReactInstanceManager.ctor()
10-28 17:08:17.851 28898 28898 D ReactNative: ReactInstanceManager.createReactContextInBackground()
10-28 17:08:17.851 28898 28898 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
10-28 17:08:17.851 28898 28898 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
10-28 17:08:17.851 28898 28898 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()
10-28 17:08:17.852 28898 28898 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
10-28 17:08:17.876 28898 28925 D ReactNative: ReactInstanceManager.createReactContext()
10-28 17:08:17.946 28898 28925 D ReactNative: Initializing React Xplat Bridge.
10-28 17:08:17.949 28898 28925 D ReactNative: Initializing React Xplat Bridge before initializeBridge
10-28 17:08:17.952 28898 28925 D ReactNative: Initializing React Xplat Bridge after initializeBridge
10-28 17:08:17.953 28898 28925 D ReactNative: CatalystInstanceImpl.runJSBundle()
10-28 17:08:18.005 28898 28938 D ReactNative: ReactInstanceManager.setupReactContext()
10-28 17:08:18.006 28898 28938 D ReactNative: CatalystInstanceImpl.initialize()
10-28 17:08:18.372 28898 28938 D ReactNative: ReactInstanceManager.attachRootViewToInstance()
--------- beginning of crash
10-28 17:08:18.844 28898 28937 W ReactNativeJS: createNavigationContainer() has been deprecated, please use createAppContainer() instead. You can also import createAppContainer directly from @react-navigation/native
10-28 17:08:18.846 28898 28937 W ReactNativeJS: Importing the stack Transitioner directly from react-navigation is now deprecated. Instead, import { Transitioner } from "react-navigation-stack";
10-28 17:08:18.865 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.logging.core:26] - 
10-28 17:08:18.868 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :init/app-started
10-28 17:08:18.872 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:326] - Init notifications
10-28 17:08:18.873 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:307] - calling onMessage
10-28 17:08:18.875 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:295] - calling onNotification
10-28 17:08:18.877 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:320] - setup-on-notification-opened-callback
10-28 17:08:18.879 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:274] - Handle initial push notifications
10-28 17:08:18.882 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :hardwallet.callback/on-register-card-events
10-28 17:08:18.887 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :update-window-dimensions
10-28 17:08:18.888 28898 28937 I ReactNativeJS: Running application "StatusIm" with appParams: {"rootTag":1}. DEV === false, development-level warning are OFF, performance optimizations are ON
10-28 17:08:18.899 28898 28937 D ReactNativeJS: DEBUG [status-im.ui.screens.views:138] - :main-component-did-mount nil
10-28 17:08:18.901 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.universal-links.core:149] - universal-links: initializing
10-28 17:08:18.904 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :set-two-pane-ui-enabled
10-28 17:08:18.907 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :set-initial-props
10-28 17:08:18.912 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :status-im.network.net-info/network-info-changed
10-28 17:08:18.916 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :hardwallet.callback/check-nfc-support-success
10-28 17:08:18.920 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :hardwallet.callback/check-nfc-enabled-success

10-28 17:08:18.923 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :hardwallet.callback/on-retrieve-pairings-success
10-28 17:08:18.926 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :init.callback/get-supported-biometric-auth-success
10-28 17:08:18.930 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :status-im.network.net-info/network-info-changed
10-28 17:08:18.932 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:206] - Notification channel created: status-im
10-28 17:08:18.933 28898 28937 D ReactNativeJS: DEBUG [status-im.notifications.core:279] - getInitialNotification nil
10-28 17:08:18.936 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :status-im.init.core/initialize-multiaccounts
10-28 17:08:18.939 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.universal-links.core:95] - universal-links: no url
10-28 17:08:19.018 28898 28937 D ReactNativeJS: DEBUG [status-im.utils.handlers:32] - Handling re-frame event:  :multiaccounts.login/get-auth-method-success
10-28 17:08:19.020 28898 28937 D ReactNativeJS: DEBUG [status-im.ui.screens.navigation:62] - :navigate-to :login nil

@flexsurfer
Copy link
Member

PN have been removed for v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants