{"action":"created","issue":{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/368","labels_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/368/comments","events_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/368/events","html_url":"https://github.com/litehelpers/Cordova-sqlite-storage/issues/368","id":112109329,"number":368,"title":"Cordova SQLIte Plugin Not Working in Child Windows","user":{"login":"rbahadur","id":6346683,"avatar_url":"https://avatars.githubusercontent.com/u/6346683?v=3","gravatar_id":"","url":"https://api.github.com/users/rbahadur","html_url":"https://github.com/rbahadur","followers_url":"https://api.github.com/users/rbahadur/followers","following_url":"https://api.github.com/users/rbahadur/following{/other_user}","gists_url":"https://api.github.com/users/rbahadur/gists{/gist_id}","starred_url":"https://api.github.com/users/rbahadur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbahadur/subscriptions","organizations_url":"https://api.github.com/users/rbahadur/orgs","repos_url":"https://api.github.com/users/rbahadur/repos","events_url":"https://api.github.com/users/rbahadur/events{/privacy}","received_events_url":"https://api.github.com/users/rbahadur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/documentation","name":"documentation","color":"006b75"},{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/testing","name":"testing","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-19T09:40:24Z","updated_at":"2015-10-27T09:58:41Z","closed_at":null,"body":"Hello,\r\n\r\nMy application is working fine when I do not have any pops, but I have a requirement where I need to call a window (POP UP) in which data is loading in iframe, In that I need to fetch some details from data base, but when I am trying to connect to Data base, connection is working, but when I am trying below statement.\r\n\r\ndb.transaction( function(tx){\r\n>>> Control is not coming after this line >>\t\t\t\t\t\t\t\t\r\ntx.executeSql(queryString,[],function(tx,results){\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n},function(tx,error){\r\nconsole.log(\"Error while querying Quote from DB\"+error.message);\r\n});\r\n}, errorCB, function(tx){\r\nconsole.log(\"Successfully quried Parent Account list\"+JSON.stringify(parentaccountlistData));\r\n});\r\n\r\nWhen I debug the code the controll is going to cordova js in the below method, and bridgeSecret value is coming -1.\r\n\r\nfunction pollOnce(opt_fromOnlineEvent) {\r\n    if (bridgeSecret < 0) {\r\n        // This can happen when the NativeToJsMessageQueue resets the online state on page transitions.\r\n        // We know there's nothing to retrieve, so no need to poll.\r\n        return;\r\n    }\r\n    var msgs = nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent);\r\n    if (msgs) {\r\n        messagesFromNative.push(msgs);\r\n        // Process sync since we know we're already top-of-stack.\r\n        processMessages();\r\n    }\r\n}"},"comment":{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/comments/151439919","html_url":"https://github.com/litehelpers/Cordova-sqlite-storage/issues/368#issuecomment-151439919","issue_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/368","id":151439919,"user":{"login":"rbahadur","id":6346683,"avatar_url":"https://avatars.githubusercontent.com/u/6346683?v=3","gravatar_id":"","url":"https://api.github.com/users/rbahadur","html_url":"https://github.com/rbahadur","followers_url":"https://api.github.com/users/rbahadur/followers","following_url":"https://api.github.com/users/rbahadur/following{/other_user}","gists_url":"https://api.github.com/users/rbahadur/gists{/gist_id}","starred_url":"https://api.github.com/users/rbahadur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbahadur/subscriptions","organizations_url":"https://api.github.com/users/rbahadur/orgs","repos_url":"https://api.github.com/users/rbahadur/repos","events_url":"https://api.github.com/users/rbahadur/events{/privacy}","received_events_url":"https://api.github.com/users/rbahadur/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T09:58:41Z","updated_at":"2015-10-27T09:58:41Z","body":"Thanks ..."}}