Your keyboard has no reason to connect to the outside world but it sees everything you type and copy/paste. It should be isolated anyway - may as well have a good one.
Same for the camera & gallery apps.
To do it:
- long press on the App & tap App info
- tap Permissions
- remove all but sensor access
