Explorar el Código

Setting launchMode to *singleInstance* isn't necessary anymore

Sebastián Katzer hace 12 años
padre
commit
7089c5599d
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      README.md
  2. 1 1
      plugin.xml

+ 1 - 0
README.md

@@ -60,6 +60,7 @@ More informations can be found [here](https://build.phonegap.com/plugins/356).
 - [feature:] Added `json` property to pass custom data through the notification.
 - [enhancement:] Added Android specific property `smallImage`.
 - [enhancement:] Added Android specific property `ongoing`.
+- [enhancement:] Setting launchMode to *singleInstance* isn't necessary anymore.
 
 #### Version 0.6.3 (12.12.2013)
 - [bugfix:] Black screen on Android.

+ 1 - 1
plugin.xml

@@ -69,7 +69,7 @@
              * The activity calls the background callback and brings the launch inten
              * up to foreground.
             -->
-            <activity android:name="de.appplant.cordova.plugin.localnotification.ReceiverActivity"></activity>
+            <activity android:name="de.appplant.cordova.plugin.localnotification.ReceiverActivity" android:launchMode="singleInstance" />
         </config-file>
 
         <config-file target="AndroidManifest.xml" parent="/manifest">