Skip to content

Commit 679a148

Browse files
committed
update sample project configuration section
1 parent 252f661 commit 679a148

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,14 @@ $ cd FirebaseUI-iOS
6060
$ pod install
6161
```
6262

63+
Alternatively you can use `pod try FirebaseUI` in order to install objective-c or swift sample project
64+
6365
## Mandatory Sample Project Configuration
6466

65-
You have to configure Xcode project in order run samples.
67+
You have to configure Xcode project in order to run samples.
6668

6769
1. You project should contain `GoogleService-Info.plist` downloaded from [Firebase console](https://console.firebase.google.com).<br>
70+
Copy `GoogleService-Info.plist` into sample project folder (`samples/obj-c/GoogleService-Info.plist` or `samples/swift/GoogleService-Info.plist`).<br>
6871
Find more instructions and download a plist file from the [Firebase console](https://console.firebase.google.com).
6972

7073
2. Update URL Types.<br>
@@ -75,13 +78,13 @@ Go to `Project Settings -> Info tab -> Url Types` and update values for:
7578

7679
3. Update `Info.plist` twitter and facebook configuration values
7780
+ `FacebookAppID -> {your-app-id}` (put Facebook App Id)
78-
+ `Fabric -> Kits -> KitInfo -> consumerKey / consumerSecret` (put Twitter App consumer key/secret). Please notice that's it's not secure to store `consumerSecrent` in the app itself.
81+
+ `Fabric -> Kits -> KitInfo -> consumerKey / consumerSecret` (put Twitter App consumer key/secret). Please notice that's it's not secure to store `consumerSecret` in the app itself.
7982

8083
4. Enable Keychain Sharing.<br>
8184
Facebook SDK requires keychain sharing.<br>
8285
This can be done here: `Project Settings -> Capabilities -> KeyChain Sharing -> ON`
8386

84-
5. Don't forget to configure your Firebase App Database using Firebase Console.<br>
87+
5. Don't forget to configure your Firebase App Database using [Firebase console](https://console.firebase.google.com).<br>
8588
Database should contain appropriate read/write permissions and folders (`objc_demo-chat` and `swift_demo-chat` respectfully)
8689

8790
## Contributing to FirebaseUI

samples/swift/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@ Swift Samples
33

44
This directory contains a collection of swift code samples.
55

6-
In order to run the project you'll need a valid app in Firebase and
7-
the `GoogleService-Info.plist` file for that project. Drag the plist into the
8-
project root and the project should build correctly.
9-
10-
![](https://raw.githubusercontent.com/firebase/FirebaseUI-iOS/master/samples/swift/drag_plist_into_the_project.gif)
6+
###Project configuration
117

12-
Find more instructions
13-
and download a plist file from the [Firebase console](https://console.firebase.google.com).
8+
Please follow steps described [here](https://github.com/firebase/FirebaseUI-iOS#mandatory-sample-project-configuration) in order to run sample project.
149

1510
###Project configuration
1611

-947 KB
Binary file not shown.

0 commit comments

Comments
 (0)