{"id":803,"date":"2022-08-30T15:07:26","date_gmt":"2022-08-30T15:07:26","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/phonegap-cordova-emulator-for-browser-debugging-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:07:26","modified_gmt":"2022-08-30T15:07:26","slug":"phonegap-cordova-emulator-for-browser-debugging-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/phonegap-cordova-emulator-for-browser-debugging-collection-of-common-programming-errors\/","title":{"rendered":"PhoneGap\/Cordova emulator for browser debugging-Collection of common programming errors"},"content":{"rendered":"<p>All,<\/p>\n<p>Is there a PhoneGap\/Cordova emulator\/mock library so that we can develop and debug our app in a normal web browser (specially since the vast majority of our code is application logic with very few Cordova API calls here and there). Debugging\/Coding through an actual mobile device or device emulator is a lot more cumbersome and disruptive of development workflow. Note that we don&#8217;t want to test whether Cordova API works or not. We simply want to be able to run our app in a web browser w\/o it dying because <code>navigator.suchAndASuch.thisAndThat()<\/code> is undefined.<\/p>\n<p>TIA.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:46:25. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>All, Is there a PhoneGap\/Cordova emulator\/mock library so that we can develop and debug our app in a normal web browser (specially since the vast majority of our code is application logic with very few Cordova API calls here and there). Debugging\/Coding through an actual mobile device or device emulator is a lot more cumbersome [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-803","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=803"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/803\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}