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] App Theme Overridden After Integrating Pdf-Viewer v2.1.1 #162

Open
alihaider63 opened this issue Oct 8, 2024 · 2 comments
Open

[BUG] App Theme Overridden After Integrating Pdf-Viewer v2.1.1 #162

alihaider63 opened this issue Oct 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@alihaider63
Copy link

📝 Describe the Bug

When integrating the Pdf-Viewer v2.1.1 library, the app's custom theme is overridden by the library, resulting in unintended changes to the appearance of the app.

📖 Library Version

  • PDF Viewer Version: 2.1.1

🚶 Steps to Reproduce

Please follow these steps to reproduce the issue:

  1. Initial Setup/Library Method Used: initWithFile method
  2. Actions Taken: Opened the app and observed the overall app theme.
  3. Unexpected Behavior: The app theme is unexpectedly altered (e.g., different color scheme, fonts, or styles).
  4. Relevant Code/Stack Trace: N/A

🤔 Expected Behavior

The app's custom theme should remain unchanged after integrating the Pdf-Viewer library. The library should only affect the PDF viewer component without altering global app styles.

🖼️ Screenshots/Videos

N/A

📱 Smartphone Info:

  • Device: Samsung Galaxy S6
  • OS: Android 7
  • Library Version: 2.1.1

💻 Code Snippets

N/A

📜 Log Output/Stack Trace

N/A

💬 Additional Context

This issue occurs consistently upon integration of the library. Forcing the app's theme in AndroidManifest.xml does not prevent the library from overriding it.


@alihaider63 alihaider63 added the bug Something isn't working label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

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!

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

2 participants
@alihaider63 and others