Gathering detailed insights and metrics for @capitual/react-native-store-review
Gathering detailed insights and metrics for @capitual/react-native-store-review
Gathering detailed insights and metrics for @capitual/react-native-store-review
Gathering detailed insights and metrics for @capitual/react-native-store-review
npm install @capitual/react-native-store-review
Typescript
Module System
Min. Node Version
Node Version
NPM Version
35.2
Supply Chain
49.9
Quality
75.1
Maintenance
50
Vulnerability
94.1
License
Java (44.32%)
Ruby (17.24%)
Objective-C (10.75%)
TypeScript (10.71%)
JavaScript (9.56%)
Objective-C++ (4.75%)
Swift (2.21%)
C (0.46%)
Total Downloads
388
Last Day
1
Last Week
6
Last Month
15
Last Year
110
MIT License
5 Commits
1 Watchers
1 Branches
2 Contributors
Updated on Jul 08, 2023
Latest Version
1.0.1
Package Id
@capitual/react-native-store-review@1.0.1
Unpacked Size
30.70 kB
Size
9.83 kB
File Count
20
NPM Version
9.8.0
Node Version
18.16.1
Published on
Jul 19, 2023
Cumulative downloads
Total Downloads
2
24
1npm install @capitual/react-native-store-review
1import * as React from 'react'; 2import { 3 openCustomReview, 4 openNativeReview, 5} from '@capitual/react-native-store-review'; 6import { StyleSheet, View, Text, Alert, TouchableOpacity } from 'react-native'; 7 8const styles = StyleSheet.create({ 9 container: { 10 flex: 1, 11 justifyContent: 'center', 12 alignItems: 'center', 13 paddingHorizontal: 20, 14 }, 15 button: { 16 width: '100%', 17 height: 64, 18 borderRadius: 8, 19 justifyContent: 'center', 20 alignItems: 'center', 21 backgroundColor: 'black', 22 marginVertical: 10, 23 }, 24 text: { 25 textAlign: 'center', 26 fontSize: 24, 27 color: 'white', 28 }, 29}); 30 31export default function App() { 32 const handleOpenCustomReview = () => { 33 try { 34 openCustomReview('IOS_APP_ID', 'ANDROID_APP_ID'); 35 } catch (e) { 36 Alert.alert('Error on open Custom Review'); 37 } 38 }; 39 40 const handleOpenNativeReview = async () => { 41 try { 42 openNativeReview(); 43 } catch (e) { 44 Alert.alert('Error on open Native Review'); 45 } 46 }; 47 48 return ( 49 <View style={styles.container}> 50 <TouchableOpacity style={styles.button} onPress={handleOpenCustomReview}> 51 <Text style={styles.text}>Open Custom Review</Text> 52 </TouchableOpacity> 53 <TouchableOpacity style={styles.button} onPress={handleOpenNativeReview}> 54 <Text style={styles.text}>Open Native Review</Text> 55 </TouchableOpacity> 56 </View> 57 ); 58} 59
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT License. 🙂
Made with create-react-native-library. 😊
No vulnerabilities found.
No security vulnerabilities found.
Last Day
0%
1
Compared to previous day
Last Week
200%
6
Compared to previous week
Last Month
0%
15
Compared to previous month
Last Year
-60.4%
110
Compared to previous year