Skip to content

Commit 4e163e3

Browse files
author
rn-h
committed
Update README.md
1 parent bb86e2a commit 4e163e3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,20 @@ chmod +x code-push-go
105105
### Change password and user name
106106
- Change mysql users tables (password need md5)
107107

108-
#### Use [code-push-go](https://github.com/htdcx/code-push-go)
108+
### Use [code-push-go](https://github.com/htdcx/code-push-go)
109109
``` shell
110110
./code-push-go login -u (userName) -p (password) -h (serverUrl)
111111
```
112+
### Configuration client [react-native-code-push](https://github.com/microsoft/react-native-code-push)
113+
114+
``` shell
115+
#ios add to Info.plist
116+
<key>CodePushServerURL</key>
117+
<string>${CODE_PUSH_SERVER_URL}</string>
118+
119+
#android add to res/value/strings.xml
120+
<string moduleConfig="true" name="CodePushServerUrl">${CODE_PUSH_SERVER_URL}</string>
121+
```
112122

113123
## License
114124
MIT License [Read](https://github.com/htdcx/code-push-server-go/blob/main/LICENSE)

0 commit comments

Comments
 (0)