Releases: HBiSoft/HBRecorder
Added option to set Uri
You can now pass a Uri for the output. You have to make use of ContentResolver
and ContentValues
. Have a look at the demo project - https://github.com/HBiSoft/HBRecorder/blob/4c7c52e1f793aae6ad5f3914d2d0a7217d762fe2/app/src/main/java/com/hbisoft/hbrecorderexample/MainActivity.java#L527
Add a notification icon of type byte[] for flutter
Added setOrientationHint
Added option to set the output orientation by calling hbRecorder.setOrientationHint(90);
Migrated to API 29
I had a lot of requests to migrate to Android 10. The option to not show a notification is no longer available since we cannot run a ForgroundService
without displaying a notification. I cleaned up some code as well.
Fix issue #6
We can not assume that the device supports the screen dimensions. This is now fixed in this release.
Error handling
Improved error handling/catching.
Added and changed a lot
With this release, you can now set custom settings. Please read the readme to see all the changes.
Lower minSdkVersion
I decided to lower the minSdkVersion. This will allow you to import the library into projects that have a minSdkVersion lower than 21. But you will have to check the API version yourself. You can have a look at the demo project to see how I have done this. If your minSdkVersion is 21 > then this is not necessary.
Minor improvements
Minor adjustments, mainly to avoid possible future crashes.
Updates to HBRecorder class
Added default parameters when not passing anything to HBRecorder