Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from PasseiDireto/MOBILE-979
Browse files Browse the repository at this point in the history
MOBILE-979: Colocando podspec para acessar o google ads e o react
  • Loading branch information
acgoj authored Jan 29, 2020
2 parents bd02375 + 61b9daf commit 47e81a5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 21 deletions.
44 changes: 23 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"name": "react-native-admob",
"version": "2.0.0-beta.5",
"description": "A react-native component for Google AdMob banners and interstitials",
"author": "Simon Bugert <[email protected]>",
"main": "index.js",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "[email protected]:sbugert/react-native-admob.git"
},
"dependencies": {
"prop-types": "^15.5.10"
},
"peerDependencies": {
"react-native": ">=0.44.0"
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^4.3.0",
"eslint-plugin-react": "^7.1.0"
}
"name": "react-native-admob",
"version": "2.0.0-beta.5",
"summary": "lib for dfp",
"description": "A react-native component for Google AdMob banners and interstitials",
"author": "Simon Bugert <[email protected]>",
"main": "index.js",
"license": "BSD-2-Clause",
"homepage": "https://github.com/sbugert/react-native-admob",
"repository": {
"type": "git",
"url": "[email protected]:sbugert/react-native-admob.git"
},
"dependencies": {
"prop-types": "^15.5.10"
},
"peerDependencies": {
"react-native": ">=0.44.0"
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^4.3.0",
"eslint-plugin-react": "^7.1.0"
}
}
19 changes: 19 additions & 0 deletions react-native-admob.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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.description = package['description']
s.summary = package['summary']
s.homepage = package['homepage']
s.author = package['author']
s.license = package['license']
s.source = { :git => 'https://github.com/sbugert/react-native-admob.git', :tag => "v#{s.version}" }
s.requires_arc = true
s.platform = :ios, '8.0'
s.source_files = 'ios/**/*.{h,m}'
s.dependency 'React'
s.dependency 'Google-Mobile-Ads-SDK'
end

0 comments on commit 47e81a5

Please sign in to comment.