//
//  MyJSBridgeCheckerHandler.m
//  suite-ios-h5
//
//  Created by junmo on 2018/12/18.
//  Copyright © 2018年 junmo. All rights reserved.
//

#import "MyJSBridgeCheckerHandler.h"

@implementation MyJSBridgeCheckerHandler
#if __has_include(<WindVane/WindVane.h>)

+ (void)load {
    [WVBridgeChecker registerChecker:[[MyJSBridgeCheckerHandler alloc] init]];
}

- (WVBridgePermission *)checkPermission:(NSString *)apiName withParams:(NSDictionary *)params withContext:(id<WVBridgeContext>)context {
    NSLog(@"[JSBridgeChecker] apiName: %@, params: %@", apiName, params);
    return [WVBridgePermission permissionNotSure];
}
#else
#endif
@end

