Closed andrejvujic closed 3 years ago
Hi @andrejvujic
Thanks for bringing up the issue.
If i may ask, did you receive this error from the example? Or are you using your own code with the plugin?
My own code, however I did everything like in the example.
On Fri, 22 Oct 2021 at 03:16 Michael Nguyen @.***> wrote:
Hi @andrejvujic https://github.com/andrejvujic
Thanks for bringing up the issue.
If i may ask, did you receive this error from the example? Or are you using your own code with the plugin?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Caldarie/flutter_tflite_audio/issues/19#issuecomment-949156890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKOTJQRQXKGJYS6EFM5D7DUIC3O5ANCNFSM5GO2CYAQ .
Hi @andrejvujic
I understand.
Considering that this is an unusual error, would it be possible for you to clone this project and run the example? I would like to know if you still receive the same error.
I have already run the example. It works perfectly, I only had to set the ndkVersion to 16 in app/build.gradle because it wouldn’t compile. It’s a problem with my project. I don’t know what it is, I’ve done everything like shown on pub.dev.
On Fri, 22 Oct 2021 at 06:30 Michael Nguyen @.***> wrote:
Hi @andrejvujic https://github.com/andrejvujic
I understand.
Considering that this is an unusual error, would it be possible for you to clone this project and run the example? I would like to know if you still receive the same error.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Caldarie/flutter_tflite_audio/issues/19#issuecomment-949278271, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKOTJW4FDEGIVLAC2XA32DUIDSETANCNFSM5GO2CYAQ .
Hmm, if it's not too much to ask, would it be possible to share your project or a part of your code? Perhaps i can investigate the issue for you.
The project is large, it has about 16000 lines of code, so I couldn’t send you the code. However I have a private GitHub repo I could give you access to.
On Fri, 22 Oct 2021 at 06:39 Michael Nguyen @.***> wrote:
Hmm, if it's not too much to ask, would it be possible to share your project? Perhaps i can investigate the issue for you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Caldarie/flutter_tflite_audio/issues/19#issuecomment-949281394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKOTJUXFP3BTMCLBEAWFTDUIDTGLANCNFSM5GO2CYAQ .
That is no problem at all.
When sharing your repo, should i be aware of any Non Disclosure Agreements?
@andrejvujic Hi,
I may have come up with a solution to your problem. For some unknown reason, the tflite_audio plugin is unable to get the context of your app.
Perhaps we could bypass the request for permission from this plugin, and instead you could use this plugin to handle your permissions instead.
If you see no error with the permission_handler plugin, I can modify my code to bypass the permission check. Let me know your thoughts.