Skip to content

Commit 03976d2

Browse files
author
Said Tahsin Dane
committed
Update setup-guide.md with latest changes
1 parent 95cb083 commit 03976d2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

setup-guide.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ To enable _QuickDemo_ you need to do two things.
77
1. Enable the System UI demo mode on your phone.
88
2. Grant the `android.permission.DUMP` to the QuickDemo app. This permissions is protected and can't be requested at runtime.
99

10-
Both steps can be performed from you command line via `adb`.
10+
This can be achieved by running the following `gradle` task.
11+
12+
```
13+
./gradlew setupDemoMode
14+
```
15+
16+
If you don't have the project. Both steps can be performed manually from command line via `adb`.
1117

1218
```
1319
# Ensure demo mode is activated.
@@ -17,4 +23,4 @@ adb shell settings put global sysui_demo_allowed 1
1723
adb shell pm grant com.pspdfkit.labs.quickdemo android.permission.DUMP
1824
```
1925

20-
**Please note:** The permissions is granted until you revoke it or uninstall the app.
26+
**Please note:** The permissions is granted until you revoke it or uninstall the app.

0 commit comments

Comments
 (0)