cordova-3.8.0

Cordova shows an warning as “ THREAD WARNING: [Your function] took [n] ms. ” in iOS

断了今生、忘了曾经 提交于 2019-12-03 12:02:54
问题 "THREAD WARNING: ['Console'] took '81.661865' ms. Plugin should use a background thread." While running iOS Phonegap project. Similarly for some of the remaining plugins like geolocation and filesystem. As I am new to Phonegap ,can please anyone tell me how can I run the plugin on background thread. I have checked this also. Can we ignore this thread warning or is it related to memory issue in iOS Phone-gap thanks 回答1: As per this. solved my warning issue I found warning can be ignored .But

Cordova shows an warning as “ THREAD WARNING: [Your function] took [n] ms. ” in iOS

我的梦境 提交于 2019-12-03 02:24:30
"THREAD WARNING: ['Console'] took '81.661865' ms. Plugin should use a background thread." While running iOS Phonegap project. Similarly for some of the remaining plugins like geolocation and filesystem. As I am new to Phonegap ,can please anyone tell me how can I run the plugin on background thread. I have checked this also. Can we ignore this thread warning or is it related to memory issue in iOS Phone-gap thanks As per this . solved my warning issue I found warning can be ignored .But this can be solved by adding background thread using this loop:(In CDVLogger.m) [self.commandDelegate

Cordova - window.history.back() not working on HTML back button in iOS 9

本小妞迷上赌 提交于 2019-11-27 21:39:55
In my application I am using window.history.back to navigate back to previous View Declaration of back button <div class="back_icon" id="verification_back_icon"><a href="#" data-rel="back" data-transition="slidedown"><img src="images/back_btn.png" width="23"/></a></div> Button action: $("#verification_back_icon").on("click", function(e) { if(checkDirtyVacation()) { e.preventDefault(); if(backbtnAlt== false) { backbtnAlt =true; confirm("All data will be lost. Do you want to continue?", function(r){ if(r){ //onBackKeyDown(); clearVacationvalues(); window.history.back();//this is not working in

Cordova - window.history.back() not working on HTML back button in iOS 9

对着背影说爱祢 提交于 2019-11-27 04:31:47
问题 In my application I am using window.history.back to navigate back to previous View Declaration of back button <div class="back_icon" id="verification_back_icon"><a href="#" data-rel="back" data-transition="slidedown"><img src="images/back_btn.png" width="23"/></a></div> Button action: $( "#verification_back_icon" ).on( "click", function ( e ) { if ( checkDirtyVacation() ) { e.preventDefault(); if ( backbtnAlt == false ) { backbtnAlt = true; confirm( "All data will be lost. Do you want to