Isvisoft / flutter_screen_recording

A new Flutter plugin for record the screen.
MIT License
146 stars 142 forks source link

Screen recording not working #12

Closed Aanu1995 closed 4 years ago

Aanu1995 commented 4 years ago

I am using Flutter v1.12.13+hotfix.8 (stable channel) and Android SDK version 29.0.3 . The play button is not doing anything and there is no error in the console.

salime45 commented 4 years ago

Hi,

Are you using the repo or the pub package?

Have you try in different devices?

grigvik commented 4 years ago

Hi Yes, the plugin doesn’t work. When I press the play button await FlutterScreenRecording.startRecordScreen("Title"); returns false. And there is no error on the console. I used the pub package and tested on virtual devices and on my android phone.

Aanu1995 commented 4 years ago

@salime45 I tried using the pub package

DmitriyIgnashchenko commented 4 years ago

Hi Yes, the plugin doesn’t work. When I press the play button await FlutterScreenRecording.startRecordScreen("Title"); returns false. And there is no error on the console. I used the pub package and tested on virtual devices and on my android phone.

having the same issue

DmitriyIgnashchenko commented 4 years ago

hope you'll fix it

salime45 commented 4 years ago

Can you provide a project with the fail?

DmitriyIgnashchenko commented 4 years ago

Can you provide a project with the fail?

here you are

https://github.com/DmitriyIgnashchenko/record_screen_test

DmitriyIgnashchenko commented 4 years ago

[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.720], locale ru-RU)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [√] Android Studio (version 3.6) [√] VS Code (version 1.43.2)

prashantspandey commented 4 years ago

HI any updates ! My recorder is also not working even after the permissions. the start variable is always false. Please fix this.

salime45 commented 4 years ago

Right now, we not have time to resolve this, for us the plugin works.

I recomend you fork the plugin and debug .

prashantspandey commented 4 years ago

Has this been fixed yet?

salime45 commented 4 years ago

Seems @handofthecode fixed the problems. You can try this repository meanwhile we test the changes and merge. https://github.com/handofthecode/flutter_screen_recording

JAYTARPARA commented 4 years ago

Right now, we not have time to resolve this, for us the plugin works.

I recomend you fork the plugin and debug .

What a reply man. HATS OFF TO YOU. FROM WHERE YOU GOT THE TIME TO DEVELOP IT??

JAYTARPARA commented 4 years ago

Seems @handofthecode fixed the problems. You can try this repository meanwhile we test the changes and merge. https://github.com/handofthecode/flutter_screen_recording

Also for your kind information. This is also not working. Same issue is there still.

no-1ne commented 4 years ago

Dear @JAYTARPARA. Be nice, instead of being thankful for sharing their work, you expect them to debug issues which they are saying they have no bandwidth to look at.

If you have the skillset to resolve it, pls do and send a pull request instead of having a shouting match.

JAYTARPARA commented 4 years ago

@startupgurukul This is the scenario When client is on your head and asking to do it ASAP and use the plugin instead of core functionality.

aryan29 commented 4 years ago

Yes for me also it is not working

salime45 commented 4 years ago

I did a little update to fix some bugs. Even so in what devices is failing the app?

Aanu1995 commented 4 years ago

@salime45 the issue is with Android

salime45 commented 4 years ago

Yeah, but what device are you using?

Aanu1995 commented 4 years ago

Tecno (Android 9.0) and Samsung (Android 7.0)

salime45 commented 4 years ago

You can execute the example in the repository and paste the log?

The problem in Android is with the resolution and scaledDensity. We need to know this values

safdher commented 4 years ago

I have the same problem. When i use your repo it works. but I use the same code in mine it not work..

salime45 commented 4 years ago

I have the same problem. When i use your repo it works. but I use the same code in mine it not work..

Can you paste your pubspec.yaml? And tell us what device are you using?

safdher commented 4 years ago

This is My Yaml file...

environment: sdk: ">=2.7.0 <3.0.0"

dependencies: flutter: sdk: flutter

cupertino_icons: ^0.1.3 video_player: ^0.10.11 flutter_screen_recording: ^1.0.5 quiver: ^2.1.3

dev_dependencies: flutter_test: sdk: flutter permission_handler: ^4.1.0 open_file: ^3.0.1

flutter: assets:

These Permission Are put in XML file

      <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
      <uses-permission android:name="android.permission.RECORD_AUDIO" />

Your Code is run perfectly in my Mobile.. So I think Mobile is not depending on this error( Vivo 1906 is my model)

salime45 commented 4 years ago

Can you try this way ?

flutter_screen_recording: git: url: https://github.com/isvisoft/flutter_screen_recording.git

If it doesn't work, maybe if you send me a project with the error I can debug

safdher commented 4 years ago

Sorry for the late replay,

I just put the same code in yaml file but my code doesn't work. after that I copy my code to your project then it work. i don't know why it works.. But get the result. Thanks for your support..

salime45 commented 4 years ago

that is strange if you want you can send me a copy of the code

safdher commented 4 years ago

https://github.com/safdher/Dictionary.git

this is my code,

salime45 commented 4 years ago

Thanks @safdher. I think is fixed now. Can you try?

Be sure to upgrade the git package, sometimes not refresh well

gotirahul96 commented 4 years ago

It is working for me but the problem is how to record the audio as well because it is only recording the audio without the audio..Please can anyone help ? Thankyou

salime45 commented 4 years ago

It is working for me but the problem is how to record the audio as well because it is only recording the audio without the audio..Please can anyone help ? Thankyou

This plugin is not prepare to record the audio. I close the thread because there a different issues not related . If anyone have any problem open new issue please.

Thanks

gotirahul96 commented 4 years ago

It is working for me but the problem is how to record the audio as well because it is only recording the audio without the audio..Please can anyone help ? Thankyou

This plugin is not prepare to record the audio. I close the thread because there a different issues not related . If anyone have any problem open new issue please.

Thanks

So if it is not prepared to record audio why it is asking to add permission ? image

salime45 commented 4 years ago

The library for screen recording in android recommended add the permission

gotirahul96 commented 4 years ago

Can you add the audio feature in this library ? As it is the requirement for the client. THANKYOU in advance.

On Wed, 27 May, 2020, 1:20 PM Ismael Monje, notifications@github.com wrote:

The library for screen recording in android recommended add the permission

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Isvisoft/flutter_screen_recording/issues/12#issuecomment-634491851, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7I2IU67GOMIWVI2VIWXQTRTTA57ANCNFSM4LQPI65A .

salime45 commented 4 years ago

We have not plans for this feature. You can create a new issue and tag like feature. We will study in the future