Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix autolinking in React Native 0.69 #62

Merged
merged 1 commit into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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


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