Browse Source

Setup devSupportHandler only in debug

Guy Carmeli 8 years ago
parent
commit
2db8eeb1cf

+ 3
- 2
android/app/src/main/java/com/reactnativenavigation/core/RctManager.java View File

75
         }
75
         }
76
 
76
 
77
         mReactManager = builder.build();
77
         mReactManager = builder.build();
78
-        setupDevSupportHandler(mReactManager);
79
-
78
+        if (reactActivity.getUseDeveloperSupport()) {
79
+            setupDevSupportHandler(mReactManager);
80
+        }
80
         return mReactManager;
81
         return mReactManager;
81
     }
82
     }
82
 
83