From d6f52306ab379cd03de25df3955f3533a4a0fc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Sun, 1 Dec 2013 13:49:36 +0100 Subject: [PATCH] Update README.md --- README.md | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 39297a1..26d3163 100644 --- a/README.md +++ b/README.md @@ -58,33 +58,20 @@ The method disables the background mode. If the mode is disabled while the app i window.plugin.backgroundMode.disable(); ``` -## Quirks +## Platform specifics -### The app crashes under iOS -If the app crashes after installing the plugin, make sure that your `*-Info.plist` is valid. -Do to some bugs in cordova or Plugman please reset all occurences like -```xml -NSMainNibFile - - - -``` -to -```xml -NSMainNibFile - -``` - -### Location tracking under iOS +### Location tracking on iOS **iOS 5-6**
The app still runs in background, even if the location service is not actived. **iOS 7**
The location service needs to be enabled. -### Optimization under WP8 +### Optimization on WP8 By default the plugin will track for geo updates while the application is in background and foreground. To stop tracking in foreground, the `MainPage.xaml.cs` file needs the following 2 methods: ```c# +// MainPage.xaml.cs + namespace your.own.namespace { public partial class MainPage : PhoneApplicationPage @@ -110,6 +97,23 @@ namespace your.own.namespace } ``` +## Quirks + +### The app crashes on iOS +If the app crashes after installing the plugin, make sure that your `*-Info.plist` is valid. +Do to some bugs in cordova or Plugman please reset all occurences like +```xml +NSMainNibFile + + + +``` +to +```xml +NSMainNibFile + +``` + ### TypeError: Cannot read property 'currentVersion' of null Along with Cordova 3.2 and Windows Phone 8 the `version.bat` script has to be renamed to `version`.