I tried to open a PDF file on mobile device from local storage.
I have put the file to:
StartUp\Documents\ for iOS
assets\internal\ for Android
with this code:
filename := TPath.Combine(TPath.GetDocumentsPath, 'file.pdf');
WebBrowser1.Navigate('file://' + filename);
on iOS works fine ... open the pdf correctly
on Android ... nothing .. no error .. no pdf ... If I try to open a html file .. works fine.
Any suggestions ?
Antonello