13450 merge 12267_new_flow and update to new flutter version
This commit is contained in:
@@ -12,9 +12,7 @@
|
||||
|
||||
FlutterMethodChannel* platformChannel = [FlutterMethodChannel
|
||||
methodChannelWithName:@"com.dinect.checker/instance_id"
|
||||
binaryMessenger:controller];
|
||||
|
||||
__weak FlutterMethodChannel* weekPlatformChannel = platformChannel;
|
||||
binaryMessenger:controller.binaryMessenger];
|
||||
|
||||
NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
|
||||
|
||||
@@ -116,7 +114,7 @@
|
||||
result(buildSettings[@"currency"]);
|
||||
} else if ([@"startScanner" isEqualToString:call.method]) {
|
||||
ScannerViewController *modalViewController = [[ScannerViewController alloc] initWithStrings:call.arguments];
|
||||
modalViewController.platformChannel = weekPlatformChannel;
|
||||
modalViewController.platformChannel = platformChannel;
|
||||
[controller presentViewController:modalViewController animated:YES completion:nil];
|
||||
} else if ([@"isOnline" isEqualToString:call.method]) {
|
||||
result(@YES);
|
||||
|
||||
Reference in New Issue
Block a user