diff --git a/opentok-react-native.podspec b/opentok-react-native.podspec index 04713e9b..5de6a653 100644 --- a/opentok-react-native.podspec +++ b/opentok-react-native.podspec @@ -17,5 +17,5 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,swift}" s.dependency 'React' - s.dependency 'OTXCFramework','2.27.2' + s.dependency 'VonageClientSDKVideo','2.27.2' end diff --git a/vonage-react-native.podspec b/vonage-react-native.podspec new file mode 100644 index 00000000..5de6a653 --- /dev/null +++ b/vonage-react-native.podspec @@ -0,0 +1,21 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = package['name'] + s.version = package['version'] + s.summary = package['description'] + s.license = package['license'] + + s.authors = package['author'] + s.homepage = package['homepage'] + s.platform = :ios, "13.0" + s.swift_version = "4.2" + + s.source = { :git => "https://github.com/opentok/opentok-react-native.git", :tag => "v#{s.version}" } + s.source_files = "ios/**/*.{h,m,swift}" + + s.dependency 'React' + s.dependency 'VonageClientSDKVideo','2.27.2' +end diff --git a/vonagepackage.json b/vonagepackage.json new file mode 100644 index 00000000..9d9ec014 --- /dev/null +++ b/vonagepackage.json @@ -0,0 +1,62 @@ +{ + "name": "vonage-react-native", + "version": "2.27.3", + "description": "React Native components for OpenTok iOS and Android SDKs", + "main": "src/index.js", + "homepage": "https://www.tokbox.com", + "scripts": { + "flow": "flow", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "opentok", + "react-native", + "tokbox", + "webrtc", + "ios", + "android", + "live", + "video", + "react" + ], + "author": "Vonage ", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/opentok/opentok-react-native.git" + }, + "dependencies": { + "axios": "^1.6.8", + "deprecated-react-native-prop-types": "^2.3.0", + "flow-bin": "^0.180.0", + "prop-types": "^15.7.2", + "underscore": "^1.13.0", + "uuid": "^3.4.0" + }, + "devDependencies": { + "babel-jest": "29.7.0", + "eslint": "^7.24.0", + "eslint-config-airbnb": "^18.2.1", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-react": "^7.23.2", + "eslint-plugin-react-hooks": "^4.2.0", + "jest": "29.7.0", + "metro-react-native-babel-preset": "0.65.2", + "react": "^18.2.0", + "react-native": "^0.73.6", + "react-test-renderer": "^18.2.0" + }, + "overrides": { + "babel-jest": { + "@babel/traverse": "^7.23.2" + }, + "metro-source-map": { + "@babel/traverse": "^7.23.2" + }, + "metro-transform-plugins": { + "@babel/traverse": "^7.23.2" + } + }, + "types": "@types/index.d.ts" +}