File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,13 @@ Which came from https://facebook.github.io/react-native/blog/2018/05/07/using-ty
11
11
12
12
## Getting Started
13
13
14
- ### 0: Install Dependencies
15
- Run ` yarn install ` in this directory.
14
+ ### 0: Install Dependencies & Build Library
15
+
16
+ 1 . Run ` yarn install ` in this directory.
17
+
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.
16
21
17
22
### 1: ENV File
18
23
@@ -21,8 +26,8 @@ I've also added `react-native-dotenv` for easier configuration. In order to con
21
26
``` env
22
27
SPOTIFY_CLIENT_ID="client_id_from_spotify_dashboard"
23
28
SPOTIFY_REDIRECT_URL="redirect_uri_registered_in_spotify_dashboard"
24
- SPOTIFY_TOKEN_REFRESH_URL="http://{MACHINE_IP_ADDRESS}:3001 /refresh"
25
- 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"
26
31
```
27
32
28
33
> 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.
You can’t perform that action at this time.
0 commit comments