Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display lightens up only for a second on iOS 10.3.1 #17

Open
imaykay opened this issue Apr 13, 2017 · 4 comments
Open

Display lightens up only for a second on iOS 10.3.1 #17

imaykay opened this issue Apr 13, 2017 · 4 comments

Comments

@imaykay
Copy link

imaykay commented Apr 13, 2017

Hi,

at least on the currently newest iOS Version 10.3.1 the display lightens up after a call to

cordova.plugins.brightness.setBrightness(1, function() { console.log('Successfully lightend up display!'); }, function(err) { console.error('Could not lighten up display! ' + err); });

but is back to its old brightness after one second. I am not sure in which iOS Version this behavoir occurs first - it might also be in 10.3.0.

Any ideas?

Thanks a lot!

@imaykay
Copy link
Author

imaykay commented Apr 13, 2017

Maybe it has something to do with the new brightness features in 10.2.1 according to https://www.forbes.com/sites/gordonkelly/2017/01/28/apple-ios-10-2-1-touchid-display-brightness-bluetooth-battery-problems/ Problem#2 ?

@fiscal-cliff
Copy link
Owner

I don't have any iOS device right now(
Could you debug this problem youself? For instance, make an application for native iOS - in which brigtness changes perfectly.

@imaykay
Copy link
Author

imaykay commented Apr 16, 2017

I am sorry, I don't have any clue about native iOS apps :-/ Maybe some other maintainer? Otherwise this will have to wait until I find some time to learn about native development.

@imaykay
Copy link
Author

imaykay commented Feb 20, 2018

It seems like this issue is not present in newer iOS versions (working on 11.2.5 currently). So this might have been a problem only on specific versions of iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants