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

NativeAudio import error? #127

Open
JACKZGGG opened this issue Jun 27, 2024 · 1 comment
Open

NativeAudio import error? #127

JACKZGGG opened this issue Jun 27, 2024 · 1 comment

Comments

@JACKZGGG
Copy link

JACKZGGG commented Jun 27, 2024

Describe the bug
I followed the steps in the document to import NativeAudio, but encountered an error. According to the error prompt, I couldn't find NativeAudio?
And when I delete: import {NativeAudio} from '@ capgo/native audio', it returns to normal

To Reproduce
Steps to reproduce the behavior:

  1. pnpm install @capgo/native-audio
  2. npx cap sync
  3. import {NativeAudio} from '@capgo/native-audio'
  4. Console error

Expected behavior
No errors will be reported during import

Screenshots
截图 2024-06-27 13-08-38

Desktop (please complete the following information):

  • OS: [linux]
  • Browser [chrome]
  • Version []

Smartphone (please complete the following information):

  • Device: [Huawei P30]
  • OS: [Android13]
  • Browser [chrome]
  • Version []

Additional context
capacitor-community/native-audio#92
I also have the same issue in another plugin (@ capacitor community/native audio). Through this issue, I tried to change the imported file, but still encountered an error

@riderx
Copy link
Contributor

riderx commented Aug 27, 2024

Can you try latest i made a fix for this

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