瀏覽代碼

Setting launchMode to *singleInstance* isn't necessary anymore

Sebastián Katzer 12 年之前
父節點
當前提交
7089c5599d
共有 2 個文件被更改,包括 2 次插入1 次删除
  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">