Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit f7de9769741faa9f4b49bde52073ea0f27ed24f6
Merge: b416cea 2b3b588
Author: Marian Hello <m.hello@gmail.com>
Date:   Tue Aug 27 12:51:00 2019 +0200

    Merge branch 'PR' of https://github.com/hugosbg/react-native-background-geolocation into hugosbg-PR

commit 2b3b588
Author: Hugo Gomes <hugo.msn@msn.com>
Date:   Wed Aug 21 19:06:20 2019 -0300

    fix all

commit 47714a8
Author: Hugo Gomes <hugo.msn@msn.com>
Date:   Wed Aug 21 18:35:37 2019 -0300

    teste

commit fe8ecea
Author: Hugo Gomes <hugo.msn@msn.com>
Date:   Wed Aug 21 18:31:28 2019 -0300

    add podspec

commit 3f9b1c4
Author: Hugo Gomes <hugo.msn@msn.com>
Date:   Wed Aug 21 16:20:37 2019 -0300

    Fix RCTBridgeModule.h file not found | rnpm deprecated
  • Loading branch information
mauron85 committed Aug 27, 2019
1 parent b416cea commit 1c9a631
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
20 changes: 20 additions & 0 deletions @mauron85_react-native-background-geolocation.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = "@mauron85_react-native-background-geolocation"
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/mauron85/react-native-background-geolocation.git", :submodules => true }
s.source_files = "ios/**/*.{h,m}"
s.exclude_files = "ios/common/BackgroundGeolocationTests/*.{h,m}"

s.dependency 'React'
end
6 changes: 2 additions & 4 deletions ios/RCTBackgroundGeolocation.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@
"$(inherited)",
"$(SRCROOT)/../../../React/**",
"$(SRCROOT)/../../react-native/React/**",
"$(SRCROOT)/react-native/React/**",
"$(SRCROOT)/../../../ios/Pods/Headers/Public/**",
"$(SRCROOT)/../../../../ios/Pods/Headers/Public/**",
);
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -318,8 +317,7 @@
"$(inherited)",
"$(SRCROOT)/../../../React/**",
"$(SRCROOT)/../../react-native/React/**",
"$(SRCROOT)/react-native/React/**",
"$(SRCROOT)/../../../ios/Pods/Headers/Public/**",
"$(SRCROOT)/../../../../ios/Pods/Headers/Public/**",
);
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
13 changes: 13 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
dependency: {
platforms: {
android: {
sourceDir: "./android/lib"
}
},
hooks: {
postlink: "./node node_modules/@mauron85/react-native-background-geolocation/scripts/postlink.js",
postunlink: "./node node_modules/@mauron85/react-native-background-geolocation/scripts/postunlink.js"
}
}
};

0 comments on commit 1c9a631

Please sign in to comment.