You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
I have left my config.xml file with blank strings for the CodePushDeploymentKey. In code I then determine what the appropriate deploymentKey is and then use the syncOptions method to set the key.
When I run the app, the correct key is set. I get the "Checking for update" status. Then in the logs I see:
ERROR: [CodePush] Could not get the CodePush configuration. Please check your config.xml file.
ERROR: [CodePush] An error occurred during sync.
I thought the whole point of setting the value in the syncOptions was to manually be able to set the key?
@dylanvdmerwe#90 is out for review that fixes this issue, in the meantime while that gets reviewed+merged+published, the workaround is to specify a fake but non-empty value in the config.xml so that it doesn't short circuit the sync process.
I have left my config.xml file with blank strings for the CodePushDeploymentKey. In code I then determine what the appropriate deploymentKey is and then use the syncOptions method to set the key.
When I run the app, the correct key is set. I get the "Checking for update" status. Then in the logs I see:
I thought the whole point of setting the value in the syncOptions was to manually be able to set the key?
The text was updated successfully, but these errors were encountered: