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

Commit 6acd21d

Browse files
christophermarksergey-akhalkov
authored andcommitted
Allow setting the deploymentKey on Android (#1115)
1 parent 8064cc7 commit 6acd21d

File tree

1 file changed

+4
-0
lines changed
  • android/app/src/main/java/com/microsoft/codepush/react

1 file changed

+4
-0
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePush.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ public static boolean isUsingTestConfiguration() {
319319
return sTestConfigurationFlag;
320320
}
321321

322+
public void setDeploymentKey(String deploymentKey) {
323+
mDeploymentKey = deploymentKey;
324+
}
325+
322326
public static void setUsingTestConfiguration(boolean shouldUseTestConfiguration) {
323327
sTestConfigurationFlag = shouldUseTestConfiguration;
324328
}

0 commit comments

Comments
 (0)