@@ -9,14 +9,12 @@ console.
99Introduction
1010------------
1111
12- - [ Read more about Firebase Cloud Messaging] ( https://developers .google.com/cloud-messaging/ )
12+ - [ Read more about Firebase Cloud Messaging] ( https://firebase .google.com/docs /cloud-messaging/ )
1313
1414Building and Running the testapp
1515--------------------------------
1616### iOS
1717 - Link your iOS app to the Firebase libraries.
18- - Get access to the Firebase SDK git repo via
19- [ git cookie] ( https://cpdc-eap.googlesource.com/new-password ) .
2018 - Get CocoaPods version 1 or later by running,
2119
2220 ```
@@ -33,11 +31,11 @@ Building and Running the testapp
3331 $ open testapp.xcworkspace
3432 ```
3533 - For further details please refer to the
36- [general instructions for setting up an iOS app with Firebase](https://developers .google.com/firebase /docs/ios/setup).
34+ [general instructions for setting up an iOS app with Firebase](https://firebase .google.com/docs/ios/setup).
3735
3836 - Register your iOS app with Firebase.
3937 - Create a new app on
40- [developers .google.com](https://developers .google.com/mobile/add?platform=android&cntapi=messaging&cntapp=Cloud%20Messaging%20Test%20App&cntpkg=com.google.android.messaging.testapp )
38+ [firebase .google.com/console ](https://firebase .google.com/console/ )
4139 , and attach your iOS app to it.
4240 - For Messaging, you will need an App Store ID. Use something random such
4341 as 12345678."
@@ -46,6 +44,9 @@ Building and Running the testapp
4644 - Add the GoogleService-Info.plist that you downloaded from Firebase
4745 console to the testapp root directory. This file identifies your iOS app
4846 to the Firebase backend.
47+ - Download the Firebase C++ SDK linked from
48+ [https://firebase.google.com/docs/cpp/setup]() and unzip it to a
49+ directory of your choice.
4950 - Add the following frameworks from the Firebase C++ SDK to the project:
5051 - frameworks/ios/universal/firebase.framework
5152 - frameworks/ios/universal/firebase_messaging.framework
@@ -64,7 +65,7 @@ Building and Running the testapp
6465 - You need a valid
6566 [APNs](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html)
6667 certificate. If you don't already have one, see
67- [Provisioning APNs SSL Certificates.](https://developers .google.com/firebase /docs/cloud-messaging/ios/certs)
68+ [Provisioning APNs SSL Certificates.](https://firebase .google.com/docs/cloud-messaging/ios/certs)
6869 - In XCode, build & run the sample on an iOS device or simulator.
6970 - The testapp has no user interface. The output of the app can be viewed
7071 via the console. In Xcode, select
@@ -74,7 +75,7 @@ Building and Running the testapp
7475**Register your Android app with Firebase.**
7576
7677- Create a new app on
77- [developers .google.com](https://developers .google.com/mobile/add?platform=android&cntapi=messaging&cntapp=Cloud%20Messaging%20Test%20App&cntpkg=com.google.android.messaging.testapp )
78+ [firebase .google.com/console ](https://firebase .google.com/console/ )
7879, and attach your Android app to it.
7980- You can use "com.google.android.messaging.testapp" as the Package Name
8081while you're testing.
@@ -101,7 +102,11 @@ with:
101102 console to the root directory of testapp. This file identifies your
102103 Android app to the Firebase backend.
103104- For further details please refer to the
104- [general instructions for setting up an Android app with Firebase](https://developers.google.com/firebase/docs/android/setup).
105+ [general instructions for setting up an Android app with Firebase](https://firebase.google.com/docs/android/setup).
106+
107+ - Download the Firebase C++ SDK linked from
108+ [https://firebase.google.com/docs/cpp/setup]() and unzip it to a
109+ directory of your choice.
105110
106111**Configure your SDK paths**
107112
@@ -141,7 +146,8 @@ viewed via the console:
141146- When you first run the app, it will print:
142147`Recieved Registration Token: <code>`. Copy this code to a text editor.
143148- Copy the ServerKey from the firebase console:
144- - Open your project in the [firebase console](https://console.firebase.google.com)
149+ - Open your project in the
150+ [firebase console](https://firebase.google.com/console/)
145151 - Click `Notifications` in the menu on the left
146152 - Select the `Credentials` tab.
147153 - Copy the `Server Key`
@@ -155,7 +161,7 @@ curl --header "Authorization: key=<Server Key>" --header "Content-Type: applicat
155161Support
156162-------
157163
158- [https://developers .google.com/firebase /support/]()
164+ [https://firebase .google.com/support/]()
159165
160166License
161167-------
0 commit comments