I recently updated my app to target sdk version 26. Since the first day, the app started crashing on some of my users’ devices with Android 8.0 and 8.1.
One user reported that the app often crashes when he receives a message in the app when it’s in background mode. At this point we send a push notification (with
raix:firstname.lastname@example.org ), play a sound (with
brentjanderson:email@example.com ) and the screen changes as well (to show the message).
I understand this is likely due to the new Background Service Limitations. But it’s hard to figure out what this means for a Meteor/Cordova app as we don’t control the source directly.
According to the crash logs from Android, ANRs has remained practically zero but crashes are happening every day. I’ve been unable to reproduce it with a test version of the app on a borrowed device.
For those who are familiar with the new limitations of SDK version 26, where is the issue likely to be?