Skip to content

Mobile-sdk.mdx #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 81 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
7bd1b4b
Create sdk-android.mdx
Atul-Butola Nov 4, 2024
25b1ced
Update sdk-android.mdx
Atul-Butola Nov 4, 2024
c581939
Update sdk-android.mdx
Atul-Butola Nov 4, 2024
1287f4f
Update public.yml
Atul-Butola Nov 4, 2024
621dc86
Update sdk-android.mdx
Atul-Butola Nov 4, 2024
04d2538
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
0846663
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
7036a55
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
9491fb2
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
78649c5
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
9aa36c5
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
f7a5ca8
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
977aa06
Update sdk-android.mdx
Atul-Butola Nov 6, 2024
a57f9d7
Create sdk-ios.mdx
Atul-Butola Nov 6, 2024
7bff08a
Update sdk-ios.mdx
Atul-Butola Nov 6, 2024
c653f44
Update sdk-ios.mdx
Atul-Butola Nov 6, 2024
4aa08f6
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
4ecf37d
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
c0083f5
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
1e494d3
Add files via upload
Atul-Butola Nov 7, 2024
ff8792f
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
367fcc4
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
7241af5
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
1cf4dce
Update public.yml
Atul-Butola Nov 7, 2024
c7445c7
Update public.yml
Atul-Butola Nov 7, 2024
7bfaa48
Update public.yml
Atul-Butola Nov 7, 2024
037c77a
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
5213623
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
9707a58
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
cc8bbf2
Update sdk-android.mdx
Atul-Butola Nov 7, 2024
708bac6
Update sdk-android.mdx
Atul-Butola Nov 7, 2024
f2dffec
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
d184b66
Update sdk-ios.mdx
Atul-Butola Nov 7, 2024
81dd110
Update sdk-android.mdx
Atul-Butola Nov 7, 2024
07540fe
ios-sample-xcode-configuration
Atul-Butola Nov 11, 2024
38fbc80
Update sdk-ios.mdx
Atul-Butola Nov 11, 2024
e5d9da1
Apply suggestions from code review
Atul-Butola Nov 11, 2024
6040334
Update sdk-android.mdx
Atul-Butola Nov 11, 2024
6fdf937
Revert "Update sdk-android.mdx"
Atul-Butola Nov 12, 2024
e30b104
Merge branch 'main' into Mobile-SDKs
Atul-Butola Nov 14, 2024
88b090e
Create push-notification.mdx
Atul-Butola Nov 14, 2024
5ef0568
Update push-notification.mdx
Atul-Butola Nov 14, 2024
58ebeb0
Update push-notification.mdx
Atul-Butola Nov 14, 2024
06c340b
Update public.yml
Atul-Butola Nov 14, 2024
c563a04
Update push-notification.mdx
Atul-Butola Nov 14, 2024
e62797c
Update push-notification.mdx
Atul-Butola Nov 14, 2024
3879c1d
Update push-notification.mdx
Atul-Butola Nov 14, 2024
be54d19
Update sdk-android.mdx
Atul-Butola Nov 18, 2024
5b08d5a
Update sdk-android.mdx
Atul-Butola Nov 18, 2024
49e571e
Update sdk-android.mdx
Atul-Butola Nov 18, 2024
ece7564
Update sdk-android.mdx
Atul-Butola Nov 18, 2024
7e07d20
Update sdk-ios.mdx
Atul-Butola Nov 18, 2024
7a54dbd
Update sdk-ios.mdx
Atul-Butola Nov 18, 2024
4dd4b80
Update sdk-android.mdx
Atul-Butola Nov 18, 2024
09156b0
Apply suggestions from code review
Atul-Butola Nov 18, 2024
264ad0d
Update public.yml
Atul-Butola Nov 18, 2024
07ec826
Update public.yml
Atul-Butola Nov 18, 2024
9accc6c
Update public.yml
Atul-Butola Nov 18, 2024
c12d40b
Update public.yml
Atul-Butola Nov 18, 2024
5dc5726
Update public.yml
Atul-Butola Nov 18, 2024
36d1165
Update public.yml
Atul-Butola Nov 18, 2024
8f42c70
Update public.yml
Atul-Butola Nov 18, 2024
b2356ca
Update public.yml
Atul-Butola Nov 18, 2024
a06ea8e
Update public.yml
Atul-Butola Nov 18, 2024
8e6dd6c
Update public.yml
Atul-Butola Nov 18, 2024
a4d70da
Update public.yml
Atul-Butola Nov 18, 2024
d01afd6
Update public.yml
Atul-Butola Nov 18, 2024
e38223a
Update public.yml
Atul-Butola Nov 18, 2024
38d35a7
Update push-notification.mdx
Atul-Butola Nov 18, 2024
0554304
Update push-notification.mdx
Atul-Butola Nov 18, 2024
5f49abd
Update push-notification.mdx
Atul-Butola Nov 18, 2024
0eff742
Update push-notification.mdx
Atul-Butola Nov 18, 2024
0d9f6c4
Merge branch 'main' into Mobile-SDKs
Atul-Butola Nov 19, 2024
ba9447b
Update sdk-android.mdx
Atul-Butola Nov 27, 2024
38a1114
Merge branch 'main' into Mobile-SDKs
Atul-Butola Nov 27, 2024
cfac31b
Update fern/docs/pages/plug-sdk/push-notification.mdx
Atul-Butola Nov 28, 2024
1ac6980
Update sdk-ios.mdx
Atul-Butola Nov 28, 2024
901d39b
Merge branch 'main' into Mobile-SDKs
Atul-Butola Dec 4, 2024
057c1b6
Update public.yml
Atul-Butola Dec 4, 2024
4a682ec
Update sdk-android.mdx
Atul-Butola Dec 4, 2024
eadbf8a
Update sdk-ios.mdx
Atul-Butola Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions fern/docs/pages/plug-sdk/push-notification.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
This section describes the process of setting up push notifications within the DevRev SDK. By completing this setup, users of your mobile app's support chat will receive notifications whenever a DevRev customer experience engineer responds.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [EkLine] reported by reviewdog 🐶

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

Suggested change
This section describes the process of setting up push notifications within the DevRev SDK. By completing this setup, users of your mobile app's support chat will receive notifications whenever a DevRev customer experience engineer responds.
This section describes the process of setting up push notifications within the DevRev SDK. By completing this setup, users of your mobile app's support chat receive notifications whenever a DevRev customer experience engineer responds.


## Prerequisites

- **Apple Developer Program access**: Required for setting up iOS push notifications.
- **Google Developer Account and Firebase project**: Necessary for configuring Android push notifications.
- **Access to credentials and files**: Ensure you have your Bundle ID, Team ID, and APNs/FCM keys readily available.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [EkLine] reported by reviewdog 🐶

Consider removing 'readily '. (EK00006)

Suggested change
- **Access to credentials and files**: Ensure you have your Bundle ID, Team ID, and APNs/FCM keys readily available.
- **Access to credentials and files**: Ensure you have your Bundle ID, Team ID, and APNs/FCM keys available.

- **Admin access to DevRev PLuG settings**: Required to configure PLuG notifications within DevRev.
- **Mobile SDK integration**: Ensure that the DevRev SDK is integrated with your Android or iOS app and tested to facilitate notifications.

## Configure push notifications

1. Accessing PLuG Settings

a. Go to **Settings** > **Support** > **PLuG settings** > **Mobile push notifications**.

b. Click **+ Configure app** > and select either **iOS App** or **Android App** based on your target platform.

<Callout intent="note">
If you are configuring an iOS app, proceed to step 2. For an Android app, skip to step 3.
</Callout>

2. iOS app configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] reported by reviewdog 🐶

Must put the ending punctuation at the end of a list item. (EK00041)

Suggested change
2. iOS app configuration
2. iOS app configuration.


a. After selecting **iOS App**, fill out the configuration form:
- **App name**: Enter your iOS app's name.
- **Bundle ID**: Provide your 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.
- **Apple Team ID**: Enter 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/).
- **Key ID**: Enter the Key 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.
- **Upload APNs Auth Key**: Upload the `.p8` APNs Auth Key file (maximum size: 10 MB).
- **Sandbox Environment**: Check this for development environments to enable notifications in debug builds.

b. Click **Save App** to complete the iOS setup.

3. Android app configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] reported by reviewdog 🐶

Must put the ending punctuation at the end of a list item. (EK00041)

Suggested change
3. Android app configuration
3. Android app configuration.


a. Select **Android App** and complete the configuration form:
- **App name**: Enter your Android app's name.
- **Bundle ID**: Provide 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.
- **Upload Service Account Key**: Upload 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/).

b. Click **Save App** to complete the Android setup.

4. Click **Save and Publish** to activate push notifications in your DevRev SDK.

Upon completing these steps, push notifications are operational in the DevRev SDK. Users engaged in your app's support chat receive real-time notifications when a DevRev customer experience engineer responds, ensuring effective and timely communication.

For additional support or inquiries, refer to the latest [Apple developer documentation](https://developer.apple.com/) and [Android developer documentation](https://developer.android.com/) as guidelines may change.
Loading
Loading