Skip to content

Commit 01725a8

Browse files
committed
Add Contact Support home screen shortcut (Android)
Add a shortcut to quickly open the support chat.
1 parent da5edc1 commit 01725a8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<resources>
22
<string name="app_name">Edge</string>
3+
<string name="shortcut_contact_support_short">Contact Support</string>
4+
<string name="shortcut_contact_support_long">Contact support for help from a live agent</string>
35
<string name="shortcut_do_not_uninstall_short">⚠️ Save 2FA First!</string>
46
<string name="shortcut_do_not_uninstall_long">⚠️ Login requires 2FA & credentials!</string>
57
</resources>

android/app/src/main/res/xml/shortcuts.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
3+
<shortcut
4+
android:shortcutId="contact_support"
5+
android:enabled="true"
6+
android:icon="@mipmap/ic_launcher"
7+
android:shortcutShortLabel="@string/shortcut_contact_support_short"
8+
android:shortcutLongLabel="@string/shortcut_contact_support_long">
9+
<intent
10+
android:action="android.intent.action.VIEW"
11+
android:data="https://support.edge.app/hc/en-us?chat=open" />
12+
</shortcut>
313
<shortcut
414
android:shortcutId="do_not_uninstall"
515
android:enabled="true"

0 commit comments

Comments
 (0)