Skip to content

Commit

Permalink
📝 Add documentation on how to setup swiftkey
Browse files Browse the repository at this point in the history
  • Loading branch information
astariul committed May 21, 2024
1 parent 5f07396 commit 27977fc
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
Binary file added docs/assets/swiftkey_setup_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/swiftkey_setup_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/swiftkey_setup_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/swiftkey_setup_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions docs/emu_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,40 @@ Make sure to disable the clipboard :
!!! failure "Layout"
For now, the only layout supported is `english US`. Make sure this is the layout GBoard is using.

### Preparing Swiftkey

Swiftkey keyboard isn't installed on the emulator by default : you need to install it first.

!!! note
If you want to run the tests in parallel on several emulators, you need to repeat these steps for each emulator.

Start the emulator, then go to Google, and paste [this link](https://play.google.com/store/apps/details?id=com.touchtype.swiftkey&hl=en_US&gl=US) to install Swiftkey.

!!! tip
If the clipboard isn't shared with the emulator, open a terminal and run :

```bash
adb shell input text "https://play.google.com/store/apps/details?id=com.touchtype.swiftkey&hl=en_US&gl=US"
```

Install the keyboard on your emulator :

![](assets/swiftkey_setup_1.png){ width="300" }

Open the app, follow the instructions to activate the keyboard.

---

By default, Swiftkey has the clipboard enabled, and it may interfere with the layout detection. You can disable the clipboard. First, access the clipboard settings :

![](assets/swiftkey_setup_2.png){ width="300" }

![](assets/swiftkey_setup_3.png){ width="300" }

And disable the clipboard suggestions :

![](assets/swiftkey_setup_4.png){ width="300" }

## Setting up iOS emulator

### Creating the emulator
Expand Down

0 comments on commit 27977fc

Please sign in to comment.