Commit 9e385713 by Zac Chan

added NSlogs

parent 84010efe
......@@ -55,7 +55,7 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
if (time > 10) time = 10;
else if (time < 1) time = 1;
printf("It showToast");
NSLog(@"The code runs through here!");
CSToastStyle *style = [[CSToastStyle alloc] initWithDefaultStyle];
......@@ -74,7 +74,7 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
style:style
completion:^(BOOL didTap){
NSNumber *boolNumber = [NSNumber numberWithBool:didTap];
printf("It came Here");
NSLog(@"The code runs through here! 2");
[self.channel invokeMethod:@"onTap" arguments:@{
@"didTap" : boolNumber
}];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment