mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-06-17 23:15:37 +08:00
17 lines
453 B
Objective-C
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
|