VadimDez/ng2-pdf-viewer

Uncaught TypeError: B.split(...).at is not a function

davidsennekool opened this issue · 0 comments

Bug Report or Feature Request (mark with an x)
- [x] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

Working environment

node: 20.11.0
npm: 10.2.4
jdk: 17
gradle: 8.2.2
android API level: 28

relevant packages:
    "@angular/animations": "^17.0.9",
    "@angular/cdk": "^17.0.5",
    "@angular/common": "^17.0.9",
    "@angular/core": "^17.0.9",
    "@angular/forms": "^17.0.9",
    "@angular/material": "^17.0.5",
    "@angular/platform-browser": "^17.0.9",
    "@angular/platform-browser-dynamic": "^17.0.9",
    "@angular/router": "^17.0.9",
    "@capacitor/android": "^5.6.0",
    "@capacitor/app": "^5.0.6",
    "@capacitor/core": "^5.6.0",
    "@ionic/angular": "^7.6.4",
    "ng2-pdf-viewer": "^10.0.0",

Bug report

After upgrading to the most recent version (10.0.0) we suddenly had Ionic Capacitor apps that couldn't get past the Splashscreen. The issue only arrises when testing on devices with API level 28 and lower. For now we downgraded back to 9.1.3, which fixes the errors.

image