Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.28 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.28 KB

nowplaying

You will need just my js/index.js file, but I shared my whole www folder.

create the Cordova project:

/////////////////////// Cordova /////////////////////////

1, cordova create nowPlaying com.nowplaying nowPlaying
2, cd nowPlaying
3, cordova platform add ios
4, cordova plugin add cordova-plugin-media
5, cordova plugin add cordova-plugin-nowplaying

/////////////// fix the "MNowPlaying.m" file //////////

Download the MNowPlaying.m file from: https://github.com/holospeed/nowPlayingFIX
and replace the nowPlaying/platforms/ios/nowPlaying/Plugins/cordova-plugin-nowplaying/MNowPlaying.m file
with my MNowPlaying.m file (overwrite the MNowPlaying.m file)

//////////////////////////////////////////////////////


copy : my js/index.js file and
paste: into your nowPlaying/platforms/ios/www/js folder
(overwrite the index.js file)


Recommended setting in Xcode: https://cloud.githubusercontent.com/assets/3962013/18225015/453ab8de-71e9-11e6-87d8-b0603d91f648.png

Tested on iPhone 6s

Buy me a caffee

Donate