Keyboard app security gaffe exposes 31million users’ data including passwords, web searches