You can customize CodePush by placing these values in string resources.
-
Release channel Public ID - The default release channel's public ID that will be used to check updates. For example:
<string moduleConfig="true" name="CodePushReleaseChannelPublicId">sU0Eikse9JFCDLZmAT-_lUSwDWACrSGgTKCXyWqcE0</string>
-
Public Key - used for bundle verification in the Code Signing Feature. Please refer to Code Signing section for more details about the Code Signing Feature. To set the public key, you should add the content of the public key to
strings.xml
with nameCodePushSigningPublicKey
. CodePush automatically gets this property and enables the Code Signing feature. For example:<string moduleConfig="true" name="CodePushSigningPublicKey">your-public-key</string>
-
Server Url - used for specifying CodePush Server Url (as an Enterprise customer we may setup a custom infra for your needs). The Default value: "https://codepush.appzung.com/" is overridden by adding your path to
strings.xml
with nameCodePushServerUrl
. CodePush automatically gets this property and will use this path to send requests. For example:<string moduleConfig="true" name="CodePushServerUrl">https://codepush.yourdomain.com</string>