react-native-in-app-review
Advanced tools
Comparing version 1.0.2 to 1.0.3
16
index.js
@@ -1,12 +0,12 @@ | ||
'use strict'; | ||
import React from 'react'; | ||
import React from "react"; | ||
import {NativeModules} from 'react-native'; | ||
import { NativeModules, Platform } from "react-native"; | ||
const {InAppReviewModule} = NativeModules; | ||
const { InAppReviewModule } = NativeModules; | ||
class InAppReview { | ||
static show() { | ||
console.log('APP review', NativeModules); | ||
InAppReviewModule.show(); | ||
static RequestInAppReview() { | ||
if (Platform.OS === "android" && Platform.Version === 21) { | ||
InAppReviewModule.show(); | ||
} | ||
} | ||
@@ -13,0 +13,0 @@ } |
{ | ||
"name": "react-native-in-app-review", | ||
"version": "1.0.2", | ||
"description": "", | ||
"version": "1.0.3", | ||
"description": "react native app review Generally, the in-app review flow (see figure 1) 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. Once submitted, the review is sent to the Play Store and eventually displayed.", | ||
"main": "index.js", | ||
@@ -9,4 +9,12 @@ "scripts": { | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/MinaSamir11/react-native-in-app-review.git" | ||
}, | ||
"author": "Mina Samir Shafik <menasamer11@gmail.com>", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/MinaSamir11/react-native-in-app-review/issues" | ||
}, | ||
"homepage": "https://github.com/MinaSamir11/react-native-in-app-review#readme" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
10452
7
0
1
0
85
0
75