added callback lines in two places in JsBridge.m

This commit is contained in:
Ben Wheeler 2020-08-24 16:06:19 -04:00
parent eb21e8dc36
commit eb37208424

View file

@ -174,6 +174,7 @@
kFIRParameterItemName:request.params[2], // label
kFIRParameterItemCategory:request.params[0] // category
}];
[request callback:@"ok"];
}
-(void) setAnalyticsPlacePref: (JsRequest *) request {
@ -186,6 +187,7 @@
NSString *name = [NSString stringWithFormat:@"%@", request.params[0]];
NSString *propertyString = [NSString stringWithFormat:@"%@", request.params[1]];
[FIRAnalytics setUserPropertyString:propertyString forName:name];
[request callback:@"ok"];
}
// iPad name (used for information in the name/sharing dialog to help people using Airdrop)