Open tharrington opened 9 years ago
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?
@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.
@jclark-dot-org I have not been able to resolve the issue. Let me know if you find anything.
Is there any update on this issue?
I encountered the same error msg when I was opening up an external url from an ionic app. Not sure if my case is related to the issue @tharrington raised but I was able to solve my issue by simply installing cordova InAppBrowser plugin.
I am able to get 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 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?