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

[Bug]: Deeplink navigation duplicate MainActivity and mess up back navigation #1509

Open
3 tasks done
ar2code opened this issue Jun 20, 2024 · 3 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@ar2code
Copy link

ar2code commented Jun 20, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

How to reproduce the bug:

  1. Clear Now In Android app from launched list (means no activity exists).
  2. Get any notification from SystemTrayNotifier
  3. Navigate to app from notification
  4. Go back until you close the app
  5. Open app again
  6. Try to go back again - you will see main screen twice before going to home screen

Thank you!

Relevant logcat output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ar2code ar2code added the bug Something isn't working label Jun 20, 2024
@anhtuannd
Copy link

I was unable to reproduce this bug. Do you have video for it?

@ar2code
Copy link
Author

ar2code commented Jun 22, 2024

Sure, thanks!

now_in_android_bug

@ar2code
Copy link
Author

ar2code commented Jun 22, 2024

For debugging I just edited NiaApplication onCreate method with:

val notifier = SystemTrayNotifier(this) notifier.postNewsNotifications( listOf( NewsResource( id = "test", title = "test", url = "test", content = "test", headerImageUrl = null, publishDate = Clock.System.now(), type = "test", topics = emptyList(), ), ), )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants