Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RN Relay "Reset" LOLROFLCOPTER.
//
// BridgeManager.h
//
// Created by Nick Hudkins on 12/13/15.
//
#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
@interface BridgeManager : NSObject <RCTBridgeModule>
@end
//
// BridgeManager.m
//
// Created by Nick Hudkins on 12/13/15.
//
#import "RCTBridge.h"
#import "BridgeManager.h"
@implementation BridgeManager
@synthesize bridge = _bridge;
RCT_EXPORT_MODULE();
RCT_EXPORT_METHOD(reload)
{
[_bridge reload];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment