react-native-gleapsdk 13.5.0 → 13.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 +1 -1
- package/android/src/main/java/com/reactnativegleapsdk/GleapsdkModule.java +1 -56
- package/ios/Gleapsdk.xcodeproj/project.xcworkspace/xcuserdata/lukasboehler.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/package.json +1 -1
- package/react-native-gleapsdk.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -56,7 +56,7 @@ repositories {
|
|
|
56
56
|
|
|
57
57
|
dependencies {
|
|
58
58
|
implementation "com.facebook.react:react-native:+"
|
|
59
|
-
implementation group: 'io.gleap', name: 'gleap-android-sdk', version: '13.
|
|
59
|
+
implementation group: 'io.gleap', name: 'gleap-android-sdk', version: '13.6.1'
|
|
60
60
|
|
|
61
61
|
if(rootProject && rootProject.ext) {
|
|
62
62
|
if(rootProject.ext.targetSdkVersion == 30 || rootProject.ext.compileSdkVersion == 30) {
|
|
@@ -281,50 +281,6 @@ public class GleapsdkModule extends ReactContextBaseJavaModule {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
/**
|
|
285
|
-
* Show the news section.
|
|
286
|
-
*/
|
|
287
|
-
@ReactMethod
|
|
288
|
-
public void openNews() {
|
|
289
|
-
try {
|
|
290
|
-
getActivitySafe().runOnUiThread(
|
|
291
|
-
new Runnable() {
|
|
292
|
-
@Override
|
|
293
|
-
public void run() {
|
|
294
|
-
try {
|
|
295
|
-
Gleap.getInstance().openNews();
|
|
296
|
-
} catch (Exception e) {
|
|
297
|
-
System.out.println(e);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
} catch (NoUiThreadException e) {
|
|
302
|
-
System.err.println(e.getMessage());
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Show the feature requests section.
|
|
308
|
-
*/
|
|
309
|
-
@ReactMethod
|
|
310
|
-
public void openFeatureRequests() {
|
|
311
|
-
try {
|
|
312
|
-
getActivitySafe().runOnUiThread(
|
|
313
|
-
new Runnable() {
|
|
314
|
-
@Override
|
|
315
|
-
public void run() {
|
|
316
|
-
try {
|
|
317
|
-
Gleap.getInstance().openFeatureRequests();
|
|
318
|
-
} catch (Exception e) {
|
|
319
|
-
System.out.println(e);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
});
|
|
323
|
-
} catch (NoUiThreadException e) {
|
|
324
|
-
System.err.println(e.getMessage());
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
284
|
@ReactMethod
|
|
329
285
|
public void isUserIdentified(final Promise promise) {
|
|
330
286
|
try {
|
|
@@ -1060,18 +1016,7 @@ public class GleapsdkModule extends ReactContextBaseJavaModule {
|
|
|
1060
1016
|
System.out.println(ex);
|
|
1061
1017
|
}
|
|
1062
1018
|
}
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* Logs a custom event
|
|
1066
|
-
*
|
|
1067
|
-
* @param name Name of the event
|
|
1068
|
-
* @author Gleap
|
|
1069
|
-
*/
|
|
1070
|
-
@ReactMethod
|
|
1071
|
-
void trackEvent(String name) {
|
|
1072
|
-
Gleap.getInstance().trackEvent(name);
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1019
|
+
|
|
1075
1020
|
/**
|
|
1076
1021
|
* Logs a custom event with data
|
|
1077
1022
|
*
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-gleapsdk",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.6.2",
|
|
4
4
|
"description": "Know exactly why and how a bug happened. Get reports with screenshots, live action replays and all of the important metadata every time.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|