From eb372084248027cd4b3271eb2fc07904098c4a7f Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Mon, 24 Aug 2020 16:06:19 -0400 Subject: [PATCH] added callback lines in two places in JsBridge.m --- ios/ScratchJr/src/JsBridge.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/ScratchJr/src/JsBridge.m b/ios/ScratchJr/src/JsBridge.m index fc5277e..1b71b5c 100644 --- a/ios/ScratchJr/src/JsBridge.m +++ b/ios/ScratchJr/src/JsBridge.m @@ -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)