Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

Document Help

More
IP: 173.59.230.146 6 years 3 months ago #14745 by robertlforsyth
Document Help was created by robertlforsyth
Using the Cordova code, is there docs or KB on how to manage/disable menu items or set the initial view of the player? Also, on the Android version, there is a popup dialog when loading a PDF across http, but NOT one for iOS. Is there a call for showing a 'loading' dialog/message for iOS?

Thanks in Advance!

- Robert
More
IP: 37.183.44.177 6 years 3 months ago #14747 by federico
Replied by federico on topic Document Help
Hi
We've just fix an issue about hiding menu items, please pull from GitHub last commit so it should works well or shift this line from viewDidLoad to viewWillAppear method in RDLoPDFViewController class.
Code:
[self createToolbarItems];
For hiding menu items in Cordova you should use setToolbarEnabled in index.js
(Add these lines before RadaeePDFPlugin.open or it will not work)
Code:
RadaeePDFPlugin.setToolbarEnabled( { enabled: false }, function (message) { console.log("Success: " + message); }, function (err) { console.log("Failure: " + err); });
Right now there's no call for showing a loading dialog for iOS but it will be added
More
IP: 173.59.230.146 6 years 3 months ago #14749 by robertlforsyth
Replied by robertlforsyth on topic Document Help
Thanks the new build worked to hide the toolbar. Are there any docs for how to customize the toolbar?

- Robert
More
IP: 173.59.230.146 6 years 3 months ago #14750 by robertlforsyth
Replied by robertlforsyth on topic Document Help
Another question. I hid the toolbar, but when I set
RadaeePDFPlugin.setToolbarEnabled(
{
enabled: true
},

the toolbar does not appear. Any thoughts? Also, is there a way to close the viewer by using the DoubleTap callback?
More
IP: 212.97.62.176 6 years 3 months ago #14752 by federico
Replied by federico on topic Document Help
Hi Robert,
By using setToolbarEnabled you can't hide and show toolbar programmatically: you're going to set a parameter checked before PDF opening.
You could check some RadaeePDF Cordova's methods here that also include toolbar's customization.
More
IP: 173.59.230.146 6 years 3 months ago #14753 by robertlforsyth
Replied by robertlforsyth on topic Document Help
I should have been more clear. When I added your call before I opened the doc, the toolbar disappeared. When I removed that call or changed it to enabled:true, the toolbar did not come back. I need the toolbar for the back button (To close the doc), but its not there anymore.
Time to create page: 0.366 seconds
Powered by Kunena Forum