You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ To use Firestack, we'll need to have a development environment that includes the
64
64
65
65
### iOS (with cocoapods)
66
66
67
-
Unfortunately, due to AppStore restrictions, we currently do _not_ package Firebase libraries in with Firestack. However, the good news is we've automated the process (with many thanks to the Auth0 team for inspiration) of setting up with cocoapods. This will happen automatically upon linking the package with `react-native-cli`.
67
+
Unfortunately, due to AppStore restrictions, we currently do _not_ package Firebase libraries in with Firestack. However, the good news is we've automated the process (with many thanks to the Auth0 team for inspiration) of setting up with cocoapods. This will happen automatically upon linking the package with `react-native-cli`.
68
68
69
69
**Remember to use the `ios/[YOUR APP NAME].xcworkspace` instead of the `ios/[YOUR APP NAME].xcproj` file from now on**.
70
70
@@ -198,15 +198,15 @@ Each platform uses a different setup method after creating the project.
198
198
199
199
### iOS
200
200
201
-
After creating a Firebase project, click on the [Add Firebase to your iOS app](http://d.pr/i/3sEL.png) and follow the steps from there to add the configuration file. You do _not_ need to set up a cocoapods project (this is already done through firestack). Make sure not to forget the `Copy Files` phase in iOS.
201
+
After creating a Firebase project, click on the [Add Firebase to your iOS app](http://d.pr/i/3sEL.png) and follow the steps from there to add the configuration file. You do _not_ need to set up a cocoapods project (this is already done through firestack). Make sure not to forget the `Copy Files` phase in iOS.
202
202
203
203
[Download the Firebase config file](https://support.google.com/firebase/answer/7015592) and place it in your app directory next to your app source code:
Once you download the configuration file, make sure you place it in the root of your Xcode project. Every different Bundle ID (aka, even different project variants needs their own configuration file).
208
208
209
-
Lastly, due to some dependencies requirements, Firestack supports iOS versions 8.0 and up. Make sure to update the minimum version of your iOS app to `8.0`.
209
+
Lastly, due to some dependencies requirements, Firestack supports iOS versions 8.0 and up. Make sure to update the minimum version of your iOS app to `8.0`.
210
210
211
211
### Android
212
212
@@ -369,15 +369,15 @@ We can use an external authentication provider, such as twitter/facebook for aut
369
369
[Currently undergoing updates]
370
370
371
371
### socialLogin with custom Library
372
-
If you don't want to use [react-native-oauth](https://github.com/fullstackreact/react-native-oauth), you can use other library such as [react-native-facebook-login](https://github.com/magus/react-native-facebook-login).
372
+
If you don't want to use [react-native-oauth](https://github.com/fullstackreact/react-native-oauth), you can use other library such as [react-native-facebook-login](https://github.com/magus/react-native-facebook-login).
373
373
374
374
```javascript
375
375
var {FBLogin, FBLoginManager} =require('react-native-facebook-login');
376
376
377
377
var Login =React.createClass({
378
378
render:function() {
379
379
return (
380
-
<FBLogin
380
+
<FBLogin
381
381
onLogin={function(data){
382
382
console.log("Logged in!");
383
383
console.log(data);
@@ -641,7 +641,7 @@ And we also export the filetype constants as well:
641
641
* FILETYPE_REGULAR
642
642
* FILETYPE_DIRECTORY
643
643
644
-
> Note: this idea comes almost directory from [react-native-fs](https://github.com/johanneslumpe/react-native-fs), so we don't claim credit for coming up with this fantastic idea.
644
+
> Note: this idea comes almost directory from [react-native-fs](https://github.com/johanneslumpe/react-native-fs), so we don't claim credit for coming up with this fantastic idea.
645
645
646
646
### Realtime Database
647
647
@@ -651,6 +651,7 @@ Ranking strategy
651
651
652
652
Add a new record with timestamp using this solution:
0 commit comments