Last active
March 15, 2021 15:40
-
-
Save flopshot/da635cb07fe0fba663ab5a7c4b1307a3 to your computer and use it in GitHub Desktop.
WhiteLabelConfig.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WhiteLabelConfig.m | |
@implementation WhiteLabelConfig | |
RCT_EXPORT_MODULE(WhiteLabelConfig); | |
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getAppName) { | |
return [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"]; | |
} | |
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getPrimaryColor) { | |
return @"#fdf6e3"; | |
} | |
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getPrimaryTextColor) { | |
return @"#657b83"; | |
} | |
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getGreetingText) { | |
return @"Welcome"; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add
#import "WhiteLabelConfig.h"
at the top to fix these errors: