Commit 38f58ac2 by Sebastián Katzer

Fixes #682 crash while resuming app from notification

parent 30ac53ec
......@@ -7,6 +7,7 @@ Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-lo
- New "quarter" intervall for iOS & Android
- Fixed #732 loop between update and trigger (Android)
- Fixed #710 crash due to >500 notifications (Android)
- Fixed #682 crash while resuming app from notification (Android 6)
- Fixed crashing `get(ID)` if notification doesn't exist
#### Version 0.8.2 (08.11.2015)
......
......@@ -68,6 +68,16 @@ abstract public class AbstractClickActivity extends Activity {
}
/**
* Fixes "Unable to resume activity" error.
* Theme_NoDisplay: Activities finish themselves before being resumed.
*/
@Override
protected void onResume() {
super.onResume();
finish();
}
/**
* Called when local notification was clicked by the user.
*
* @param notification
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment