Open phithu opened 4 years ago
Hi, what exactly does not work?
@voslartomas thank for your response. When I click start record button, app will be crashed
So send some error reports, so we can see why it is crashing
Okay @voslartomas, I will check error message in logcat
and I will update it
Hi @voslartomas. This is error message Caused by: java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION
. When I downgrade targetSdkVersion = 28. It is working well
You need to include this permission
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
Yes. I added it to AndroidManifest, but it is not working
Let me try. Thanks
@phithu Is it working for you already?
No man
@phithu Ok, so after all I got this error as well, it was because of changes in Android 10. I just released new version, which fixes this.
@voslartomas : Can you please help me with the fix? I have been stuck since 4 days now.
@Raj123456788 It should be just about using the newest version.
Thank for create great library. I test on Android but it is not working. My system: React Native = 0.63.2 Android Version = 10 My Device = Realme 6 buildToolsVersion = "29.0.2" minSdkVersion = 26 compileSdkVersion = 29 targetSdkVersion = 29 googlePlayServicesAuthVersion = "17.0.0"