-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- project.pbxproj aligned to Xcode 12.4 - amend podspec - remove not necessary files - improve package.json syntax - add peerDependency on react-native 0.60.0
- Loading branch information
1 parent
e465f4d
commit 6d397c1
Showing
7 changed files
with
47 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
require 'json' | ||
|
||
spec = JSON.load(File.read(File.expand_path("./package.json", __dir__))) | ||
package = JSON.load(File.read(File.expand_path("./package.json", __dir__))) | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "RNTwilioVoice" | ||
s.version = spec['version'] | ||
s.summary = spec['description'] | ||
s.authors = spec['author']['name'] | ||
s.homepage = spec['homepage'] | ||
s.license = spec['license'] | ||
s.platform = :ios, "10.0" | ||
s.version = package['version'] | ||
s.summary = package['description'] | ||
s.author = package['contributors'][0]['name'] | ||
s.homepage = package['homepage'] | ||
s.license = package['license'] | ||
s.platform = :ios, "11.0" | ||
s.requires_arc = true | ||
|
||
s.source_files = [ "ios/RNTwilioVoice/*.h", "ios/RNTwilioVoice/*.m"] | ||
s.source = {:path => "./RNTwilioVoice"} | ||
s.source_files = 'ios/RNTwilioVoice/*.{h,m}' | ||
s.source = { git: 'https://github.com/hoxfon/react-native-twilio-programmable-voice', tag: s.version } | ||
|
||
s.dependency 'React' | ||
s.dependency 'React-Core' | ||
s.dependency 'TwilioVoice', '~> 5.2.0' | ||
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/TwilioVoice/Build/iOS' } | ||
s.frameworks = 'TwilioVoice' | ||
s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js' | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
ios/RNTwilioVoice.xcodeproj/project.xcworkspace/contents.xcworkspacedata
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
ios/RNTwilioVoice.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
// | ||
// TwilioVoice.h | ||
// TwilioVoice | ||
// | ||
|
||
#import <React/RCTBridgeModule.h> | ||
#import <React/RCTEventEmitter.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
// | ||
// TwilioVoice.m | ||
// | ||
|
||
#import "RNTwilioVoice.h" | ||
#import <React/RCTLog.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"devDependencies": {}, | ||
"nativePackage": true, | ||
"homepage": "https://github.com/hoxfon/react-native-twilio-programmable-voice", | ||
"keywords": [ | ||
"twilio", | ||
|
@@ -28,8 +28,15 @@ | |
"type": "git", | ||
"url": "git+ssh://[email protected]:hoxfon/react-native-twilio-programmable-voice.git" | ||
}, | ||
"author": { | ||
"name": "Fabrizio Moscon" | ||
"contributors": [ | ||
{ | ||
"name": "Fabrizio Moscon" | ||
} | ||
], | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"peerDependencies": { | ||
"react-native": ">=0.60.0" | ||
}, | ||
"license": "MIT" | ||
} |