Browse Source

reloading in debug mode fix

yogevbd 6 years ago
parent
commit
ceb315118c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RCCManager.m

+ 1
- 1
ios/RCCManager.m View File

@@ -41,7 +41,7 @@
41 41
   {
42 42
     self.modulesRegistry = [@{} mutableCopy];
43 43
     
44
-    //    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onRNReload) name:RCTReloadNotification object:nil];
44
+    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onRNReload) name:RCTBridgeWillReloadNotification object:nil];
45 45
   }
46 46
   return self;
47 47
 }