Sfoglia il codice sorgente

reloading in debug mode fix

yogevbd 6 anni fa
parent
commit
ceb315118c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      ios/RCCManager.m

+ 1
- 1
ios/RCCManager.m Vedi 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
 }