- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I am using InAppBrowser plugin to call remote JSON API in terms of providing additional layer of protection for consuming it. It works fine in android.
In windows phone 8.x, I am facing a strange issue. When executing functions that reside in scripts from the page loaded in InAppBrowser, it sometimes gives me an error saying "Unspecified error." in plugins/cordova-plugin-inappbrowser/src/windows/InAppBrowserProxy.js.
The strange thing is that it randomly throws this error sometimes and sometimes it works. I tried all techniques I could think of and read from internet. Could someone please help me resolve this issue.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Sam, this is another one I would search StackOverflow for help, we don't yet have enough experience with the new Cordova Windows platforms to know all the quirks.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Paul,
Same here, I searched everywhere, I could not a find a solution or workaround for this. Please let me know if you come across anything.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Paul,
It seems that this error occurs when you execute scripts many times, i.e., I call a remote Json API using this InAppBrowser and while calling second API sometimes this error occurs.
So what I did is, I closed the InAppBrowser every time, I am done with an API call and created a new instance of InAppBrowser for every API call. It works. I could not understand how this works in Android regardless of how many times it calls multiple calls using same InAppBrowser instance.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
This is probably due to a difference in the memory management implementations between the two platforms. An Android webview is not representative of a Windows webview or an iOS webview, they are quite different "under the hood" -- just like browsers from different vendors have different behavior.
