JLChen
2020-06-04 6d55af8792cf8fbef0055e677b900fc352dba9a2
SmartHome/ON/Application.cs
@@ -281,7 +281,7 @@
        "cn.jpush.android.intent.NOTIFICATION_OPENED",
        "cn.jpush.android.intent.CONNECTION"
        },
               Categories = new string [] { "com.hdl.on" })
               Categories = new string [] { "com.hdl.in" })
           ]
    public class JpushNotificationReceiver : BroadcastReceiver
    {
@@ -302,8 +302,7 @@
                else if (JPushInterface.ActionRegistrationId == intent.Action) {
                    string regId = bundle.GetString (JPushInterface.ExtraRegistrationId);
                    //System.Console.WriteLine ("Registration ID:" + regId);
                }
                else if (JPushInterface.ActionNotificationOpened == intent.Action) {
                } else if (JPushInterface.ActionNotificationOpened == intent.Action) {
                Console.WriteLine ("用户点击打开了通知");
                    Application.IsShowTip = false;