Giter Site home page Giter Site logo

foxitsoftware / cordova-plugin-foxitpdf Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 11.0 110.95 MB

Cordova plugin for Foxit PDF SDK to View PDF Files

License: Apache License 2.0

Java 47.21% Objective-C 40.20% JavaScript 12.59%
android cordova-plugin ios pdf preview

cordova-plugin-foxitpdf's People

Contributors

albano-moura avatar cancerq avatar niusumilux avatar wjm6677 avatar xinqiangsong avatar yongliang-huang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-foxitpdf's Issues

Ui foxitPDF on ios spilt view ipad

@xinqiangSong @CancerQ Please support me. Thank you!
When using foxit PDF on ipad with split view function have the following problem:
IMG_1022

  1. Please show me how to remove the time in the header bar like the picture below
    IMG_1019

  2. How can I always show the header bar without being hidden like the image below?
    IMG_1023

Save to a new file!

Hi all,
When using the new save file function, how do I get the path of the saved file?
Thank!
rn_image_picker_lib_temp_a86150f0-2895-4651-8ba9-953f30d5ae54

About SDK

I want to ask how many versions of foxitSDK are used in your project. Can SDK support the identification and signature of PDF files? Is it broken or bought? Thank you.

Branch feature/#20 have a some issue

@CancerQ
I opened the pdf file and closed the pdf file many times the application encountered the following problem. Please support me. Do you plan to merge this branch into master branch? Thanks you!
1C4F1670-CA8F-43B0-BFFF-45F383591342
Screenshot 2023-04-17 at 3 13 39 PM

Bluetooth in foxitpdf

Hi all,
When uploading the app to testflight I get the message that:
Foxit PDF is using bluetooth( "NSBluetoothAlwaysUsageDescription, NSBluetoothPeripheralUsageDescription").
-> Please tell me which function is using bluetooth.
-> If you don't use those functions, can you turn off the request to use bluetooth?
Thank all!
23

cordova foxitpdf can't upload to google play console

Hi All,
I encountered the following issue:
"cordova-plugin-foxitpdf": "^8.3.0"

image
file: AndroidManifest
image
android-targetSdkVersion: 31
I have setup activity, activity alias, service, or broadcast receiver with value android:exported = "true"

I still can't find the issue
please support me!
Thank you all!

file missing when building

I followed all instruction and performed a build which failed in CLI and failled also in Xcode.
Xcode told me : defines.h : file not found.
What do you suggest .
Many thanks

Support for Content URIs in Android

In android, files are often shared with Content URIs rather than file paths, formatted as content://... we should be able to use these URIs to open the document.

I have some issue

@xinqiangSong
I use cordova plugin foxit but I am facing the following problem:

  • When I add functions to the home tab and use everything is normal but when I go back in the functions in the home tab are gone without saving. How can I save the added functionality for future sessions.
    Please support me! Thank you!
    2
    1

Edit PDF, Save-Callbacks

Hi,

i cant find any hints in the Documentation, so im asking my questions here.

  • Does the Plugin Support PDF's with Input Elements (for Text)?
  • Is it possible to save a PDF and if so, how does it work?
    -> Will the currently opened PDF be overwritten?

I have a issue

@CancerQ Please support me!
when i use the Save and Save as function it returns the same object
How can I tell if I used the save or save as function?
Screenshot 2023-04-24 at 4 58 33 PM

Plugin Error: 'Filed to Open this File' Show Toast Message.

Plugin Error: 'Filed to Open this File' Show Toast Message.

show Error messages: "Success to initialize Foxit library."

FoxitPdf.preview(encodeURI(entry.nativeURL), this.onSuccessFun, this.onErrorFun);

how to solve this problem? thanks.

Unnecessary PDF declared as source-file

Hi, in the plugin.xml Line 18 the getting_started_ios.pdf is declared as a source-file

<source-file src="src/ios/getting_started_ios.pdf"/>

This will copy the tutorial PDF into the actual IOS Project and package it into the App. Is this on purpose? If not, could you remove that line?

App Crashes on .preview() call (Android)

I'm experiencing a complete App-Crash when i try to use this plugin.
After im calling the window.FoxitPdf.preview(filePath,success,error) function the error Callback is called with following message:

Failed to initialize Foxit library.

Then the App closes completely because its stopping the MainActivity.

Unable to annotate on Android 11

Hi,
we've been using Foxit Mobile SDK with the Cordova Android plugin for quite some time now and it's been working really well.
We are using version 7.0.0 and on Android 11 we don't see the bottom icons for annotating the PDF - for Android 10 and older the same code works fine.
image

We have also tried version 7.4.0 of this plugin and Mobile SDK - same problem.

Can you please help?

Thanks,
Thomas

save file after scan on iOS

Hello,

i have installed this plugin on iOS and android, everything works on viewing pdf files and i am trying to scan and save photos to pdf. On android works perfect but on iOS after taking a photo and trying to save the file shows the file system witch is some folders that are created on my app and a folder "NoCloud". In every folder i tried to save the photo, then a pop up appears for successfully file saved, but the file doesn't open at all. In android it works fine.
every time i am doing this process on android i can see saved documents i have created but on iOS it doesn't show anything.

the code i am using is similar to the code of documentation, is something else that i am doing wrong or i have to do?

Include uiextensions_src project for android

Not as much an issue, as a request.

It would be great if you could include the uiextensions_src project for android as you do for iOS so that we can fork the repo, and change those ui features freely without using the pre-compiled FoxitRDKUIExtensions.aar file. I am altering the uiextensions_src code on my own right now from my downloaded SDK, but am getting the android crash issue on back button that you appear to have solved in commit 47ca10b, but I cannot see how, so I would love to work from your edited source code.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.