Skip to content

Commit 24a96ac

Browse files
committed
add to per-platform pages
1 parent 01df617 commit 24a96ac

File tree

2 files changed

+59
-4
lines changed

2 files changed

+59
-4
lines changed

fern/docs/pages/plug-sdk/android.mdx

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,37 @@ You can configure your app to receive push notifications from the DevRev SDK. Th
481481

482482
DevRev sends push notifications to your app to alert users about new messages in the PLuG support chat.
483483

484-
To receive push notifications, you need to configure your DevRev organization by following the instructions in the [push notifications](./push-notification) section.
484+
To receive push notifications, you need to configure your DevRev organization by following the instructions below.
485485

486486
You need to ensure that your Android app is configured to receive push notifications. To set it up, follow the [Firebase documentation](https://firebase.google.com/docs/cloud-messaging/android/client).
487487

488+
### Configure DevRev org
489+
490+
<Info>
491+
**Prerequisites**
492+
493+
- Google Developer Account and Firebase project access
494+
- Admin access to DevRev PLuG settings
495+
- Access to Bundle ID, Team ID, and APNs/FCM keys
496+
- Mobile SDK integration with your Android app
497+
</Info>
498+
499+
1. Go to **Settings** > **Support** > **PLuG settings** > **Mobile push notifications**.
500+
501+
2. Click **+ Configure app** and select **Android App**.
502+
503+
3. Fill in the configuration form.
504+
505+
- **App name**: Your Android app's name.
506+
- **Bundle ID**: Your app's unique identifier in reverse domain notation, such as, `com.example.app`. Refer to [Google’s documentation](https://developer.android.com/studio/build/application-id) to confirm your bundle ID.
507+
- **Upload Service Account Key**: A Service Account Key JSON file (up to 10 MB) generated via Google Cloud for Firebase Cloud Messaging (FCM). Create this key following [Google’s documentation](https://firebase.google.com/docs/).
508+
509+
Click **Save App** to complete the setup.
510+
511+
4. Click **Save and Publish** to activate push notifications in your DevRev SDK.
512+
513+
For additional support or inquiries, refer to the latest [Android developer documentation](https://developer.android.com/) as guidelines may change.
514+
488515
### Register for push notifications
489516

490517
<Callout intent="note">

fern/docs/pages/plug-sdk/ios.mdx

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,40 @@ You can configure your app to receive push notifications from the DevRev SDK. Th
320320

321321
The DevRev backend sends push notifications to your app to alert users about new messages in the PLuG support chat.
322322

323-
### Configuration
324-
325-
To receive push notifications, you need to configure your DevRev organization by following the instructions in the [push notifications](./push-notification) section.
323+
To receive push notifications, you need to configure your DevRev organization by following the instructions below.
326324

327325
You need to ensure that your iOS app is configured to receive push notifications. You can follow the [Apple documentation](https://developer.apple.com/documentation/usernotifications/registering_your_app_with_apns) for guidance on registering your app with Apple Push Notification Service (APNs).
328326

327+
### Configure DevRev org
328+
329+
<Info>
330+
**Prerequisites**
331+
332+
- Apple Developer Program access
333+
- Admin access to DevRev PLuG settings
334+
- Access to Bundle ID, Team ID, and APNs/FCM keys
335+
- Mobile SDK integration with your iOS app.
336+
</Info>
337+
338+
1. Go to **Settings** > **Support** > **PLuG settings** > **Mobile push notifications**.
339+
340+
2. Click **+ Configure app** and select **iOS App**.
341+
342+
3. Fill in the configuration form.
343+
344+
- **App name**: Your iOS app's name.
345+
- **Bundle ID**: The app's unique identifier in reverse domain notation, such as, `com.example.app`. Refer to [Apple's documentation](https://developer.apple.com/documentation/appstoreconnectapi/bundle_ids) to confirm your bundle ID.
346+
- **Apple Team ID**: The 10-character Apple Team ID assigned to your organization. Details are available in [Apple's Team ID documentation](https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/).
347+
- **Key ID**: The ID for your APNs auth key. See [Apple's Key ID documentation](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) for further instructions.
348+
- **Upload APNs Auth Key**: The `.p8` APNs auth key file (maximum size: 10 MB).
349+
- **Sandbox Environment**: Check this for development environments to enable notifications in debug builds.
350+
351+
Click **Save App** to complete the setup.
352+
353+
4. Click **Save and Publish** to activate push notifications in your DevRev SDK.
354+
355+
For additional support or inquiries, refer to the latest [Apple developer documentation](https://developer.apple.com/) as guidelines may change.
356+
329357
### Register for push notifications
330358

331359
<Callout intent="note">

0 commit comments

Comments
 (0)