Commit ffc8f463 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Fix black screen on Android

parent c945083e
Loading
Loading
Loading
Loading
+3 −0
Changes for README.md: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -35,6 +35,9 @@ cordova plugin rm de.appplant.cordova.plugin.local-notification
```

## Release Notes
#### Version 0.7.0 (not yet released)
- [bugfix:] Black screen on Android (#23)

#### Version 0.6.2 (04.12.2013)
- Release under the Apache 2.0 license.

+2 −1
Changes for src/android/Receiver.java: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -132,7 +132,8 @@ public class Receiver extends BroadcastReceiver {
     */
    private Builder setClickEvent (Builder notification) {
        Intent intent = new Intent(context, ReceiverActivity.class)
            .putExtra(OPTIONS, options.getJSONObject().toString());
            .putExtra(OPTIONS, options.getJSONObject().toString())
            .setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);

        PendingIntent contentIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);