diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-31 08:21:38 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-31 08:21:38 -0400 |
| commit | 02811010cf62f1b21a06780d1e470d04bb24c50f (patch) | |
| tree | 0d933789068aac11c810ed4bb169d14ab16c43c6 /plugins/uk.co.whiteoctober.cordova.appversion/src/wp8 | |
| parent | bca561c1b3989d62a1fba829e0380c6fbf36caf5 (diff) | |
removed unecessary files from git
Diffstat (limited to 'plugins/uk.co.whiteoctober.cordova.appversion/src/wp8')
| -rw-r--r-- | plugins/uk.co.whiteoctober.cordova.appversion/src/wp8/AppVersion.cs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/plugins/uk.co.whiteoctober.cordova.appversion/src/wp8/AppVersion.cs b/plugins/uk.co.whiteoctober.cordova.appversion/src/wp8/AppVersion.cs deleted file mode 100644 index 2f3d2c95..00000000 --- a/plugins/uk.co.whiteoctober.cordova.appversion/src/wp8/AppVersion.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Windows; -using System.Windows.Navigation; -using Microsoft.Phone.Controls; -using WPCordovaClassLib.Cordova; -using WPCordovaClassLib.Cordova.Commands; -using WPCordovaClassLib.Cordova.JSON; -using Windows.ApplicationModel; -using System.Xml.Linq; - -namespace Cordova.Extension.Commands -{ - public class AppVersion : BaseCommand - { - public void getVersionNumber(string empty) - { - //Windows.ApplicationModel.Package.current.id.version is NOT working in Windows Phone 8 - //Workaround based on http://stackoverflow.com/questions/14371275/how-can-i-get-my-windows-store-apps-title-and-version-info - String version= XDocument.Load("WMAppManifest.xml").Root.Element("App").Attribute("Version").Value; - - this.DispatchCommandResult(new PluginResult(PluginResult.Status.OK, version)); - } - } -} |
