spiegel-keyman/ios/engine/KMEI/KeymanEngine
Marc Durdin bbeb799ac2 feat(ios): add keyman-version to package-version check
For Keyman for iOS, add the new `keyman-version` parameter to the
api.keyman.com/package-version call so that updates to packages that are
not supported on the current version of Keyman will not be offered. This
supports the scenario where an updated keyboard or lexical model depends
on a newer version of Keyman. Note that an older version of the keyboard
or lexical model package will not be offered (the user can still
download and install an older version manually, but generally, the
recommended solution is to upgrade Keyman; there would be significant
cost to add support for querying and installation of older version
keyboards on the server side, for limited benefit).

Also change order of handling for response so that error responses are
recognized even if non-error fields are present. (The current api
endpoint, before keymanapp/api.keyman.com#325 lands, can return `kmp`
and `version` fields even when an `error` field was present, and the iOS
code would see that as a valid response for upgrade, when it shouldn't.
The keymanapp/api.keyman.com#325 change ensures that the additional
fields are not set if there is an `error` field.)

Relates-to: keymanapp/api.keyman.com#325
2026-06-25 11:27:00 +02:00
..
am.lproj chore(common): Update crowdin strings for Amharic 2022-10-25 09:39:56 +07:00
az.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
bwr-ng.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
ckl.lproj chore(common): Update crowdin strings for Kibaku 2023-03-16 11:25:37 +07:00
Classes feat(ios): add keyman-version to package-version check 2026-06-25 11:27:00 +02:00
Config chore(ios): increase version number to 15.6 2025-02-13 11:01:49 +07:00
cs.lproj chore(ios): Update crowdin strings for Czech 2025-02-14 09:50:37 +07:00
de.lproj chore(common): Update Crowdin strings for de 2026-01-29 16:38:12 +07:00
el.lproj chore(common): Update crowdin strings for Polytonic Greek 2025-02-19 06:54:56 +07:00
en.lproj fix(ios): clean up and reduce log statements 2024-12-09 10:58:42 +07:00
es-419.lproj chore(common): Update crowdin strings for Spanish (Latin America) 2025-01-27 09:44:45 +07:00
es.lproj chore(common): Update crowdin strings for Spanish 2025-01-14 11:08:02 +07:00
ff-ng.lproj chore(common): Update crowin strings for Fulfulde 2022-11-14 10:27:30 +07:00
ff.lproj chore(common): Update Fula strings 2023-02-17 08:52:21 +07:00
fr.lproj chore(common): Update crowdin strings for French 2023-08-24 08:31:56 +07:00
ha.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
hia.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
Images.xcassets chore(ios): remove code conditional upon iOS 13 to iOS 15 2025-02-13 11:57:50 +07:00
it.lproj chore(common): Update crowdin strings for Italian 2025-03-14 09:23:26 +07:00
Keyboard Colors.xcassets fix(ios): Fixes color definition issue in demo 2020-02-17 11:52:54 +07:00
km.lproj chore(ios): Update crowdin strings for Khmer 2025-01-16 11:40:48 +07:00
kn.lproj chore(common): Update Kannada strings 2023-02-07 21:39:23 +07:00
kr.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
lib/Reachability fix(ios): drops redundant lib/Reachability (already Carthage dependency) 2021-05-27 09:03:14 +07:00
mfi.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
mnw.lproj chore(common): Update crowdin strings for Mon 2025-02-14 09:43:28 +07:00
mrt.lproj chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
nl.lproj chore(common): Add crowdin strings for Dutch 2022-10-20 09:42:56 +07:00
pl.lproj chore(common): Add crowdin strings for Polish 2022-05-09 12:41:36 +07:00
pt-PT.lproj chore(common): Update crowdin strings for PT 2025-12-18 16:13:25 +07:00
resources/Keyman.bundle/Contents/Resources refactor(web): remove defaults in keyboard-storage 2025-12-19 18:43:02 +01:00
ru.lproj chore(common): Check in crowdin for Russian 2023-01-24 10:13:13 +07:00
shu-latn-n.lproj chore(common): Update crowdin strings for Shuwa (Latin) 2023-01-26 09:34:43 +07:00
sv.lproj chore(common): Add crowdin for Swedish 2023-01-24 09:33:42 +07:00
uk.lproj chore(common): Check in crowdin for Ukrainian 2023-01-24 10:26:15 +07:00
vi.lproj chore(common): Add crowdin strings for Vietnamese 2025-02-22 07:37:36 +07:00
zh-Hans.lproj chore(common): Update crowdin strings for Simplified Chinese 2022-11-14 09:56:52 +07:00
Info.plist fix(ios): use environment and version-with-tag for sentry 2020-04-28 11:35:59 +10:00
Launch Screen.storyboard Initial commit 2017-08-21 13:54:29 +07:00