senset-walkie-plugin 1.0.4 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/.idea/misc.xml +0 -1
- package/package.json +1 -1
- package/plugin.xml +4 -4
- package/src/android/SensetWalkie.java +3 -5
package/.idea/misc.xml
CHANGED
package/package.json
CHANGED
package/plugin.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
3
3
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
4
|
-
id="senset-walkie" version="1.0.
|
4
|
+
id="senset-walkie" version="1.0.10">
|
5
5
|
<name>Senset Walkie Talkie plugin</name>
|
6
6
|
|
7
7
|
<description>Ivo plugin popis.</description>
|
@@ -10,11 +10,11 @@
|
|
10
10
|
<keywords>cordova,android,bluetooth,printer</keywords>
|
11
11
|
<repo>https://bitbucket.org/orderocks/printer-plugin.git</repo>
|
12
12
|
<!-- <issue>https://github.com/stanidesis/toastyplugin/issues</issue> -->
|
13
|
-
|
13
|
+
|
14
14
|
<engines>
|
15
15
|
<engine name="cordova" version=">=3.0.0"/>
|
16
16
|
</engines>
|
17
|
-
|
17
|
+
|
18
18
|
<js-module src="www/senset-walkie-plugin.js" name="SensetWalkie">
|
19
19
|
<clobbers target="window.plugins.SensetWalkie" />
|
20
20
|
</js-module>
|
@@ -27,4 +27,4 @@
|
|
27
27
|
|
28
28
|
<source-file src="src/android/SensetWalkie.java" target-dir="src/sk/senset/cordova/plugin" />
|
29
29
|
</platform>
|
30
|
-
</plugin>
|
30
|
+
</plugin>
|
@@ -13,7 +13,7 @@ import android.util.Log;
|
|
13
13
|
import java.text.SimpleDateFormat;
|
14
14
|
import java.util.Calendar;
|
15
15
|
|
16
|
-
public class SensetWalkie
|
16
|
+
public class SensetWalkie extends CordovaPlugin {
|
17
17
|
|
18
18
|
public static String logs = "";
|
19
19
|
public static String logGroup = "";
|
@@ -58,12 +58,10 @@ public class SensetWalkie<CallbackContext> extends CordovaPlugin {
|
|
58
58
|
// return false;
|
59
59
|
// }
|
60
60
|
if (action.equals("start")) {
|
61
|
-
SensetWalkie.
|
62
|
-
|
63
|
-
callbackContext.success("SensetWalkie start success" + userId + ", " + userName + ", " + companyId);
|
61
|
+
SensetWalkie.debug("SensetWalkie started userId " + userId + ", userName: " + userName + ", companyId: " + companyId);
|
62
|
+
|
64
63
|
return true;
|
65
64
|
}
|
66
|
-
Log.i("WALKIEPRINT", "Unknown method: " + action);
|
67
65
|
callbackContext.error("Unknown method: " + action);
|
68
66
|
SensetWalkie.logs = "";
|
69
67
|
return false;
|