We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12bab3c commit 84c1618Copy full SHA for 84c1618
flagsmith-core.ts
@@ -835,11 +835,12 @@ const Flagsmith = class {
835
private updateEventStorage() {
836
if (this.enableAnalytics) {
837
const events = JSON.stringify(this.getState().evaluationEvent);
838
- AsyncStorage!.setItem(FlagsmithEvent, events);
+ AsyncStorage!.setItem(FlagsmithEvent, events)
839
+ .catch((e) => console.error("Flagsmith: Error setting item in async storage", e));
840
}
841
842
- private evaluateFlag = (key: string, method: 'VALUE' | 'ENABLED') => {
843
+ private evaluateFlag =(key: string, method: 'VALUE' | 'ENABLED') => {
844
if (this.datadogRum) {
845
if (!this.datadogRum!.client!.addFeatureFlagEvaluation) {
846
console.error('Flagsmith: Your datadog RUM client does not support the function addFeatureFlagEvaluation, please update it.');
0 commit comments