소스 검색

Modified plugin.xml to avoid reveiver-calls from foreign apps on android

PKnittel 11 년 전
부모
커밋
3ed7098864
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      plugin.xml

+ 2 - 2
plugin.xml

@@ -64,13 +64,13 @@
              * Android notification bar. The notification uses the default notification
              * sound and it vibrates the phone.
             -->
-            <receiver android:name="de.appplant.cordova.plugin.localnotification.Receiver" />
+            <receiver android:name="de.appplant.cordova.plugin.localnotification.Receiver" android:exported="false" />
 
 			<!--
              * The delete intent receiver is triggered when the user clears a notification
 			 * manually. It unpersists the cleared notification from the shared preferences.
             -->
-            <receiver android:name="de.appplant.cordova.plugin.localnotification.DeleteIntentReceiver" />
+            <receiver android:name="de.appplant.cordova.plugin.localnotification.DeleteIntentReceiver" android:exported="false"/>
 
             <!--
              * This class is triggered upon reboot of the device. It needs to re-register