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.
@@ -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.5.0'
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
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gleapsdk",
3
- "version": "13.5.0",
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",
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm}"
17
17
 
18
18
  s.dependency "React-Core"
19
- s.dependency "Gleap", "13.5.0"
19
+ s.dependency "Gleap", "13.6.2"
20
20
  end