Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 75cc0cb

Browse files
committed
remove keys
1 parent 4568128 commit 75cc0cb

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

Examples/CodePushDemoApp/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ android {
1717
}
1818
}
1919
buildTypes {
20-
/*debug {
20+
debug {
2121
buildConfigField "String", "RUN_TEST", "\"\""
22-
}*/
22+
}
2323
release {
2424
minifyEnabled false
2525
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

Examples/CodePushDemoApp/android/app/src/main/java/com/microsoft/codepushdemoapp/MainActivity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ protected void onCreate(Bundle savedInstanceState) {
2525
super.onCreate(savedInstanceState);
2626
mReactRootView = new ReactRootView(this);
2727

28-
codePush = new CodePush("d73bf5d8-4fbd-4e55-a837-accd328a21ba", this);
28+
codePush = new CodePush("DEPLOYMENT_KEY_HERE", this);
2929

3030
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
3131
.setApplication(getApplication())
3232
.setJSBundleFile(codePush.getBundleUrl("index.android.bundle"));
3333

3434
String mainComponentName = null;
35-
/*
35+
3636
switch (BuildConfig.RUN_TEST) {
3737
case "DOWNLOAD_PROGRESS":
3838
builder = builder.setJSMainModuleName(TEST_FOLDER_PREFIX + "DownloadProgressTests/DownloadProgressTestApp");
@@ -51,7 +51,7 @@ protected void onCreate(Bundle savedInstanceState) {
5151
builder = builder.setJSMainModuleName("index.android");
5252
mainComponentName = "CodePushDemoApp";
5353
break;
54-
}*/
54+
}
5555

5656
mReactInstanceManager = builder.addPackage(new MainReactPackage())
5757
.addPackage(codePush.getReactPackage())

Examples/CodePushDemoApp/iOS/CodePushDemoApp/AppDelegate.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4444
*
4545
* see http://facebook.github.io/react-native/docs/runningondevice.html
4646
*/
47-
48-
NSLog(@"%@", [[CodePush bundleURL] absoluteString]);
4947

5048
jsCodeLocation = [CodePush bundleURL];
5149

Examples/CodePushDemoApp/iOS/CodePushDemoApp/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
<key>NSLocationWhenInUseUsageDescription</key>
4545
<string></string>
4646
<key>CodePushDeploymentKey</key>
47-
<string>5c73310a-cc93-4aa5-bf9f-81c6b648232c</string>
47+
<string>deployment-key-here</string>
4848
</dict>
4949
</plist>
Binary file not shown.

0 commit comments

Comments
 (0)