cvinodhkumar77 opened a new issue #807: Cordova iOS App battery draining in iOS 13.3.1 URL: https://github.com/apache/cordova-ios/issues/807 # Bug Report ## Problem We have a developed a Angular App packaged with Cordova framework. After the initial release, we got complaints like battery getting drained too fast and phone is getting warmer after using it for sometime. We have analysed the issue and found this happens when I try to use camera for scanning (using JUMIO plguin) the document. And we also noticed when I keep scrolling in any page where I can scroll up and down I can feel the device getting warmer. I have analyzed further using iOS tool Instrument and noticed that when performing above two mentioned action I can see the spikes in the Instrument logs. We are not sure how to resolve this or is there any way we can dig much deeper on this. Below is the plugins and iOS versions we are using. ### What is expected to happen? Battery should not drain faster or phone should not get warmer ### What does actually happen? Battery is draining faster and phone is getting warmer ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> Plugins Used: "cordova-ios": "^5.1.1", "cordova-open-native-settings": "^1.5.2", "cordova-plugin-device": "^2.0.3", "cordova-plugin-device-name": "^1.3.5", "cordova-plugin-dialogs": "^2.0.2", "cordova-plugin-firebase-crashlytics": "^1.0.0", "cordova-plugin-geolocation": "^4.0.2", "cordova-plugin-inappbrowser": "^3.2.0", "cordova-plugin-infineasdk": "file:InfineaSDKCordova", "cordova-plugin-ios-keychain": "git+https://github.com/ionic-team/cordova-plugin-ios-keychain.git", "cordova-plugin-jumio-mobilesdk": "git+https://github.com/Jumio/mobile-cordova.git#v3.5.0", "cordova-plugin-network-information": "^2.0.2", "cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-touch-id": "^3.4.0", "cordova-plugin-whitelist": "^1.3.4", "ios": "^5.1.1", "ncp": "^2.0.0", "phonegap-plugin-barcodescanner": "^8.1.0" ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> ### Version information <!-- What are relevant versions you are using? For example: Cordova CLI version: 9 Cordova ios version: mentioned above ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
