jsierles / react-native-audio

Audio recorder library for React Native
MIT License
1.16k stars 539 forks source link

Warning: Module AudioRecorderManager requires main queue setup... #283

Closed keithj0nes closed 6 years ago

keithj0nes commented 6 years ago

Version

Tell us which versions you are using ( you can see the versions in your package.json ):

react-native-audio : ^4.1.3 react-native : 0.56.0 react : 16.4.1 using react-native-sound ? No

I'm getting this warning:

Module AudioRecorderManager requires main queue setup since it overridesconstantsToExportbut doesn't implementrequiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

It displays even if I'm not on the screen that's using react-native-audio. Is there an easy fix for this that I'm not aware of?

simulator screen shot - iphone 6 - 2018-09-18 at 18 55 47

Thanks

jsierles commented 6 years ago

This is a known issue - will be fixed in the next release. It shouldn't affect behavior.

keithj0nes commented 6 years ago

Thanks for the quick reply. It doesn't seem to affect behavior, but the warning sign popping up when showing people on the team doesn't look good, lol. Excited for the next release!

diennguyentien commented 6 years ago

You can refer to here: https://www.youtube.com/watch?v=tDVFfMZDoDc

keithj0nes commented 6 years ago

@diennguyentien Finally got around to getting to your video, and it worked! No clue what you did, but just glad that yellow warning isn't popping up anymore. Thanks!

StevenMasini commented 6 years ago

@jsierles This issue isn't fixed yet. I am using 4.2.2 which is the last release so far and this warning is still triggered when I launch my app.

@diennguyentien Why not submit a Pull Request to integrate the fix you made in the video ?

pkhodaveissi commented 5 years ago

not fixed in 4.3, just annoying to see it every single time

mrozbarry commented 5 years ago

Should be fixed in #315, but hasn't been released.

ghost commented 5 years ago

this warning still exists "react-native-audio": "^4.3.0",

OmarBasem commented 5 years ago

Did anyone find a fix?

Under-Warz commented 5 years ago

@diennguyentien a PR with your fix would be welcome :) warning still exists as @muhammadwfa mentionned.

rizaldirnm commented 5 years ago

"react-native-audio": "^4.3.0", still i have this warning

ghost commented 4 years ago

This warning still exists

ghost commented 4 years ago

author say:

This project is no longer actively maintained by me, the original author. I will not be answering issues or merging any more PRs. If someone is interested in taking over the library permanently, let me know!

pratius commented 4 years ago

Same Issues: In latest version "react-native-audio": "^4.3.0" warn][tid:main][RCTModuleData.mm:68] Module AudioRecorderManager requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

iOS app is getting crashed this not warning.

I follow the same step from :- https://github.com/jsierles/react-native-audio

Any update please