mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
BREAKING: Android - ReactNativeHost getUseDeveloperSupport to public #2
Summary: AaaChiuuu See: https://github.com/facebook/react-native/pull/11329 Closes https://github.com/facebook/react-native/pull/11505 Differential Revision: D4338559 Pulled By: AaaChiuuu fbshipit-source-id: 6cd1fd366a2bc30d496b7e907242e7f89a384a19
This commit is contained in:
parent
4cb8a852a1
commit
901178d53c
@ -39,7 +39,7 @@ public class MoviesApplication extends Application implements ReactApplication {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean getUseDeveloperSupport() {
|
||||
public boolean getUseDeveloperSupport() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ public class TicTacToeApplication extends Application implements ReactApplicatio
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean getUseDeveloperSupport() {
|
||||
public boolean getUseDeveloperSupport() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
|
||||
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
|
||||
@Override
|
||||
protected boolean getUseDeveloperSupport() {
|
||||
public boolean getUseDeveloperSupport() {
|
||||
return BuildConfig.DEBUG;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user