diff --git a/ios/RNBraintreeDropIn.podspec b/RNBraintreeDropIn.podspec similarity index 85% rename from ios/RNBraintreeDropIn.podspec rename to RNBraintreeDropIn.podspec index 88352688..cdd07e7e 100644 --- a/ios/RNBraintreeDropIn.podspec +++ b/RNBraintreeDropIn.podspec @@ -1,17 +1,17 @@ Pod::Spec.new do |s| s.name = "RNBraintreeDropIn" - s.version = "1.0.0" + s.version = "1.1.3" s.summary = "RNBraintreeDropIn" s.description = <<-DESC RNBraintreeDropIn DESC s.homepage = "https://github.com/bamlab/react-native-braintree-payments-drop-in" s.license = "MIT" - # s.license = { :type => "MIT", :file => "../LICENSE" } + # s.license = { :type => "MIT", :file => "./LICENSE" } s.author = { "author" => "lagrange.louis@gmail.com" } s.platform = :ios, "9.0" s.source = { :git => "https://github.com/BradyShober/react-native-braintree-dropin-ui.git", :tag => "master" } - s.source_files = "*.{h,m}" + s.source_files = "ios/**/*.{h,m}" s.requires_arc = true s.dependency 'React' s.dependency 'Braintree' diff --git a/react-native.config.js b/react-native.config.js index f162c2b5..6550b2f7 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -3,7 +3,7 @@ const path = require('path'); module.exports = { dependency: { platforms: { - ios: { podspecPath: path.join(__dirname, 'ios', 'RNBraintreeDropIn.podspec') }, + ios: {}, android: { packageImportPath: 'import tech.power.RNBraintreeDropIn.RNBraintreeDropInPackage;', packageInstance: 'new RNBraintreeDropInPackage()',