@Override public void onNewIntent(Intent intent) { super.onNewIntent(intent); String offerData = null; if (intent != null && (offerData = intent.getStringExtra("com.vresorts.cordova.bgloc.NOTIFICATION_OFFER_DATA")) != null) { this.performNotificationClicked(offerData); } }