4
4
import android .content .pm .PackageInfo ;
5
5
import android .content .pm .PackageManager ;
6
6
import android .content .res .Resources ;
7
- import android .support .annotation .NonNull ;
8
7
9
8
import com .facebook .react .ReactInstanceManager ;
10
9
import com .facebook .react .ReactPackage ;
@@ -82,7 +81,7 @@ public CodePush(String deploymentKey, Context context, boolean isDebugMode) {
82
81
initializeUpdateAfterRestart ();
83
82
}
84
83
85
- public CodePush (String deploymentKey , Context context , boolean isDebugMode , @ NonNull String serverUrl ) {
84
+ public CodePush (String deploymentKey , Context context , boolean isDebugMode , String serverUrl ) {
86
85
this (deploymentKey , context , isDebugMode );
87
86
mServerUrl = serverUrl ;
88
87
}
@@ -93,7 +92,7 @@ public CodePush(String deploymentKey, Context context, boolean isDebugMode, int
93
92
mPublicKey = getPublicKeyByResourceDescriptor (publicKeyResourceDescriptor );
94
93
}
95
94
96
- public CodePush (String deploymentKey , Context context , boolean isDebugMode , @ NonNull String serverUrl , Integer publicKeyResourceDescriptor ) {
95
+ public CodePush (String deploymentKey , Context context , boolean isDebugMode , String serverUrl , Integer publicKeyResourceDescriptor ) {
97
96
this (deploymentKey , context , isDebugMode );
98
97
99
98
if (publicKeyResourceDescriptor != null ) {
0 commit comments