This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +6
-8
lines changed
src/main/java/com/microsoft/codepushdemoapp Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ android {
17
17
}
18
18
}
19
19
buildTypes {
20
- /* debug {
20
+ debug {
21
21
buildConfigField " String" , " RUN_TEST" , " \"\" "
22
- }*/
22
+ }
23
23
release {
24
24
minifyEnabled false
25
25
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ protected void onCreate(Bundle savedInstanceState) {
25
25
super .onCreate (savedInstanceState );
26
26
mReactRootView = new ReactRootView (this );
27
27
28
- codePush = new CodePush ("d73bf5d8-4fbd-4e55-a837-accd328a21ba " , this );
28
+ codePush = new CodePush ("DEPLOYMENT_KEY_HERE " , this );
29
29
30
30
ReactInstanceManager .Builder builder = ReactInstanceManager .builder ()
31
31
.setApplication (getApplication ())
32
32
.setJSBundleFile (codePush .getBundleUrl ("index.android.bundle" ));
33
33
34
34
String mainComponentName = null ;
35
- /*
35
+
36
36
switch (BuildConfig .RUN_TEST ) {
37
37
case "DOWNLOAD_PROGRESS" :
38
38
builder = builder .setJSMainModuleName (TEST_FOLDER_PREFIX + "DownloadProgressTests/DownloadProgressTestApp" );
@@ -51,7 +51,7 @@ protected void onCreate(Bundle savedInstanceState) {
51
51
builder = builder .setJSMainModuleName ("index.android" );
52
52
mainComponentName = "CodePushDemoApp" ;
53
53
break ;
54
- }*/
54
+ }
55
55
56
56
mReactInstanceManager = builder .addPackage (new MainReactPackage ())
57
57
.addPackage (codePush .getReactPackage ())
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
44
44
*
45
45
* see http://facebook.github.io/react-native/docs/runningondevice.html
46
46
*/
47
-
48
- NSLog (@" %@ " , [[CodePush bundleURL ] absoluteString ]);
49
47
50
48
jsCodeLocation = [CodePush bundleURL ];
51
49
Original file line number Diff line number Diff line change 44
44
<key >NSLocationWhenInUseUsageDescription </key >
45
45
<string ></string >
46
46
<key >CodePushDeploymentKey </key >
47
- <string >5c73310a-cc93-4aa5-bf9f-81c6b648232c </string >
47
+ <string >deployment-key-here </string >
48
48
</dict >
49
49
</plist >
You can’t perform that action at this time.
0 commit comments