Exception when opening Parse push notification [closed]

After spending few hours. Found a solution: Implement your receiver and extends ParsePushBroadcastReceiver class. Receiver.java public class Receiver extends ParsePushBroadcastReceiver { @Override public void onPushOpen(Context context, Intent intent) { Log.e(“Push”, “Clicked”); Intent i = new Intent(context, HomeActivity.class); i.putExtras(intent.getExtras()); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(i); } } Use it in manifest, (Instead of using ParsePushBroadcastReceiver) Code for project’s manifest: <receiver … Read more

tech