Skip to content

Commit 5ce72c3

Browse files
committed
update package to 2.1.8, solve bug No pods found in package
1 parent 9528566 commit 5ce72c3

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

package.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-in-app-review",
3-
"version": "2.1.7",
3+
"version": "2.1.8",
44
"description": "react native in app review, to rate on Play store, App Store, Generally, the in-app review flow (see figure 1 for play store, figure 2 for ios) can be triggered at any time throughout the user journey of your app. During the flow, the user has the ability to rate your app using the 1 to 5 star system and to add an optional comment for play store only. Once submitted, the review is sent to the Play Store or App store and eventually displayed.",
55
"main": "index.js",
66
"scripts": {
@@ -25,6 +25,18 @@
2525
"react-component",
2626
"react-native-component"
2727
],
28+
"files": [
29+
"android/src/main/AndroidManifest.xml",
30+
"android/src/main/java/",
31+
"android/build.gradle",
32+
"android/",
33+
"ios/",
34+
"!ios/build/",
35+
"react-native-in-app-review.podspec",
36+
"README.md",
37+
"index.d.ts",
38+
"index.js"
39+
],
2840
"repository": {
2941
"type": "git",
3042
"url": "git+https://github.com/MinaSamir11/react-native-in-app-review.git"

react-native-in-app-review.podspec

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
require "json"
2-
version = JSON.parse(File.read("./package.json"))["version"]
2+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
33

44
Pod::Spec.new do |s|
55
s.name = "react-native-in-app-review"
6-
s.version = version
6+
s.version = package["version"]
77
s.summary = "Rating App in App Store for react native apps"
88
s.homepage = "https://github.com/MinaSamir11/react-native-in-app-review"
99
s.license = "MIT"
1010
s.author = { "Mina Samir" => "[email protected]" }
11-
s.platform = :ios, "7.0"
11+
s.platform = :ios, "9.0"
1212
s.source = { :git => "https://github.com/MinaSamir11/react-native-in-app-review.git", :tag => "v#{s.version}" }
13-
s.source_files = 'ios/*.{h,m}'
14-
s.preserve_paths = "**/*.js"
13+
s.source_files = "ios/*.{h,m}"
14+
15+
s.preserve_paths = "README.md", "package.json", "index.js"
16+
17+
1518
s.requires_arc = true
1619
s.dependency "React"
1720

0 commit comments

Comments
 (0)