Notification Click in OnePlus does not launch app in Battery optimize mode
up vote
0
down vote
favorite
App with PendingIntent.getBroadcast(...) does not launch (BroadcastReceiver.onReceive() is not called, even the process does not start) from push notification click after killed (swiped away from recents) in OnePlus devices while battery optimisation is set to optimise for the app.
Whereas, PendingIntent.getActivity(...) and PendingIntent.getService(...) launches the app as expected.
Let me know if anyone else has faced this issue and any workaround/solution would be appreciated.
add a comment |
up vote
0
down vote
favorite
App with PendingIntent.getBroadcast(...) does not launch (BroadcastReceiver.onReceive() is not called, even the process does not start) from push notification click after killed (swiped away from recents) in OnePlus devices while battery optimisation is set to optimise for the app.
Whereas, PendingIntent.getActivity(...) and PendingIntent.getService(...) launches the app as expected.
Let me know if anyone else has faced this issue and any workaround/solution would be appreciated.
I have also submitted a bug report on this at forums.oneplus.com/threads/…
– Ashwin
Nov 12 at 13:52
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
App with PendingIntent.getBroadcast(...) does not launch (BroadcastReceiver.onReceive() is not called, even the process does not start) from push notification click after killed (swiped away from recents) in OnePlus devices while battery optimisation is set to optimise for the app.
Whereas, PendingIntent.getActivity(...) and PendingIntent.getService(...) launches the app as expected.
Let me know if anyone else has faced this issue and any workaround/solution would be appreciated.
App with PendingIntent.getBroadcast(...) does not launch (BroadcastReceiver.onReceive() is not called, even the process does not start) from push notification click after killed (swiped away from recents) in OnePlus devices while battery optimisation is set to optimise for the app.
Whereas, PendingIntent.getActivity(...) and PendingIntent.getService(...) launches the app as expected.
Let me know if anyone else has faced this issue and any workaround/solution would be appreciated.
asked Nov 9 at 7:55
Ashwin
1,5151119
1,5151119
I have also submitted a bug report on this at forums.oneplus.com/threads/…
– Ashwin
Nov 12 at 13:52
add a comment |
I have also submitted a bug report on this at forums.oneplus.com/threads/…
– Ashwin
Nov 12 at 13:52
I have also submitted a bug report on this at forums.oneplus.com/threads/…
– Ashwin
Nov 12 at 13:52
I have also submitted a bug report on this at forums.oneplus.com/threads/…
– Ashwin
Nov 12 at 13:52
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53221763%2fnotification-click-in-oneplus-does-not-launch-app-in-battery-optimize-mode%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have also submitted a bug report on this at forums.oneplus.com/threads/…
– Ashwin
Nov 12 at 13:52