protected void onNotificationReceivedInApp()

in android/src/main/java/com/aliyun/ams/push/AliyunPushMessageReceiver.java [101:116]


	protected void onNotificationReceivedInApp(Context context, String title, String summary,
											   Map<String, String> extraMap, int openType,
											   String openActivity, String openUrl) {
		WritableMap writableMap = new WritableNativeMap();
		if (extraMap != null && !extraMap.isEmpty()) {
			for (Entry<String, String> entry: extraMap.entrySet()) {
				writableMap.putString(entry.getKey(), entry.getValue());
			}
		}
		writableMap.putString("title", title);
		writableMap.putString("summary", summary);
		writableMap.putString("openType", openType + "");
		writableMap.putString("openActivity", openActivity);
		writableMap.putString("openUrl", openUrl);
		AliyunPushEventSender.sendEvent("onNotificationReceivedInApp", writableMap);
	}