Rewritten notification-click intent handling so that we don't need to
check whether app is running or not. Instead, it sends the intent such
that it can get an 'OK' response back if the app is running; if not,
it'll start the app.
This is the first significant Android code I've written, so apologies if
it's not quite right – but it's been working for us in low-volume testing
recently.
Rewritten notification-click intent handling so that we don't need to check whether app is running or not. Instead, it sends the intent such that it can get an 'OK' response back if the app is running; if not, it'll start the app.
getRunningTasks was deprecated in Lollipop, as was the whole GET_TASKS permission.
This is the first significant Android code I've written, so apologies if it's not quite right – but it's been working for us in low-volume testing recently.