File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Branch-TestBed/Branch-TestBed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -797,7 +797,9 @@ - (NSDictionary *)getFirstReferringParams {
797797 NSDictionary *origInstallParams = [BNCEncodingUtils decodeJsonStringToDictionary: self .preferenceHelper.installParams];
798798
799799 if (self.deepLinkDebugParams ) {
800- NSMutableDictionary * debugInstallParams = [[BNCEncodingUtils decodeJsonStringToDictionary: self .preferenceHelper.sessionParams] mutableCopy ];
800+ NSMutableDictionary * debugInstallParams =
801+ [[BNCEncodingUtils decodeJsonStringToDictionary: self .preferenceHelper.sessionParams]
802+ mutableCopy ];
801803 [debugInstallParams addEntriesFromDictionary: self .deepLinkDebugParams];
802804 return debugInstallParams;
803805 }
Original file line number Diff line number Diff line change @@ -223,7 +223,16 @@ - (IBAction) sendCommerceEvent:(id)sender {
223223 metadata: @{ @" Meta" : @" Never meta dog I didn't like." }
224224 withCompletion:
225225 ^ (NSDictionary *response, NSError *error) {
226- NSLog (@" Completion called. Error: %@ \n %@ " , error, response);
226+ NSString *message =
227+ [NSString stringWithFormat: @" Commerce completion called.\n Error: %@ \n %@ " , error, response];
228+ NSLog (@" %@ " , message);
229+ [[[UIAlertView alloc ]
230+ initWithTitle: @" Commerce Event"
231+ message: message
232+ delegate: nil
233+ cancelButtonTitle: @" OK"
234+ otherButtonTitles: nil ]
235+ show ];
227236 }];
228237}
229238
You can’t perform that action at this time.
0 commit comments