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

Fixed getBattery not returning level the first time it is called. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nleclerc
Copy link

getBatteryInfo was called before batteryMonitoringEnabled was set to YES so it didn't return a proper level value the first time it was called.

Ponsen pushed a commit to simplifier-ag/phonegap-plugin-battery-status that referenced this pull request May 2, 2019
…rom bugfix/SMD-611-ios-battery-plugin-doesn-t-report to master

* commit '89aff02c272ae1eee6f61bc166102bf1c13c95b7':
  [iOS] - Fixed if devicen is fully charged and plugged onchargingchange and onlevelchange are not getting called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant