Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @implementation DismissViewControllerManager
- RCT_EXPORT_MODULE();
- RCT_EXPORT_METHOD(goBack) {
- [[NSNotificationCenter defaultCenter] postNotificationName:@"dismiss_rct_modal" object:nil];
- }
- RCT_EXPORT_METHOD(goToCompany:(NSString *)companyId) {
- [[NSNotificationCenter defaultCenter] postNotificationName:@"go_to_company" object:nil userInfo:@{@"company_id": companyId}];
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement