File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
+ using System . Collections . Generic ;
2
3
using System . Xml . Linq ;
3
4
4
5
using WPCordovaClassLib . Cordova ;
@@ -31,9 +32,8 @@ public void getAppInfo(string options)
31
32
appInfo [ "version" ] = manifestAppElement . Attribute ( "Version" ) . Value ;
32
33
}
33
34
34
- string jsonString = JsonHelper . Serialize ( keys ) ;
35
35
36
- DispatchCommandResult ( new PluginResult ( PluginResult . Status . OK , jsonString ) ) ;
36
+ DispatchCommandResult ( new PluginResult ( PluginResult . Status . OK , "{ \" identifier \" : \" " + appInfo [ "identifier" ] + " \" , \" version \" : \" " + appInfo [ "version" ] + " \" }" ) ) ;
37
37
}
38
38
39
39
public void getVersion ( string options )
@@ -62,4 +62,4 @@ public void getIdentifier(string options)
62
62
DispatchCommandResult ( new PluginResult ( PluginResult . Status . OK , productID ) ) ;
63
63
}
64
64
}
65
- }
65
+ }
You can’t perform that action at this time.
0 commit comments