File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,17 @@ require "json"
3
3
package = JSON . parse ( File . read ( File . join ( __dir__ , "package.json" ) ) )
4
4
5
5
Pod ::Spec . new do |s |
6
- s . name = "react-native-track-player"
6
+ s . name = package [ "name" ]
7
7
s . version = package [ "version" ]
8
- s . summary = "A fully fledged audio module created for music apps"
8
+ s . summary = package [ 'description' ]
9
+ s . license = package [ 'license' ]
10
+
9
11
s . author = "David Chavez"
10
- s . homepage = "https://github.com/react-native-kit/react-native-track-player"
11
- s . license = "Apache-2.0"
12
+ s . homepage = package [ 'repository' ] [ 'url' ]
12
13
s . platform = :ios , "10.0"
13
- s . source = { :git => "https://github.com/react-native-kit/react-native-track-player.git" , :tag => "v#{ s . version } " }
14
+
15
+ s . source = { :git => package [ 'repository' ] [ 'url' ] , :tag => "v#{ s . version } " }
14
16
s . source_files = "ios/**/*.{h,m,swift}"
17
+
15
18
s . dependency "React"
16
19
end
You can’t perform that action at this time.
0 commit comments