I have a custom iOS keyboard extension app. On iPhone Duo, the system forces keyboard extensions inside a container that is narrower than the phone's screen, specifically by adding extra 7 points on the leading and trailing edge in portrait. This creates both a visual and functional blank space on both sides of the keyboard.
My keyboard relies on side swipes, which are much more annoying to perform when the keyboard does not occupy full width of the screen. All other devices iPhones before the Duo propely stretch the keyboard to full width, so this is a new issue.
Please, reconsider this decision.
I believe a better way to handle this is by setting the safe area layout, instead of limiting the container's width itself. I don't see any benefit to protecting these 7 points on each side. Keyboards that don't care will still stay within the limit by respecting the horizontal safe area, while others would get the benefit of better customization.