react-native-code-push
react-native-code-push copied to clipboard
Set serverUrl but it didn't work
Steps to Reproduce
- Set serverUrl in Java code with constructor method
Expected Behavior
What you expected to happen? Expect the serverUrl will be set with my own server.
Actual Behavior
What actually happens?
But, it didn't work, and still the default server url
STACK TRACE AND/OR SCREENSHOTS
Reproducible
I want to use my own code-push server, so I set my server url using
new CodePush(BuildConfig.CODEPUSH_KEY, getApplicationContext(), BuildConfig.DEBUG, R.string.codepush_server)
But, this didn't work, and the server url still the default https://codepush.azurewebsites.net/
Environment
- react-native-code-push version: 5.4.2
- react-native version: 0.57.3
- iOS/Android/Windows version: android 27.0.3
- Does this reproduce on a debug build or release build? Both of them.
- Does this reproduce on a simulator, or only on a physical device? Both of them
I'm sorry, this is my problem! I set the serverUrl with an empty string. This issue should be closed.