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

PCM reader failed to initialize Uncaught #395

Closed
dannnnthemannnn opened this issue Sep 5, 2024 · 2 comments
Closed

PCM reader failed to initialize Uncaught #395

dannnnthemannnn opened this issue Sep 5, 2024 · 2 comments

Comments

@dannnnthemannnn
Copy link

Package version
record: ^5.1.2

Environment

  • OS: [e.g. iOS/Windows/...]
  • Browser [e.g. chrome, safari] if issue is on web platform.
    Android

Describe the bug

Sentry is showing an error where PCM fails to initialize. Looking at the code it should be caught but it seems to be uncaught as its coming through as a Platform Channel uncaught error.

Failure here:

throw Exception("PCM reader failed to initialize.")

Should be caught here:

I am wondering if i could be something about different threads or something?

@gokturkDev
Copy link

Can confirm that this happens when hasPermissions method hasn't been called beforehand

@llfbandit
Copy link
Owner

Async errors can be retrieved from onStateChanged.onError stream.
71cb0e5

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

3 participants