FLAG_ACTIVITY_NEW_TASK
FLAG_RECEIVER_FOREGROUND
FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS
3.第三方推送在 APP 被完全杀死前提下拉起
FLAG_ACTIVITY_NEW_TASK
FLAG_RECEIVER_FOREGROUND
FLAG_ACTIVITY_SINGLE_TOP
FLAG_ACTIVITY_REORDER_TO_FRONT
FLAG_RECEIVER_REPLACE_PENDING
4.APP 在后台被拉起,但不同推送 SDK 可能出现回调不一样的情况
onNewIntent方法 中回调
FLAG_ACTIVITY_NEW_TASK
FLAG_RECEIVER_FOREGROUND
FLAG_RECEIVER_REPLACE_PENDING
FLAG_ACTIVITY_SINGLE_TOP
FLAG_ACTIVITY_CLEAR_TOP
FLAG_RECEIVER_REPLACE_PENDING
FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT
onCreate方法 中回调
FLAG_ACTIVITY_NEW_TASK
FLAG_RECEIVER_FOREGROUND
FLAG_RECEIVER_REPLACE_PENDING
FLAG_ACTIVITY_SINGLE_TOP
FLAG_RECEIVER_FROM_SHELL
FLAG_ACTIVITY_BROUGHT_TO_FRONT
FLAG_ACTIVITY_REORDER_TO_FRONT
从上述