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

Bug Error iOS 10 #14

Open
jesusml opened this issue Oct 5, 2016 · 3 comments
Open

Bug Error iOS 10 #14

jesusml opened this issue Oct 5, 2016 · 3 comments

Comments

@jesusml
Copy link

jesusml commented Oct 5, 2016

There is an error in adjusting the brightness:

"Variable.setBrightness (1);"

NOT WORKING until the bottom bar settings (WiFi, Bluetooth, Airplane Mode, etc) slides.


whatsapp image 2016-10-05 at 1 37 57 pm

@fiscal-cliff
Copy link
Owner

fiscal-cliff commented Oct 6, 2016

Let me ensure, that I've understood correctly. You have changed the brightness through plugin API and then the actual brightness changes only when you open the slider? What the js framework do you use? And could you reproduce this issue on test application

@jesusml
Copy link
Author

jesusml commented Oct 7, 2016

To be more specific…

The problem:

We’ve noticed that in iOs 10 this partially works, when the user scrolls up the slider (quick access window at the bottom of their iphone) the functionality suddenly works… meaning that the solution doesn’t work automatically.

**The app.

https://itunes.apple.com/mx/app/angelopolis-lifestyle-center/id1077577688?mt=8

User steps:**

1.- User opens the app
2.- Inside the app the user taps and enters the Log in section.
3.- The user writes his/hers username and password and enters
4.- The brightness automatically increases while the user shows their personal code.

angelopolispaso

Test User
user: [email protected]
pass: admin

You can see attached the code we are using:

var LightControl;
LightControl = cordova.plugins.brightness;
LightControl.setKeepScreenOn(true);
LightControl.setBrightness(1);

I'm using:

Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
ios-deploy version: Not installed
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v0.12.7
Xcode version: Xcode 8.0 Build version 8A218a

@fiscal-cliff
Copy link
Owner

Hello, I haven't ios development license right now. Could you please run my example application and tell me what's going on your screen?

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