You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Hello @devgeeks thanks for such a great plugin. We have a confirmed issue where we have an app with privacy screen plugin installed our input fields are acting up. When users tap in an input field - field receives focus but keyboard does not open. The only way to get a keyboard up is to double tap on the input field.
This is happening on multiple ios versions - 9.3 and 9.2.1
If I remove the plugin inputs in the app behave normally - user taps on an input and keyboard appears. If i add the plugin back in the issue is back.
Plugin versions that seem to cause the issue 0.1.3 and 0.1.2
Ok. so i think i figured why this started to happend to our apps. When i force cordova-ios to 3.9.2 version by changing line <engine name="ios" spec="~4.1.0" /> to <engine name="ios" spec="3.9.2" /> the issue goes away.
So i think this plugin is not compatable with cordova-ios 4.1.0
cc: @devgeeks
Seems to be related to setting self.viewController.view.window.hidden. When I remove all other logic except the lines setting that property to No in onAppDidBecomeActive and Yes in onAppWillResignActive, the bug still persists. I'm not an iOS dev, but can't see why this line should cause any issues so perhaps it's a bug in cordova-ios.
As a workaround, I've replaced hiding the window with overlaying a simple black view (a bit like how the plugin overlays the splash screen, but that didn't seem to be working for me). Code diff here: JamesP-KC@2110f0d
It's a workaround that suits my needs (so perhaps it might be useful to others) but it doesn't really address the underlying problem so I won't open a PR.
Activity
okonon commentedon Mar 31, 2016
Same for version
0.1.1My info:
okonon commentedon Mar 31, 2016
Ok. so i think i figured why this started to happend to our apps. When i force
cordova-iosto3.9.2version by changing line<engine name="ios" spec="~4.1.0" />to<engine name="ios" spec="3.9.2" />the issue goes away.So i think this plugin is not compatable with
cordova-ios 4.1.0cc: @devgeeks
devgeeks commentedon Apr 1, 2016
I'll look at this. Thanks.
okonon commentedon Apr 1, 2016
Thanks a lot @devgeeks
devgeeks commentedon Apr 29, 2016
I can't reliably make this happen, but anecdotally I am seeing this sometimes.
Not sure what it is though :/
james246 commentedon Oct 17, 2017
Just wanted to chip in I am experiencing this issue with the following dependencies:
james246 commentedon Oct 19, 2017
Seems to be related to setting
self.viewController.view.window.hidden. When I remove all other logic except the lines setting that property toNoinonAppDidBecomeActiveandYesinonAppWillResignActive, the bug still persists. I'm not an iOS dev, but can't see why this line should cause any issues so perhaps it's a bug incordova-ios.As a workaround, I've replaced hiding the window with overlaying a simple black view (a bit like how the plugin overlays the splash screen, but that didn't seem to be working for me). Code diff here: JamesP-KC@2110f0d
It's a workaround that suits my needs (so perhaps it might be useful to others) but it doesn't really address the underlying problem so I won't open a PR.