@braze/react-native-sdk
Advanced tools
Comparing version 5.1.0 to 5.2.0
{ | ||
"name": "@braze/react-native-sdk", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "Braze SDK for React Native.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -821,4 +821,7 @@ import { | ||
static addListener(event, subscriber) { | ||
if (Platform.OS === 'android') { | ||
this.bridge.addListener(event); | ||
} | ||
return this.eventEmitter.addListener(event, subscriber); | ||
} | ||
} |
@@ -602,2 +602,10 @@ // Definitions by: ahanriat <https://github.com/ahanriat> | ||
/** | ||
* Notifies the bridge of a listener being added. | ||
* @param {Events} event | ||
*/ | ||
export function addListener( | ||
event: string | ||
): void; | ||
export interface FeatureFlagStringProperty { | ||
@@ -604,0 +612,0 @@ type: "string"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
199350
2415