Commit ac3fe671 by Sebastián Katzer

Add android:exported="false" for activities

parent d11d8546
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<!-- ios --> <!-- ios -->
<platform name="ios"> <platform name="ios">
<config-file target="config.xml" parent="/*"> <config-file target="config.xml" parent="/*">
<feature name="LocalNotification"> <feature name="LocalNotification">
<param name="ios-package" value="APPLocalNotification" onload="true" /> <param name="ios-package" value="APPLocalNotification" onload="true" />
...@@ -52,10 +53,12 @@ ...@@ -52,10 +53,12 @@
<header-file src="src/ios/UILocalNotification+APPLocalNotification.h" /> <header-file src="src/ios/UILocalNotification+APPLocalNotification.h" />
<source-file src="src/ios/UILocalNotification+APPLocalNotification.m" /> <source-file src="src/ios/UILocalNotification+APPLocalNotification.m" />
</platform> </platform>
<!-- android --> <!-- android -->
<platform name="android"> <platform name="android">
<config-file target="res/xml/config.xml" parent="/*"> <config-file target="res/xml/config.xml" parent="/*">
<feature name="LocalNotification"> <feature name="LocalNotification">
<param name="android-package" value="de.appplant.cordova.plugin.localnotification.LocalNotification"/> <param name="android-package" value="de.appplant.cordova.plugin.localnotification.LocalNotification"/>
...@@ -75,7 +78,8 @@ ...@@ -75,7 +78,8 @@
<activity <activity
android:name="de.appplant.cordova.plugin.localnotification.ClickActivity" android:name="de.appplant.cordova.plugin.localnotification.ClickActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:theme="@android:style/Theme.NoDisplay" /> android:theme="@android:style/Theme.NoDisplay"
android:exported="false" />
<receiver <receiver
android:name="de.appplant.cordova.plugin.notification.TriggerReceiver" android:name="de.appplant.cordova.plugin.notification.TriggerReceiver"
...@@ -94,7 +98,8 @@ ...@@ -94,7 +98,8 @@
<activity <activity
android:name="de.appplant.cordova.plugin.notification.ClickActivity" android:name="de.appplant.cordova.plugin.notification.ClickActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:theme="@android:style/Theme.NoDisplay" /> android:theme="@android:style/Theme.NoDisplay"
android:exported="false" />
</config-file> </config-file>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment