Failed To Load Webpage With Error Cdvwebviewdelegate
Products People Change log Topics All Topics Questions Ideas Problems Praise Updates New Topic Questions All Topics Questions Ideas Problems Praise Updates Get Satisfaction uses Javascript ios cdvwebviewdelegate navigation started when state=1 and cookies. You'll need to enable Javascript and cookies to participate. Create cordova in app browser a new topic About this Question 25 Replies 0 Promoted Responses 5 People Participating Official Representatives Kateryna Grynko Employee Products & Services General Adding... + Start by typing a product or service name and we will look it up! Sorry, that product doesn't exist in our system yet. General App Development AngularJS (finish) Tagged cdvwebviewdelegate phonegap xcode See the changes made to this topic Help get this topic noticed by sharing it on Twitter, Facebook, or email. Edit Delete Tom February 18, 2014 21:55 Xcode - Failed to load webpage with error: CDVWebViewDelegate Edit Subject App is working fine when testing in emulator and phone, but Xcode is throwing me this error message;
Failed to load webpage with error: CDVWebViewDelegate: Navigation started when state=1
I found something about a bug in phonegap, but is this a serious bug? 1 person hasthis question +1 follow Answered 5989229 Link Short URL This topic is no longer open for comments or replies. 0 Edit Delete Remove Official Fork Maryna Brodina February 18, 2014 22:04 Hello! Sorry, we're not aware about this bug. You can ask here https://issues.apache.org/jira/browse... good answer! good answer!(undo) view -1more comments Tom February 18, 2014 22:11 http://stackoverflow.com/questions/17... Edit Delete Remove Cancel Edit Your Reply (some HTML allowed) What's the status of this question? Choose... Doesn't need answer Answered Hello! Sorry, we're not aware about this bug. You can ask here https://issues.apache.org/jira/browse/CB-3530 How does this make you feel? Add Image I'm e.g. indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited kidding, amused, unsure, silly Cancel 0 Edit Delete Remove Official Fork Maryna Brodina February 18, 2014 22:13 You can also try to change Libraries version to 1.2 (PhoneGap 3.0.0)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just https://getsatisfaction.com/apperyio/topics/xcode_failed_to_load_webpage_with_error_cdvwebviewdelegate like you, helping each other. Join them; it only takes a minute: Sign up Cordova InAppBrowser opens but the page is loaded in the main one up vote 3 down vote favorite We have Sencha Touch app. It displays various content including pages with links outside the application (to different web servers). What we did was http://stackoverflow.com/questions/20049936/cordova-inappbrowser-opens-but-the-page-is-loaded-in-the-main-one that we added a inappbrowser plugin to handle the links. this.getItemsDetail().element.on('tap', function(event, target) { event.preventDefault(); window.open(target.href, '_blank'); console.log('tap'); }, this, {delegate : 'a'}); This works - the "tap" is logged. The child browser is opened. Problem is that SOMETIMES the event "falls through", misses the inappbrowser and loads in the main webview. I managed to toggle debug in the inappbrowser class. Log is at the bottom. Problem is that this issue is not consistent. Sometimes it's hard to reproduce. You have to try clicking and then it happens. I assume the core is 2013-11-18 14:11:18.362 CDVWebViewDelegate: Navigation started when state=1 2013-11-18 14:11:18.363 Failed to load webpage with error: CDVWebViewDelegate: Navigation started when state=1 I do not know what exactly does the message mean. From the code it looks like "state 1" is "STATE_WAITING_FOR_LOAD_START" typedef enum { STATE_IDLE, STATE_WAITING_FOR_LOAD_START, STATE_WAITING_FOR_LOAD_FINISH, STATE_IOS5_POLLING_FOR_LOAD_START, STATE_IOS5_POLLING_FOR_LOAD_FINISH, STATE_CANCELLED } State; But still - I am not sure what I'm doing wrong and how to load webpage in "correct" state. 16.285 tap 16.
Sign in Pricing Blog Support Search GitHub This repository Watch 21 Star 77 Fork 32 driftyco/ionic-starter-salesforce Code Issues 8 Pull requests https://github.com/driftyco/ionic-starter-salesforce/issues/6 0 Projects 0 Pulse Graphs New issue bootstrap error - CDVWebViewDelegate: Navigation started when state = 1 #6 Open tharrington opened this Issue Mar 3, 2015 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants tharrington commented Mar 3, 2015 I am able to get failed to the app running with my connected app in a dev org. However, when running on an iOS device, if I switch views multiple times using the navigation menu, an error is eventually shown: And the debug log shows this error: 2015-03-03 11:42:02.943 Mayors[20552:163340] CDVWebViewDelegate: Navigation started when state=1 2015-03-03 11:42:02:943 Mayors[20552:607] ERROR|SFHybridViewController|Error while attempting to load web failed to load page: Error Domain=CDVWebViewDelegate Code=1 "CDVWebViewDelegate: Navigation started when state=1" UserInfo=0x7f9f136bae80 {NSLocalizedDescription=CDVWebViewDelegate: Navigation started when state=1} 2015-03-03 11:42:03.207 Mayors[20552:163340] Failed to load webpage with error: CDVWebViewDelegate: Navigation started when state=1 2015-03-03 11:42:03.216 Mayors[20552:163340] Resetting plugins due to page load. 2015-03-03 11:42:03.224 Mayors[20552:163340] Finished load of: about:blank Have you found a solution to this issue? tharrington commented Mar 3, 2015 Also, is there a way to auto-restart force-server on file change? Just like using $ionic serve? What about using smartstore/smart sync? Can this be done in the browser or would you be better of using HTML5 storage? jclark-dot-org commented Mar 19, 2015 @tharrington Any luck? Having the same issue. Judging from the debug log, it's a problem in SFHybridViewController - Salesforce code. I'm not using the ionic starter pack, but I am using Ionic in my hybrid Remote app. tharrington commented Mar 26, 2015 @jclark-dot-org I have not been able to resolve the issue. Let me know if you find anything. plevie commented Nov 20, 2015 Is there any update on thi