Skip to content

Commit 1fd75d9

Browse files
committed
v14.6.3
1 parent 01d6098 commit 1fd75d9

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

ios/Gleapsdk.m

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,14 @@ - (void)outboundSent:(NSDictionary *)data {
152152
}
153153

154154
- (void)customActionCalled:(NSString *)customAction withShareToken:(NSString *)shareToken {
155-
if (_hasListeners) {
156-
[self sendEventWithName:@"customActionTriggered" body:@{
157-
@"name": customAction,
158-
@"shareToken": shareToken
159-
}];
160-
}
155+
if (!_hasListeners) { return; }
156+
157+
[self sendEventWithName:@"customActionTriggered"
158+
body:@{
159+
@"name": customAction ?: @"",
160+
@"shareToken": shareToken ?: @""
161+
}
162+
];
161163
}
162164

163165
- (void)feedbackFlowStarted:(NSDictionary *)feedbackAction {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-gleapsdk",
3-
"version": "14.6.2",
3+
"version": "14.6.3",
44
"description": "Know exactly why and how a bug happened. Get reports with screenshots, live action replays and all of the important metadata every time.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)