After hook to turn on 'Push Notification' switch on Xcode 8

This commit is contained in:
DerekChia jingqiang.jia@hand-china.com
2017-06-05 21:55:55 +08:00
parent 13b36b746c
commit c65c5a4057
5 changed files with 331 additions and 1 deletions
+5 -1
View File
@@ -57,6 +57,10 @@
<config-file target="*JPushConfig.plist" parent="Appkey">
<string>$APP_KEY</string>
</config-file>
<hook type="after_platform_add" src="hooks/iosEnablePush.js" />
<hook type="after_plugin_install" src="hooks/iosEnablePush.js" />
<hook type="before_plugin_uninstall" src="hooks/iosDisablePush.js" />
</platform>
<platform name="android">
@@ -155,7 +159,7 @@
<!-- User defined. For test only 用户自定义的广播接收器 -->
<receiver
android:name="cn.jiguang.cordova.push.MyReceiver"
android:name="cn.jiguang.cordova.push.MyReceiver"
android:enabled="true">
<intent-filter android:priority="1000">
<action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" />