add native module overriding

Differential Revision: D2700638

fb-gh-sync-id: a88ffaf864be848e1bba22e443d301e4623f04ec
This commit is contained in:
Felix Oghină
2015-11-27 06:25:35 -08:00
committed by facebook-github-bot-3
parent af753a8a4d
commit 9e30c3b218
3 changed files with 44 additions and 36 deletions

View File

@@ -327,6 +327,11 @@ public abstract class BaseJavaModule implements NativeModule {
// do nothing
}
@Override
public boolean canOverrideExistingModule() {
return false;
}
@Override
public void onCatalystInstanceDestroy() {
// do nothing