This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/iOS/Pod/Classes/Plugin/DoricModalPlugin.m
2019-10-12 14:48:19 +08:00

22 lines
389 B
Objective-C

//
// DoricModalPlugin.m
// Doric
//
// Created by pengfei.zhou on 2019/7/29.
//
#import "DoricModalPlugin.h"
#import "DoricRegistry.h"
@implementation DoricModalPlugin
- (void)toast:(NSString *)message withPromise:(DoricPromise *)promise {
dispatch_async(dispatch_get_main_queue(), ^{
NSLog(@"toast:%@", message);
[promise resolve:@"Resolved"];
});
}
@end