Skip to content

Commit 43ad83f

Browse files
committed
Make CodePush constructor public to allow external instantiation
1 parent 2932f24 commit 43ad83f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private CodePush(String deploymentKey, Context context, boolean isDebugMode, int
111111
mPublicKey = getPublicKeyByResourceDescriptor(publicKeyResourceDescriptor);
112112
}
113113

114-
private CodePush(String deploymentKey, Context context, boolean isDebugMode, String serverUrl, Integer publicKeyResourceDescriptor) {
114+
public CodePush(String deploymentKey, Context context, boolean isDebugMode, String serverUrl, Integer publicKeyResourceDescriptor) {
115115
this(deploymentKey, context, isDebugMode);
116116

117117
if (publicKeyResourceDescriptor != null) {

0 commit comments

Comments
 (0)