@dashx/react-native 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/DashX.podspec +30 -0
  2. package/package.json +2 -2
package/DashX.podspec ADDED
@@ -0,0 +1,30 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "DashX"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.description = <<-DESC
10
+ @dashx/react-native
11
+ DESC
12
+ s.homepage = "https://github.com/github_account/@dashx/react-native"
13
+ # brief license entry:
14
+ s.license = "MIT"
15
+ # optional - use expanded license entry instead:
16
+ # s.license = { :type => "MIT", :file => "LICENSE" }
17
+ s.authors = { "DashxDev" => "dev@dashx.com" }
18
+ s.platforms = { :ios => "10.0" }
19
+ s.source = { :git => "https://github.com/github_account/@dashx/react-native.git", :tag => "#{s.version}" }
20
+
21
+ s.source_files = "ios/**/*.{h,c,m,swift}"
22
+ s.requires_arc = true
23
+
24
+ s.dependency "React"
25
+ s.dependency "Apollo"
26
+ s.dependency "FirebaseInstanceID"
27
+ s.dependency "Firebase/Messaging"
28
+ # ...
29
+ # s.dependency "..."
30
+ end
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dashx/react-native",
3
3
  "title": "DashX React Native",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "DashX SDK for React Native",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -11,7 +11,7 @@
11
11
  "ContentOptionsBuilder.js",
12
12
  "utils.js",
13
13
  "ios",
14
- "react-native.podspec"
14
+ "DashX.podspec"
15
15
  ],
16
16
  "scripts": {
17
17
  "test": "echo \"Error: no test specified\" && exit 1"