You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Capacitor 5, after switching users (using logout() followed by login() or login() alone), click events are not registered within the app until it is fully closed and reopened. Additional attempts with multiple restarts and repeated logout/login sequences do not resolve the issue.
Devices Tested:
Huawei
Xiaomi
Not reproducible on iOS
Steps to reproduce?
1. (Optional) Log out the current user.
2. Log in with a different user account.
3. Send a push notification to the newly logged-in user.
4. Open the push notification.
5. Issue: The app does not register any click events after opening from the notification.
What did you expect to happen?
Click event in app
OneSignal Cordova SDK version
Release 5.2.6
Which platform(s) are affected?
iOS
Android
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
This issue actually occurs every time the app restarts using window.location.reload(), which currently happens when the user logs out. Other events, such as foregroundWillDisplay, also don't trigger
wif70068
changed the title
[Bug]: [Android] Click Events Not Registered After User Switch
[Bug]: [Android] Click Events Not Registered After App Restart
Nov 21, 2024
What happened?
Using Capacitor 5, after switching users (using logout() followed by login() or login() alone), click events are not registered within the app until it is fully closed and reopened. Additional attempts with multiple restarts and repeated logout/login sequences do not resolve the issue.
Devices Tested:
Not reproducible on iOS
Steps to reproduce?
What did you expect to happen?
Click event in app
OneSignal Cordova SDK version
Release 5.2.6
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: