I'm facing an Android Not Responding when using a custom action launched on background.
/ActivityManager: ANR in br.com.golmobile.nypost.dev
PID: 23042
Reason: Broadcast of Intent { act=com.urbanairship.push.
Load: 10.66 / 9.27 / 8.36
// Define actions for the group
val saveButtonAction: NotificationActionButton = NotificationActionButton.
.setLabel(R.string.
.setIcon(R.drawable.ic_
.setPerformsInForeground(
.build()
and for the action:
override fun shouldRunOnMainThread() = false
After I click on the Save action, and the app is in foreground, it get's stuck for about 10 seconds
Comments
1 comment