[template] add short links

[skip ci]
This commit is contained in:
Salakar
2019-05-21 20:46:31 +01:00
parent 86c1cb7201
commit 5bff7c2e29
2 changed files with 7 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
* Sample React Native App with Firebase
* https://github.com/invertase/react-native-firebase
*
* @format
* @flow
@@ -24,9 +24,8 @@ const instructions = Platform.select({
});
const firebaseCredentials = Platform.select({
ios: 'https://invertase.io/oss/react-native-firebase/quick-start/ios-firebase-credentials',
android:
'https://invertase.io/oss/react-native-firebase/quick-start/android-firebase-credentials',
ios: 'https://invertase.link/firebase-ios',
android: 'https://invertase.link/firebase-android',
});
type Props = {};
@@ -40,7 +39,7 @@ export default class App extends Component<Props> {
<Text style={styles.instructions}>{instructions}</Text>
{!firebase.apps.length && (
<Text style={styles.instructions}>
{`You currently have no Firebase apps registered, this most likely means you've not downloaded your project credentials, see \n ${firebaseCredentials} \n to learn how to add them.`}
{`\nYou currently have no Firebase apps registered, this most likely means you've not downloaded your project credentials. Visit the link below to learn more. \n\n ${firebaseCredentials}`}
</Text>
)}
</View>

View File

@@ -1,6 +1,6 @@
{
"name": "HelloWorld",
"version": "6.0.0-alpha.11",
"version": "6.0.0-alpha.22",
"private": true,
"scripts": {
"start": "react-native start",
@@ -11,7 +11,7 @@
"prepare": "patch-package"
},
"dependencies": {
"@react-native-firebase/app": "^6.0.0-alpha.21",
"@react-native-firebase/app": "^6.0.0-alpha.22",
"react": "16.8.1",
"react-native": "0.59.8"
},