Skip to content

Commit

Permalink
Fix autolinking in React Native 0.69 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador authored May 31, 2022
1 parent 46af85d commit 40f8496
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ DEPENDENCIES:
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- RNStoreReview (from `../node_modules/react-native-store-review/ios`)
- RNStoreReview (from `../node_modules/react-native-store-review`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
Expand Down Expand Up @@ -492,7 +492,7 @@ EXTERNAL SOURCES:
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
RNStoreReview:
:path: "../node_modules/react-native-store-review/ios"
:path: "../node_modules/react-native-store-review"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"

Expand Down Expand Up @@ -540,7 +540,7 @@ SPEC CHECKSUMS:
React-RCTVibration: 79040b92bfa9c3c2d2cb4f57e981164ec7ab9374
React-runtimeexecutor: b960b687d2dfef0d3761fbb187e01812ebab8b23
ReactCommon: 095366164a276d91ea704ce53cb03825c487a3f2
RNStoreReview: d7d2a006e14030fe101cac9da487a17f98d73eff
RNStoreReview: 3d0e5552737505a529392bfaf44de7a9675e343e
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
Yoga: 99652481fcd320aefa4a7ef90095b95acd181952
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
Expand Down
6 changes: 2 additions & 4 deletions ios/RNStoreReview.podspec → RNStoreReview.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "json"
version = JSON.parse(File.read("../package.json"))["version"]
version = JSON.parse(File.read("./package.json"))["version"]

Pod::Spec.new do |s|
s.name = "RNStoreReview"
Expand All @@ -10,12 +10,10 @@ Pod::Spec.new do |s|
s.author = { "Joel Arvidsson" => "joel@oblador.se" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/oblador/react-native-store-review.git", :tag => "v#{s.version}" }
s.source_files = "*.{h,m}"
s.source_files = "ios/*.{h,m}"
s.preserve_paths = "**/*.js"
s.requires_arc = true

s.dependency "React-Core"

end


File renamed without changes.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"files": [
"RNStoreReview.podspec",
"RNStoreReview.xcodeproj",
"src",
"ios",
"android",
Expand Down

0 comments on commit 40f8496

Please sign in to comment.