Skip to content

Instantly share code, notes, and snippets.

@flopshot
Last active September 9, 2019 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flopshot/0e480db79642861001bacbc552e54b00 to your computer and use it in GitHub Desktop.
Save flopshot/0e480db79642861001bacbc552e54b00 to your computer and use it in GitHub Desktop.
WhiteLabelConfig.m for purple parrots
// WhiteLabelConfig.m for purple parrots
#import "WhiteLabelConfig.h"
@implementation WhiteLabelConfig
RCT_EXPORT_MODULE(WhiteLabelConfig);
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getAppName) {
return [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
}
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getPrimaryColor) {
return @"#800080";
}
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getPrimaryTextColor) {
return @"#FFD700";
}
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getGreetingText) {
return @"Legends of the Hidden Temple Rules!!!!!";
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment