Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC:

Local PDF file doesn't open after migrate Cordova to WKWebView 4 years 4 months ago #14827

  • gcorrea
  • gcorrea's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Hello.

Last week, due to a recent update to iOS 13, we migrated Cordova to use WKWebView instead of the default UIWebView, using cordova-plugin-wkwebview-engine.
After that, we are unable to see local pdf that the app downloads from server, and we instead see the screen that you can found attached.

Code that we use to open PDF is as follows:

function openRadaeePDFPluginDocViewer(url) {
console.log(url);
RadaeePDFPlugin.open(
{
url: url,
password: "",
readOnlyMode: true
},
function (message) {
console.log("Successful: " + message + ". URL: " + url);
},
function (err) {
console.log("Error: " + err);
});
}

The successful message is writen in the console.

Our systems are iPads, with iOS 12 and 13, and we have the premium license.



Thank you in advance.
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by gcorrea.

Local PDF file doesn't open after migrate Cordova to WKWebView 4 years 4 months ago #14828

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Hello,
Could you please share us your document that give you this issue? Do you have the same opening problem using demo version?

Please Log in or Create an account to join the conversation.

Local PDF file doesn't open after migrate Cordova to WKWebView 4 years 4 months ago #14830

  • gcorrea
  • gcorrea's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
This happens with every PDF file that we try to open. We tried aswell with a empty PDF file as the attached and the behaviour is the same. We haven't tested the Demo version, but in case it works, what we could do with that? How we could solve the issue? The app worked well before changing the webview :(

FYI we have the plugin in the last version available
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by gcorrea.

Local PDF file doesn't open after migrate Cordova to WKWebView 4 years 4 months ago #14841

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Hi,
We've just checked with demo version and we aren't able to reproduce your issue, also with iOS 13.
Could you please share us your custom demo project?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum