Merge remote-tracking branch 'origin/master'

This commit is contained in:
Salakar 2017-10-09 01:16:47 +01:00
commit 26882da429
1 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,15 @@ Run `react-native link react-native-firebase`
## 2) Setup GoogleService-Info.plist ## 2) Setup GoogleService-Info.plist
Setup the `GoogleService-Info.plist` file by following the instructions and adding it to the root of your project at `ios/[YOUR APP NAME]/GoogleService-Info.plist` [here](https://firebase.google.com/docs/ios/setup#add_firebase_to_your_app). Setup the `GoogleService-Info.plist` file by following the instructions and adding it to the root of your project at `ios/[YOUR APP NAME]/GoogleService-Info.plist` [here](https://firebase.google.com/docs/ios/setup#add_firebase_to_your_app).
Adding the file into the directory doesn't automatically add the file to the iOS project. You need to then manually add it by doing the following:
- 2.1. Open `<project root>/ios/'project name'.xcworkspace` file via XCode
- 2.1.1. If you've not got a `.xcworkspace` file yet then you'll need to come back to these steps after setting up your pods + pod install (step 3 on this page)
- 2.2. Right click on your project
- 2.3. Click "Add files to 'project name'"
- 2.4. Select the .plist file you copied into your project
- 2.5. Click OK
### 2.1) Initialisation ### 2.1) Initialisation
Make sure you've added the following to the top of your `ios/[YOUR APP NAME]]/AppDelegate.m` file: Make sure you've added the following to the top of your `ios/[YOUR APP NAME]]/AppDelegate.m` file: