capacitor-gleap-plugin 7.0.2 → 7.0.5
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
|
@@ -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.
|
|
57
|
+
implementation group: 'io.gleap', name: 'gleap-android-sdk', version: '7.0.31'
|
|
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);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capacitor-gleap-plugin",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
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",
|