Files
react-native-firebase/ios/RNFirebase/converters/RCTConvert+UIBackgroundFetchResult.m

17 lines
453 B
Objective-C

#import "RCTConvert+UIBackgroundFetchResult.h"
@implementation RCTConvert (UIBackgroundFetchResult)
RCT_ENUM_CONVERTER(
UIBackgroundFetchResult,
(@{
@"backgroundFetchResultNoData" : @(UIBackgroundFetchResultNoData),
@"backgroundFetchResultNewData" : @(UIBackgroundFetchResultNewData),
@"backgroundFetchResultFailed" : @(UIBackgroundFetchResultFailed)}
),
UIBackgroundFetchResultNoData,
integerValue
)
@end