-
Notifications
You must be signed in to change notification settings - Fork 12
/
plugin.xml
67 lines (58 loc) · 2.24 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.timflapper.spotify" version="0.1.0">
<name>Spotify Cordova Plugin</name>
<description>This plugin provides a JavaScript API for Spotify's iOS SDK.</description>
<author>Tim Flapper</author>
<license>MIT</license>
<keywords>spotify</keywords>
<repo>https://github.com/timflapper/cordova-spotify-plugin</repo>
<issue>https://github.com/timflapper/cordova-spotify-plugin/issues</issue>
<engines>
<engine name="cordova" version=">=3.7.0" />
</engines>
<js-module name="auth" src="www/spotify/auth.js">
<merges target="spotify" />
</js-module>
<js-module name="request" src="www/spotify/request.js">
<merges target="spotify" />
</js-module>
<js-module name="audio-player" src="www/spotify/audio-player.js">
<merges target="spotify" />
</js-module>
<js-module name="remote" src="www/lib/remote.js">
</js-module>
<js-module name="utils" src="www/lib/utils.js">
</js-module>
<js-module name="event-dispatcher" src="www/lib/event-dispatcher.js">
</js-module>
<js-module name="vendors/reqwest" src="www/vendors/reqwest/reqwest.min.js">
</js-module>
<platform name="ios">
<hook type="before_plugin_install" src="install.sh" />
<config-file target="config.xml" parent="/*">
<feature name="SpotifyPlugin">
<param name="ios-package" value="SpotifyPlugin"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>Spotify Auth</string>
<key>CFBundleURLSchemes</key>
<array>
<string>{{URL_SCHEME}}</string>
</array>
</dict>
</array>
</config-file>
<header-file src="src/ios/SpotifyPlugin.h" />
<source-file src="src/ios/SpotifyPlugin.m" />
<header-file src="src/ios/SpotifyAudioPlayer.h" />
<source-file src="src/ios/SpotifyAudioPlayer.m" />
<framework src="src/ios/Spotify.framework" custom="true" />
<framework src="AVFoundation.framework" />
</platform>
</plugin>