Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
add #getPlaylist to roadmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Jénaïc Cambré committed Nov 1, 2016
1 parent 3c70b3d commit e8d359a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ npm install react-native-itunes --save
#### With React Native 0.27+

```shell
react-native link react-native-device-info
react-native link react-native-itunes
```

#### With older versions of React Native

You need [`rnpm`](https://github.com/rnpm/rnpm) (`npm install -g rnpm`)

```shell
rnpm link react-native-device-info
rnpm link react-native-itunes
```

## Manually link

In XCode, in the project navigator, right click Libraries ➜ Add Files to [your project's name] Go to node_modules ➜ react-native-itunes and add the .xcodeproj file

In XCode, in the project navigator, select your project. Add the lib*.a from the deviceinfo project to your project's Build Phases ➜ Link Binary With Libraries Click .xcodeproj file you added before in the project navigator and go the Build Settings tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for Header Search Paths and make sure it contains both ```$(SRCROOT)/../react-native/React``` and ```$(SRCROOT)/../../React``` - mark both as recursive.
In XCode, in the project navigator, select your project. Add the lib*.a from the react-native-itunes project to your project's Build Phases ➜ Link Binary With Libraries Click .xcodeproj file you added before in the project navigator and go the Build Settings tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for Header Search Paths and make sure it contains both ```$(SRCROOT)/../react-native/React``` and ```$(SRCROOT)/../../React``` - mark both as recursive.

Run your project (Cmd+R)

Expand Down Expand Up @@ -146,11 +146,13 @@ Returns [TrackItem]
- [ ] Add tests
- [ ] Refactor to have one function dealing with queries
- [ ] Refactor #getTracks to always return TrackItem.title & TrackItem.albumTitle
- [ ] Change all code and examples to ES6
- [ ] Get playlist?

### Player

- [x] Play from searched items
- [x] play()/pause()/isPlaying()
- [x] play()/pause()

### getTracks(params)

Expand Down

0 comments on commit e8d359a

Please sign in to comment.