mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
remove deployment key
This commit is contained in:
@@ -25,7 +25,7 @@ public class MainActivity extends FragmentActivity implements DefaultHardwareBac
|
||||
super.onCreate(savedInstanceState);
|
||||
mReactRootView = new ReactRootView(this);
|
||||
|
||||
codePush = new CodePush("d73bf5d8-4fbd-4e55-a837-accd328a21ba", this);
|
||||
codePush = new CodePush("DEPLOYMENT_KEY_HERE", this);
|
||||
|
||||
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
|
||||
.setApplication(getApplication())
|
||||
|
||||
@@ -25,7 +25,7 @@ public class CodePushPackage {
|
||||
public final String PACKAGE_FILE_NAME = "app.json";
|
||||
public final String PACKAGE_HASH_KEY = "packageHash";
|
||||
public final String DOWNLOAD_URL_KEY = "downloadUrl";
|
||||
public final int DOWNLOAD_BUFFER_SIZE = 8192;
|
||||
public final int DOWNLOAD_BUFFER_SIZE = 1024 * 256;
|
||||
|
||||
private String documentsDirectory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user