mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
v6 Implement Cloud Messaging (#2330)
This commit is contained in:
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate AdMob into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate AdMob into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,9 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Analytics into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
|
||||
## Manual Android Integration
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Analytics into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Manual iOS Integration via CocoaPods
|
||||
|
||||
|
||||
@@ -3,9 +3,7 @@ title: Android Initialization
|
||||
description: Initialization Firebase with Android.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
|
||||
## Manual Android Integration
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Authentication into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Authentication into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Manual iOS Integration via CocoaPods
|
||||
|
||||
|
||||
@@ -3,9 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Remote Config into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
|
||||
## Manual Android Integration
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Remote Config into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Manual iOS Integration via CocoaPods
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ crashlytics {
|
||||
}
|
||||
```
|
||||
|
||||
## Manual Linking
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Crashlytics into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,9 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Realtime Database into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
|
||||
## Manual Android Integration
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Realtime Database into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Manual iOS Integration via CocoaPods
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Firebase In-App Messaging into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrateFirebase In-App Messaging into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Cloud Functions into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Cloud Functions into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Instance ID into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Instance ID into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup | App Indexing
|
||||
description: Setup your Android application to handle app indexed URLs.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
Your Android application needs to be setup to detect whether URLs which a user navigates to on your device are to be
|
||||
handled by your application.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup | App Indexing
|
||||
description: Setup your iOS application to handle app indexed URLs.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
To handle indexed URLs within your iOS app, the URL definition needs to be added to your project using XCode.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Invites into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Invites into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Messaging into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Messaging into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Messaging into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
title: Cloud Messaging (FCM)
|
||||
title: Firebase Cloud Messaging (FCM)
|
||||
description: Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably deliver messages at no cost.
|
||||
---
|
||||
|
||||
# Cloud Messaging
|
||||
# Firebase Cloud Messaging
|
||||
|
||||
React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a
|
||||
cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging
|
||||
|
||||
52
docs/messaging/ios-configure-apns.md
Normal file
52
docs/messaging/ios-configure-apns.md
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: Configure Apple Push Notification service for FCM
|
||||
description: Create an Apple Push Notification authentication key, a provisioning profile and an App ID to use with FCM on iOS.
|
||||
---
|
||||
|
||||
# Configure APNs for FCM
|
||||
|
||||
## Before you begin
|
||||
|
||||
This guide makes the following assumptions:
|
||||
|
||||
- you have an active [Apple Developer account](https://developer.apple.com/membercenter/index.action)
|
||||
- you have an active Firebase project
|
||||
|
||||
### Create an Authentication Key
|
||||
|
||||
<!-- https://firebase.google.com/docs/cloud-messaging/ios/certs -->
|
||||
|
||||
TODO
|
||||
|
||||
### Upload your APNs authentication key
|
||||
|
||||
<!-- https://firebase.google.com/docs/cloud-messaging/ios/client#upload_your_apns_authentication_key -->
|
||||
|
||||
TODO
|
||||
|
||||
### Create an App ID
|
||||
|
||||
<!-- https://firebase.google.com/docs/cloud-messaging/ios/certs -->
|
||||
|
||||
TODO
|
||||
|
||||
### Create a Provisioning Profile
|
||||
|
||||
<!-- https://firebase.google.com/docs/cloud-messaging/ios/certs -->
|
||||
|
||||
TODO
|
||||
|
||||
---
|
||||
|
||||
## Next
|
||||
|
||||
<Grid>
|
||||
<Block
|
||||
title="Configure Xcode Project notification capabilities"
|
||||
to="/messaging/ios-xcode-project-capabilities"
|
||||
icon="tool"
|
||||
color="#2196F3"
|
||||
>
|
||||
Configure your Xcode Project capabilities to support Remote Notifications for FCM.
|
||||
</Block>
|
||||
</Grid>
|
||||
27
docs/messaging/ios-xcode-project-capabilities.md
Normal file
27
docs/messaging/ios-xcode-project-capabilities.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: Configure Xcode Project notification capabilities
|
||||
description: Configure your Xcode Project capabilities to support Remote Notifications for FCM.
|
||||
---
|
||||
|
||||
# Configure Xcode Project notification capabilities
|
||||
|
||||
TODO
|
||||
|
||||
---
|
||||
|
||||
## Next
|
||||
|
||||
There are no more integration steps for Messaging on iOS. 🎉
|
||||
|
||||
## Previous
|
||||
|
||||
<Grid>
|
||||
<Block
|
||||
title="Configure Apple Push Notification service for FCM"
|
||||
to="/messaging/ios-configure-apns"
|
||||
icon="tool"
|
||||
color="#2196F3"
|
||||
>
|
||||
Create an Apple Push Notification authentication key, a provisioning profile and an App ID to use with FCM on iOS.
|
||||
</Block>
|
||||
</Grid>
|
||||
@@ -1,11 +1,47 @@
|
||||
---
|
||||
title: iOS Setup
|
||||
description: Manually integrate Messaging into your iOS application.
|
||||
description: Manually integrate Messaging into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Before you begin
|
||||
|
||||
These guides makes the following assumptions:
|
||||
|
||||
- you have an active [Apple Developer account](https://developer.apple.com/membercenter/index.action)
|
||||
- you have an active Firebase project
|
||||
- you have a physical device to test your integration on
|
||||
- Firebase Cloud Messaging uses the [Apple Push Notification service (APNs)](https://developer.apple.com/notifications/) to send messages; therefore to test FCM on iOS you'll need **a real device** - FCM will not work on a iOS simulator
|
||||
|
||||
### Integration steps
|
||||
|
||||
To integrate FCM for iOS, the following integration steps must be followed;
|
||||
|
||||
<Grid>
|
||||
<Block
|
||||
title="Configure Xcode Project notification capabilities"
|
||||
to="/messaging/ios-xcode-project-capabilities"
|
||||
icon="tool"
|
||||
color="#2196F3"
|
||||
>
|
||||
Configure your Xcode Project capabilities to support Remote Notifications for FCM.
|
||||
</Block>
|
||||
<Block
|
||||
title="Configure Apple Push Notification service for FCM"
|
||||
to="/messaging/ios-configure-apns"
|
||||
icon="tool"
|
||||
color="#2196F3"
|
||||
>
|
||||
Create an Apple Push Notification authentication key, a provisioning profile and an App ID to use with FCM on iOS.
|
||||
</Block>
|
||||
</Grid>
|
||||
|
||||
---
|
||||
|
||||
## iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
> auto-linking.
|
||||
|
||||
## TODO
|
||||
> TODO
|
||||
|
||||
@@ -3,9 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate ML Kit Natural Language into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
|
||||
## Manual Android Integration
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
> auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate ML Kit into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
> auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Notifications into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Notifications into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Performance Monitoring into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Performance Monitoring into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Manual iOS Integration via CocoaPods
|
||||
|
||||
|
||||
@@ -3,9 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Cloud Storage into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
|
||||
## Manual Android Integration
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Cloud Storage into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
## Manual iOS Integration via CocoaPods
|
||||
|
||||
|
||||
3466
docs/typedoc.json
3466
docs/typedoc.json
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@ title: Android Setup
|
||||
description: Manually integrate Utils into your Android application.
|
||||
---
|
||||
|
||||
# Android Setup
|
||||
# Android Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: iOS Setup
|
||||
description: Manually integrate Utils into your iOS application.
|
||||
---
|
||||
|
||||
# iOS Setup
|
||||
# iOS Manual Linking
|
||||
|
||||
> The following steps are only required if your environment does not have access to React Native
|
||||
auto-linking.
|
||||
|
||||
Reference in New Issue
Block a user