Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix API doc upload utility (catch errors better) * `react-native-firebase` complete example added * Native modules docs updated
- Loading branch information
1 parent
710007a
commit 5558491
Showing
36 changed files
with
7,032 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,84 @@ | ||
# Dependency directory | ||
# ---- Dependency directory ---- | ||
node_modules | ||
|
||
# ---- Logs ---- | ||
*.log | ||
|
||
# OS-specific files | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
/.idea | ||
|
||
# ---- Project ---- | ||
examples/**/node_modules | ||
_book/** | ||
_site/** | ||
coverage | ||
dist | ||
es | ||
lib | ||
_book/** | ||
_site/** | ||
# Logs | ||
*.log | ||
.DS_Store | ||
examples/complete/react-native/ios/build | ||
/.idea | ||
examples/complete/react-native-firebase/ios/build | ||
|
||
# ---- React Native ---- | ||
# Xcode | ||
*.pbxuser | ||
*.mode1v3 | ||
*.mode2v3 | ||
*.perspectivev3 | ||
*.xcuserstate | ||
project.xcworkspace/ | ||
xcuserdata/ | ||
|
||
# Built application files | ||
**/android/**/build/ | ||
|
||
# Crashlytics configuations | ||
android/com_crashlytics_export_strings.xml | ||
|
||
# Signing files | ||
android/.signing/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
**/android/local.properties | ||
|
||
# Gradle generated files | ||
**/android/.gradle/ | ||
|
||
# Signing files | ||
android/.signing/ | ||
|
||
# User-specific configurations | ||
android/.idea/gradle.xml | ||
android/.idea/libraries/ | ||
android/.idea/workspace.xml | ||
android/.idea/tasks.xml | ||
android/.idea/.name | ||
android/.idea/compiler.xml | ||
android/.idea/copyright/profiles_settings.xml | ||
android/.idea/encodings.xml | ||
android/.idea/misc.xml | ||
android/.idea/modules.xml | ||
android/.idea/scopes/scope_settings.xml | ||
android/.idea/vcs.xml | ||
**/android/**/*.iml | ||
ios/RnFirebase.xcodeproj/xcuserdata | ||
ehthumbs.db | ||
Thumbs.dbandroid/gradle | ||
android/gradlew | ||
android/build | ||
android/.gradle | ||
android/gradlew.bat | ||
android/gradle | ||
lib/.watchmanconfig | ||
.idea | ||
.gradle | ||
local.properties | ||
*.iml | ||
**/ios/Pods/** | ||
**/ios/build/** | ||
**/ios/ReactNativeFirebaseDemo.xcworkspace/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"presets": [ | ||
"babel-preset-react-native-stage-0/decorator-support" | ||
], | ||
"env": { | ||
"development": { | ||
"plugins": [ | ||
"transform-react-jsx-source" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
.expo/ | ||
npm-debug.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
|
||
export default class App extends React.Component { | ||
render() { | ||
return ( | ||
<View style={styles.container}> | ||
<Text>Open up App.js to start working on your app!</Text> | ||
<Text>Changes you make will automatically reload.</Text> | ||
<Text>Shake your phone to open the developer menu.</Text> | ||
</View> | ||
); | ||
} | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react'; | ||
import App from './App'; | ||
|
||
import renderer from 'react-test-renderer'; | ||
|
||
it('renders without crashing', () => { | ||
const rendered = renderer.create(<App />).toJSON(); | ||
expect(rendered).toBeTruthy(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# React Native Firebase Example | ||
|
||
> Simple example of using native modules with react-redux-firebase by using react-native-firebase | ||
This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app). | ||
|
||
|
||
## Get Started | ||
|
||
1. `yarn install` | ||
1. `react-native run-ios` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"expo": { | ||
"sdkVersion": "20.0.0" | ||
}, | ||
"name": "reactnativefirebase", | ||
"displayName": "RNF Example" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AppRegistry } from 'react-native'; | ||
import App from './src'; | ||
AppRegistry.registerComponent('reactnativefirebase', () => App); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AppRegistry } from 'react-native'; | ||
import App from './src'; | ||
AppRegistry.registerComponent('reactnativefirebase', () => App); |
Oops, something went wrong.