Skip to content

Commit 8bf7643

Browse files
committed
Add pod instructions & update server port
1 parent 293862a commit 8bf7643

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

example/Readme.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Which came from https://facebook.github.io/react-native/blog/2018/05/07/using-ty
1515

1616
1. Run `yarn install` in this directory.
1717

18-
2. Run `yarn install && yarn build` in the [root directory](../) (`../`) to generate the library's `dist` folder.
18+
2. Install Pods by running: `cd ios && pod install && cd ..`
19+
20+
3. Run `yarn install && yarn build` in the [root directory](../) (`../`) to generate the library's `dist` folder.
1921

2022
### 1: ENV File
2123

@@ -24,8 +26,8 @@ I've also added `react-native-dotenv` for easier configuration. In order to con
2426
```env
2527
SPOTIFY_CLIENT_ID="client_id_from_spotify_dashboard"
2628
SPOTIFY_REDIRECT_URL="redirect_uri_registered_in_spotify_dashboard"
27-
SPOTIFY_TOKEN_REFRESH_URL="http://{MACHINE_IP_ADDRESS}:3001/refresh"
28-
SPOTIFY_TOKEN_SWAP_URL="http://{MACHINE_IP_ADDRESS}:3001/swap"
29+
SPOTIFY_TOKEN_REFRESH_URL="http://{MACHINE_IP_ADDRESS}:3000/refresh"
30+
SPOTIFY_TOKEN_SWAP_URL="http://{MACHINE_IP_ADDRESS}:3000/swap"
2931
```
3032

3133
> Note 1: The last two entries define the auth server endpoints. You can run the [example auth server](../example-server/README.md) for this purpose.

0 commit comments

Comments
 (0)