Relative Content

Tag Archive for androidiosreact-native

undefined is not an object (evaluating ‘window.location.href’)

I am getting app crash on launch for both the platform android and ios, If I run app in debug mode then it works fine and as soon as removed from debug mode app getting crashed.
I am not getting clear log specific to a library or syntext, only gettine below error.

Facing Problem in Recording Audio in React native

Currently working on a chat application like whatsapp and instagram where I need to add a feature of Recording Audio as like in the whatsapp and instagram. So I am using react-native-audio-recorder-player. I have implemented it correctly as mentioned in the package, but the main issue is that it seeks the permission of RECORD_AUDIO, READ AND WRITE OF THE EXTERNAL STORAGE. The issue lies here that it seeks the permission of the RECORD_AUDIO from the user but it not seeking any permission in the case of the READ_EXTERNAL_STORATE AND WRITE_EXTERNAL_STORAGE it automatically returns never_ask_again due to which I am able to record the audio but neither I can store it in my external storage nore I can access it. Please help