Android-Wave-Recorder icon indicating copy to clipboard operation
Android-Wave-Recorder copied to clipboard

Not working with minSdk 30+

Open robertlevonyan opened this issue 4 years ago • 12 comments

The lib is not working with Scoped Storage API

robertlevonyan avatar Nov 06 '20 15:11 robertlevonyan

I will check this.

squti avatar Nov 07 '20 17:11 squti

Any news?

robertlevonyan avatar Nov 08 '20 10:11 robertlevonyan

@abkoradiya Could you fix this?

squti avatar Nov 10 '20 10:11 squti

@robertlevonyan what issue you are facing?

abkoradiya avatar Nov 10 '20 10:11 abkoradiya

File API is not working on Android Q+ and if target API is 30. There is a new API called scoped storage.

robertlevonyan avatar Nov 10 '20 11:11 robertlevonyan

File API is not working on Android Q+ and if target API is 30. There is a new API called scoped storage.

yes we can change it using filedesriptor. till then you can use app directory using getFilesDir().

abkoradiya avatar Nov 10 '20 11:11 abkoradiya

You also have RandomAccessFile. It is also should be changed

robertlevonyan avatar Nov 10 '20 15:11 robertlevonyan

any news on this?

robertlevonyan avatar Nov 17 '20 07:11 robertlevonyan

any news on this?

I have created pull request. But I don't have time right now to do review changes.

abkoradiya avatar Nov 18 '20 06:11 abkoradiya

I think you just need to merge PR and make a release, if you have already tested it :)

robertlevonyan avatar Nov 18 '20 07:11 robertlevonyan

I think you just need to merge PR and make a release, if you have already tested it :)

I have already tested it. it is working. but changes are remaining which are suggested by you.

abkoradiya avatar Nov 18 '20 11:11 abkoradiya

Yes it works but unfortunately the code is not clean so I had to reject PR.

squti avatar Nov 18 '20 12:11 squti