mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
added callback lines in two places in JsBridge.m
This commit is contained in:
parent
eb21e8dc36
commit
eb37208424
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue