remove keys

This commit is contained in:
Geoffrey Goh
2015-12-02 18:35:12 -08:00
parent 45681288fe
commit 75cc0cb41d
5 changed files with 6 additions and 8 deletions

View File

@@ -17,9 +17,9 @@ android {
}
}
buildTypes {
/*debug {
debug {
buildConfigField "String", "RUN_TEST", "\"\""
}*/
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

View File

@@ -25,14 +25,14 @@ 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())
.setJSBundleFile(codePush.getBundleUrl("index.android.bundle"));
String mainComponentName = null;
/*
switch (BuildConfig.RUN_TEST) {
case "DOWNLOAD_PROGRESS":
builder = builder.setJSMainModuleName(TEST_FOLDER_PREFIX + "DownloadProgressTests/DownloadProgressTestApp");
@@ -51,7 +51,7 @@ public class MainActivity extends FragmentActivity implements DefaultHardwareBac
builder = builder.setJSMainModuleName("index.android");
mainComponentName = "CodePushDemoApp";
break;
}*/
}
mReactInstanceManager = builder.addPackage(new MainReactPackage())
.addPackage(codePush.getReactPackage())

View File

@@ -44,8 +44,6 @@
*
* see http://facebook.github.io/react-native/docs/runningondevice.html
*/
NSLog(@"%@", [[CodePush bundleURL] absoluteString]);
jsCodeLocation = [CodePush bundleURL];

View File

@@ -44,6 +44,6 @@
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>CodePushDeploymentKey</key>
<string>5c73310a-cc93-4aa5-bf9f-81c6b648232c</string>
<string>deployment-key-here</string>
</dict>
</plist>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB