Pdf-Viewer icon indicating copy to clipboard operation
Pdf-Viewer copied to clipboard

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

Open alihaider63 opened this issue 1 year ago • 1 comments

📝 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 avatar Oct 08 '24 23:10 alihaider63