Skip to content

Commit 45bc4a3

Browse files
authored
docs: add explanation regarding appcenter token (#5063)
1 parent 4ee1655 commit 45bc4a3

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
@@ -81,4 +81,16 @@ If you don't want to use the automatically computed release format, you will nee
8181
sentry-cli react-native appcenter {APP} ios ./build/CodePush --deployment {DEPLOYMENT} --dist {DIST} --release-name {RELEASE_NAME}
8282
```
8383

84+
<Alert level="info">
85+
86+
Make sure to export the `APPCENTER_ACCESS_TOKEN` in your environment in order to run the `appcenter` commands above. Otherwise you will get the following error:
87+
88+
```bash
89+
Command 'appcenter codepush deployment history' requires a logged in user. Use the 'appcenter login' command to log in.
90+
```
91+
92+
You can find more information about this in the [AppCenter CLI](https://docs.microsoft.com/en-us/appcenter/cli/#logging-in) documentation.
93+
94+
</Alert>
95+
8496
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)