keymanapp / keymanapp/keyman

feat(ios): Improve system keyboard load performance

Open
#1,492 1 comment 0 reactions 1 assignee Claimed by @jahorton View on GitHub
feat ios/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

**Is your feature request related to a problem? Please describe.**
The app has received a number of crash reports (see #1169, #1170, #1172) that are caused by poor system-keyboard startup performance. If a keyboard app-extension takes too long to load, iOS explicitly kills it.

**Describe the solution you'd like**
As documented on #1169, profiling `SWKeyboard`'s startup time should yield some insight on what components could be sped up, delayed, or performed asynchronously in order to promote responsiveness, both to the user and to the system.

**Describe alternatives you've considered**
Apple doesn't really give the app alternatives.

**Product context**
iOS

**Additional context**
#1475 was a good first step toward addressing these issues.

![image](https://user-images.githubusercontent.com/25213402/50628535-0e755a80-0f6b-11e9-84a4-7ad43c72aa39.png)

Based on the final profiling obtained during that work, finding a way to streamline `Manager`'s load time, perhaps by reducing the amount of data necessary to retrieve from 'app group' space at startup, would probably be a decent place to start. Less important but also possible would be to delay creation of the WKWebView, though that may have UI/user impact.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.