mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-16 02:44:33 +08:00
Revert "Disable metrics reporting in debug mode"
This commit is contained in:
@@ -426,11 +426,6 @@ public class CodePush {
|
||||
|
||||
@ReactMethod
|
||||
public void getNewStatusReport(final Promise promise) {
|
||||
if (isDebugMode) {
|
||||
// Do not report metrics if running in debug mode.
|
||||
promise.resolve("");
|
||||
return;
|
||||
}
|
||||
|
||||
AsyncTask asyncTask = new AsyncTask() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user