Coder Social home page Coder Social logo

Comments (10)

Snodvod avatar Snodvod commented on June 26, 2024

Same issue here with a Galaxy s5 :/

from cordova-plugin-audio-recorder-api.

alssl-ross avatar alssl-ross commented on June 26, 2024

We've created a fork that fixes this issue.

Permissions have changed in Android 6+ and need to be checked whenever the native functionality is used instead of when the app is installed.

The 'setAudioSource' error occurs because the necessary permissions have not been granted.

The fork adds a 'doPermissions' function to the plugin that can be called to check and if necessary request the appropriate permissions.

https://github.com/alssl-ross/cordova-plugin-audio-recorder-api

from cordova-plugin-audio-recorder-api.

akhilesh2310 avatar akhilesh2310 commented on June 26, 2024

Thanks alssl-ross, your solution worked for me and it is awesome now., I wish if it is possible to have methods for pause and resume audio recording that will make the plugin fully functional.

from cordova-plugin-audio-recorder-api.

akhilesh2310 avatar akhilesh2310 commented on June 26, 2024

Hi, after installing this plugin https://github.com/alssl-ross/cordova-plugin-audio-recorder-api build failed in ios version.

from cordova-plugin-audio-recorder-api.

alssl-ross avatar alssl-ross commented on June 26, 2024

Hi, we do not have that problem and have built both iOS and Android versions successfully.

What was the nature of the failure? Do you have an error message?

from cordova-plugin-audio-recorder-api.

akhilesh2310 avatar akhilesh2310 commented on June 26, 2024

Hi,

please find the error message what I am getting while building for IOS:

Undefined symbols for architecture arm64:
"_AudioSessionSetProperty", referenced from:
___27-[AudioRecorderAPI record:]_block_invoke in AudioRecorderAPI.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This error coming after installing the plugin from using the following command:

cordova plugin add https://github.com/alssl-ross/cordova-plugin-audio-recorder-api

from cordova-plugin-audio-recorder-api.

alssl-ross avatar alssl-ross commented on June 26, 2024

Hi,

We've updated the iOS version and removed the reference to AudioSessionSetProperty which was deprecated in iOS 7.

Please readd the plugin and give it a try.

from cordova-plugin-audio-recorder-api.

akhilesh2310 avatar akhilesh2310 commented on June 26, 2024

Thanks for the solution, everything works perfect now.

from cordova-plugin-audio-recorder-api.

nikmahes avatar nikmahes commented on June 26, 2024

Thanks ! Saved my time.

from cordova-plugin-audio-recorder-api.

amirhere avatar amirhere commented on June 26, 2024

Hi

not working in Noughat, on my Nexus 6 phone.

from cordova-plugin-audio-recorder-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.