mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-26 04:07:07 +08:00
29 lines
581 B
Objective-C
29 lines
581 B
Objective-C
#import "RNFirebaseFunctions.h"
|
|
|
|
#if __has_include(<FirebaseFunctions/FIRFunctions.h>)
|
|
#import <FirebaseFunctions/FIRFunctions.h>
|
|
|
|
@implementation RNFirebaseFunctions
|
|
RCT_EXPORT_MODULE();
|
|
|
|
RCT_EXPORT_METHOD(httpsCallable:
|
|
(NSString *)name
|
|
wrapper:
|
|
(NSDictionary *)wrapper
|
|
resolver:
|
|
(RCTPromiseResolveBlock) resolve
|
|
rejecter:
|
|
(RCTPromiseRejectBlock) reject
|
|
) {
|
|
// TODO
|
|
}
|
|
|
|
|
|
@end
|
|
|
|
#else
|
|
@implementation RNFirebaseFunctions
|
|
@end
|
|
#endif
|
|
|