Skip to content

Commit

Permalink
fix outdated env var
Browse files Browse the repository at this point in the history
  • Loading branch information
depapp authored Dec 13, 2024
1 parent 36c9835 commit 2f0c6de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/integrations/browserstack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ brew tap leancodepl/tools
brew install mobile-tools
```

The `bs_android` script requires the `BROWSERSTACK_CREDS` environment variable
The `bs_android` script requires the `BS_CREDENTIALS` environment variable
to be set so it can authenticate with Browserstack:

```bash
export YOUR_USERNAME:YOUR_ACCESS_KEY
export BS_CREDENTIALS="YOUR_USERNAME:YOUR_ACCESS_KEY"
```

Get your username and access on [Browserstack's account page][bs_account].

Now reload your shell (e.g. `exec zsh`) and run `bs_android`:

```
$ export BROWSERSTACK_PROJECT=AwesomeApp # optional
$ export BROWSERSTACK_DEVICES="[\"Google Pixel 4-10.0\"]" # optional
$ export BS_PROJECT=AwesomeApp # optional
$ export BS_ANDROID_DEVICES="[\"Google Pixel 4-10.0\"]" # optional
$ bs_android
• Building apk with entrypoint test_bundle.dart...
✓ Completed building apk with entrypoint test_bundle.dart (11.0s)
Expand Down

0 comments on commit 2f0c6de

Please sign in to comment.