Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] can't find the saveTo function, what should I do? #136

Open
Melkon2008 opened this issue May 23, 2024 · 5 comments
Open

[BUG] can't find the saveTo function, what should I do? #136

Melkon2008 opened this issue May 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Melkon2008
Copy link

can't find the saveTo function, what should I do?
Screenshot_35

@Melkon2008 Melkon2008 added the bug Something isn't working label May 23, 2024
Copy link

Thank you for creating your first issue. We appreciate your help in making this project better. We will look into it, and get back to you soon. Need help or want to discuss this issue? Join our Discord community here to ask questions and discuss this issue live!

@Melkon2008 Melkon2008 changed the title [BUG] Brief Description of Issue [BUG] can't find the saveTo function, what should I do? May 23, 2024
@deddyrumapea
Copy link

First, make sure you import the saveTo enum class:

import com.rajat.pdfviewer.util.saveTo;

Then, use it in your code like this:

PdfViewerActivity.launchPdfFromPath(
    context = context,
    path = path,
    pdfTitle = "PDF Title",
    saveTo = saveTo.ASK_EVERYTIME,
    fromAssets = false
);

@deddyrumapea
Copy link

saveTo is no longer under PdfViewerActivity.
We need to update the README.md to reflect this.
I've proposed the changes in #132

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jun 24, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
@afreakyelf afreakyelf removed the Stale label Aug 7, 2024
@afreakyelf afreakyelf reopened this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants