I'm sending a bundle from the custom push broadcast receiver to the activity as below :
Intent launchIntent = new Intent(context, Home2Activity.class); launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); //Put push notifications payload in Intent launchIntent.putExtras(pushBundle); launchIntent.putExtra(PushManager.PUSH_RECEIVE_EVENT, dataObject.toString()); context.startActivity(launchIntent);
The intent extras are null in the onNewIntent of the activity. Please help. It's urgent
Please sign in to leave a comment.