NateRickard / Plugin.AudioRecorder

Audio Recorder plugin for Xamarin and Windows
MIT License
164 stars 68 forks source link

Getting error "The method or operation is not implemented" while making an object #25

Closed furqanali1992 closed 6 years ago

furqanali1992 commented 6 years ago

@NateRickard I copied the code from your sample project and when I run it, it gives me an exception "The method or operation is not implemented" on

   **recorder = new AudioRecorderService
            {
                StopRecordingAfterTimeout = true,
                TotalAudioTimeout = TimeSpan.FromSeconds(15),
                AudioSilenceTimeout = TimeSpan.FromSeconds(2)
            };**

I have installed your latest version V1.0.1. I am using it in Xamarin Forms and I have given all the required permissions in Android Manifest.

NateRickard commented 6 years ago

A few things could cause this. Verify the following things:

1) Make sure you've added the package to the Android project 2) Your Android project must target Android SDK 8.1, as the package no longer includes a DLL for Android 7.1

NateRickard commented 6 years ago

Assuming this has been resolved and closing.