Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WhiteLabelConfig.m
// 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
You can’t perform that action at this time.