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

Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. Received status code 401 from server: Unauthorized #42

Closed
William45-coder opened this issue Oct 4, 2024 · 9 comments

Comments

@William45-coder
Copy link

When building the project, this error appears..

Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. Received status code 401 from server: Unauthorized

How can I solve this problem please?

@vipulyaara
Copy link
Owner

I just checked out the project in a new directory and it worked fine. Maybe this thread can help DImuthuUpe/AndroidPdfViewer#1206

@vipulyaara
Copy link
Owner

I can reproduce it after clearing the system-wide gradle cache. It's fixed in the new commit on develop. Everything should work now.

@William45-coder
Copy link
Author

Now the code is working.. Thank you.. I have one last question.. How do you control the books and categories that appear on the homepage?

@vipulyaara
Copy link
Owner

The homepage is maintained on a CMS on Firebase. It can be configured differently for each country.

@William45-coder
Copy link
Author

Can you share how to set that up?
If possible.

@vipulyaara
Copy link
Owner

vipulyaara commented Oct 5, 2024

Homepage is built using a combination of manually curated items and algorithms for user recommendations and trending content based on user analytics. You can set up a Firebase project with a Firestore collection called homepage and host these items (for manually curated content). The item schema can be found in the file HomepageResponse.

Out of curiosity, why do you want to host your own homepage?

@William45-coder
Copy link
Author

I'm a beginner in the field, and I was working on a project for a movies and series app using TheMovieDB API. I wanted to understand how to create a homepage that I can control without the need to create a dedicated dashboard.

@vipulyaara
Copy link
Owner

Then you probably don't need a homepage like Kafka. I suggest you look at TiVi. It uses Trakt and TMDB to fetch movies and TV shows, exactly the same use case as yours.

If you still want a manually curated homepage, try some tutorials on Firebase or other backend services. Firebase has GUI so it's easy to edit for non-technical people.

@William45-coder
Copy link
Author

Thank you very much. I think this nomination is very appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants