Skip to content

Commit 93cb8c6

Browse files
Fix docs for CodePush and Appcenter missing params (#4676)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
1 parent d13522a commit 93cb8c6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/platforms/react-native/manual-setup/codepush.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,16 @@ If you use custom deployment names in CodePush, you will need to use `--deployme
6969
sentry-cli react-native appcenter {APP} ios ./build/CodePush --deployment {DEPLOYMENT} --dist {DIST}
7070
```
7171

72+
For non-macOS devices building for iOS, you will need to pass extra parameters that can't be computed automatically (`--bundle-id` and `--version-name`).
73+
74+
```bash
75+
sentry-cli react-native appcenter {APP} ios ./build/CodePush --deployment {DEPLOYMENT} --dist {DIST} --bundle-id {BUNDLE_ID} --version-name {VERSION_NAME}
76+
```
77+
78+
If you don't want to use the automatically computed release format, you will need to pass the `--release-name` parameter.
79+
80+
```bash
81+
sentry-cli react-native appcenter {APP} ios ./build/CodePush --deployment {DEPLOYMENT} --dist {DIST} --release-name {RELEASE_NAME}
82+
```
83+
7284
If you still have issues with CodePush source maps, you can refer to [Source Maps for Other Platforms](/platforms/react-native/sourcemaps/) to manually bundle and upload source maps to Sentry.

0 commit comments

Comments
 (0)