Skip to content

Commit

Permalink
Merge pull request #371 from adobe/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
dsoffiantini authored Jun 19, 2024
2 parents dded69c + 806c744 commit 4a1b800
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/optimize/ios/src/RCTAEPOptimize.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ - (dispatch_queue_t)methodQueue {
forKey:key.name];
}

[self sendEventWithName:@"onPropositionsUpdate" body:propositionDictionary];
if (self->hasListeners) {
[self sendEventWithName:@"onPropositionsUpdate" body:propositionDictionary];
}
}];
}

Expand Down
2 changes: 1 addition & 1 deletion packages/optimize/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/react-native-aepoptimize",
"version": "6.0.2",
"version": "6.0.3",
"description": "Adobe Experience Platform support for React Native apps.",
"homepage": "https://developer.adobe.com/client-sdks/documentation/",
"license": "Apache-2.0",
Expand Down

0 comments on commit 4a1b800

Please sign in to comment.