question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pluto is crashing when clicking on notification after app has been killed.

See original GitHub issue

Describe the bug Pluto app is crashing with lateinit property session has not been initialized when clicking on notification after the target app crashed or has been killed. I did not try to reproduce it in a more simple app with different launch mode.

To Reproduce Steps to reproduce the behavior:

  1. Kill the hosting app
  2. Click on the notification: “Pluto is debugging …”
  3. See app is crashing

Expected behavior Pluto notification is dismissed after app is killed/crashed. Alternatively if notification can not be dismissed for technical reasons to show an error message that Pluto session has ended.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Emulator android 10, Pixel 5 android 12
  • OS: Android 10, Android 12
  • Library Version 1.1.0

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jimlyascommented, Feb 15, 2022

I think for this, you should place Pluto.initialize(androidApplication()) inside your Application class.

So your Koin module only defining the interceptor.

0reactions
github-actions[bot]commented, May 1, 2022

Stale issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash when push notification is clicked on app killed state ...
I receive the push notifications, I click on them it goes to app fine. But if we terminate the app -> send push...
Read more >
App crashes after push notification is tapped when app is killed
Meaning to say, kill the app -> received push notifications -> tap the notifications -> app launches and crashed. This also happens when...
Read more >
Could now-closed fire station have saved lives in Granite Bay ...
The South Placer Fire Agency responding to this crash recently ... the crash as being so violent the victims were likely killed on...
Read more >
MeTV - Apps on Google Play
MeTV - America's #1 Classic Television Network - allows you to follow your favorite shows and nostalgia on your iPhone and iPad. Log...
Read more >
iOS Crash Dump Analysis, Second Edition - GitHub Pages
Sometimes our app only crashes when deployed onto a customer device. If we cable up our laptop to the customer's device, we're probably...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found