react-native-gleapsdk 14.6.2 → 14.6.4
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/ios/Gleapsdk.m +8 -6
- 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: '14.6.
|
|
59
|
+
implementation group: 'io.gleap', name: 'gleap-android-sdk', version: '14.6.3'
|
|
60
60
|
|
|
61
61
|
if(rootProject && rootProject.ext) {
|
|
62
62
|
if(rootProject.ext.targetSdkVersion == 30 || rootProject.ext.compileSdkVersion == 30) {
|
package/ios/Gleapsdk.m
CHANGED
|
@@ -152,12 +152,14 @@ RCT_EXPORT_METHOD(initialize:(NSString *)token)
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
- (void)customActionCalled:(NSString *)customAction withShareToken:(NSString *)shareToken {
|
|
155
|
-
if (_hasListeners) {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
if (!_hasListeners) { return; }
|
|
156
|
+
|
|
157
|
+
[self sendEventWithName:@"customActionTriggered"
|
|
158
|
+
body:@{
|
|
159
|
+
@"name": customAction ?: @"",
|
|
160
|
+
@"shareToken": shareToken ?: @""
|
|
161
|
+
}
|
|
162
|
+
];
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
- (void)feedbackFlowStarted:(NSDictionary *)feedbackAction {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-gleapsdk",
|
|
3
|
-
"version": "14.6.
|
|
3
|
+
"version": "14.6.4",
|
|
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",
|