leap-capacitor 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -51,7 +51,7 @@ repositories {
|
|
|
51
51
|
dependencies {
|
|
52
52
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
53
53
|
implementation project(':capacitor-android')
|
|
54
|
-
implementation 'is.leap.android:sdk:1.11.
|
|
54
|
+
implementation 'is.leap.android:sdk:1.11.2'
|
|
55
55
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
56
56
|
testImplementation "junit:junit:$junitVersion"
|
|
57
57
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
@@ -129,11 +129,11 @@ public class LeapPlugin extends Plugin {
|
|
|
129
129
|
String valueStr = (String) propValue;
|
|
130
130
|
if (valueStr.startsWith(DATE_TYPE_PREFIX)) {
|
|
131
131
|
String[] split = valueStr.split(DATE_TYPE_PREFIX);
|
|
132
|
-
if (split.length != 2)
|
|
132
|
+
if (split.length != 2) continue;
|
|
133
133
|
String dateValue = split[1];
|
|
134
134
|
Date date = getDate(dateValue);
|
|
135
135
|
if(date != null) leapBuilder.addProperty(key, date);
|
|
136
|
-
|
|
136
|
+
continue;
|
|
137
137
|
}
|
|
138
138
|
leapBuilder.addProperty(key, String.valueOf(propValue));
|
|
139
139
|
} else if (propValue instanceof Number) {
|
|
@@ -162,11 +162,11 @@ public class LeapPlugin extends Plugin {
|
|
|
162
162
|
String valueStr = (String) propValue;
|
|
163
163
|
if (valueStr.startsWith(DATE_TYPE_PREFIX)) {
|
|
164
164
|
String[] split = valueStr.split(DATE_TYPE_PREFIX);
|
|
165
|
-
if (split.length != 2)
|
|
165
|
+
if (split.length != 2) continue;
|
|
166
166
|
String dateValue = split[1];
|
|
167
167
|
Date date = getDate(dateValue);
|
|
168
168
|
if(date != null) leapPropertyBuilder.addProperty(key, date);
|
|
169
|
-
|
|
169
|
+
continue;
|
|
170
170
|
}
|
|
171
171
|
leapPropertyBuilder.addProperty(key, String.valueOf(propValue));
|
|
172
172
|
} else if (propValue instanceof Number) {
|