capacitor-gleap-plugin 7.0.3 → 7.0.6

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.
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '12.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'Gleap', '7.0.12'
16
+ s.dependency 'Gleap', '7.0.15'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -54,7 +54,7 @@ dependencies {
54
54
  testImplementation "junit:junit:$junitVersion"
55
55
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
56
56
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
57
- implementation group: 'io.gleap', name: 'gleap-android-sdk', version: '7.0.30'
57
+ implementation group: 'io.gleap', name: 'gleap-android-sdk', version: '7.0.32'
58
58
  if (rootProject && rootProject.ext) {
59
59
  if (rootProject.ext.targetSdkVersion == 30 || rootProject.ext.compileSdkVersion == 30) {
60
60
  implementation( "androidx.appcompat:appcompat:1.3.0") {
@@ -19,6 +19,7 @@ import java.util.regex.Pattern;
19
19
 
20
20
  import org.json.JSONObject;
21
21
 
22
+ import io.gleap.APPLICATIONTYPE;
22
23
  import io.gleap.ConfigLoadedCallback;
23
24
  import io.gleap.CustomActionCallback;
24
25
  import io.gleap.FeedbackFlowStartedCallback;
@@ -57,6 +58,9 @@ public class GleapPlugin extends Plugin {
57
58
  // Initialize Gleap with API Key
58
59
  Gleap.initialize(api_key, getActivity().getApplication());
59
60
 
61
+ // Set the application type
62
+ Gleap.getInstance().setApplicationType(APPLICATIONTYPE.CAPACITOR);
63
+
60
64
  // Build Json object and resolve success
61
65
  JSObject ret = new JSObject();
62
66
  ret.put("initialized", true);
@@ -23,6 +23,7 @@ public class GleapPlugin: CAPPlugin, GleapDelegate {
23
23
 
24
24
  // Initialize Gleap with API key
25
25
  Gleap.initialize(withToken: api_key)
26
+ Gleap.setApplicationType(CAPACITOR)
26
27
 
27
28
  // Provide feedback that it has been success
28
29
  call.resolve([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-gleap-plugin",
3
- "version": "7.0.3",
3
+ "version": "7.0.6",
4
4
  "description": "Gleap SDK for Capacitor is the easiest way to integrate Gleap into your Ionic apps! Achieve better app quality with comprehensive in-app bug reporting & customer feedback for your web-apps and websites. Many thanks to Stephan Nagel (congrapp) for his work on the Gleap capacitor plugin.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",