Giter VIP home page Giter VIP logo

Comments (23)

sowens-csd avatar sowens-csd commented on July 17, 2024 1

That's really helpful, thank you! I'll do that migration and let you know as soon as it's done.

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024 1

Great news. Thanks for letting me know. I'll wrap this up into a release version as soon as a couple of other outstanding issues are resolved.

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

I have edit on GeneratedPluginRegistrant.java
from

com.csdcorp.speech_to_text.SpeechToTextPlugin.registerWith(shimPluginRegistry.registrarFor("com.csdcorp.speech_to_text.SpeechToTextPlugin"));
 flutterEngine.getPlugins().add(new com.tekartik.sqflite.SqflitePlugin());

to

    flutterEngine.getPlugins().add(new com.tekartik.sqflite.SqflitePlugin());
com.csdcorp.speech_to_text.SpeechToTextPlugin.registerWith(shimPluginRegistry.registrarFor("com.csdcorp.speech_to_text.SpeechToTextPlugin"));

and it's working but every build flutter reset older to old one and I have to move speech register to last one.

I don't know why nut I did that to help you about where is this issue , thanks

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

That definitely shouldn't be necessary. I use the sqflite plugin and speech to text in a couple of my own projects without problem. I assume you've contacted the sqflite folks as well?

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

no I didn't contacted the sqflite folks , any idea ?

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

What version of Flutter and sqflite are you using?

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

I see it looks like there's a good response on tekartik/sqflite#382, hopefully that resolves your issue. Please let me know.

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

What version of Flutter and sqflite are you using?

speech_to_text: ^0.8.0
sqflite: ^1.2.0
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (3 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

Did the response on tekartik/sqflite#382 resolve the issue?

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

tekartik/sqflite#382
no not resolve , already my app using android new embedding v2 ,

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

It looks to me from their response that they do understand the issue and have resolved it for other users. I think you should keep following up over there. I have just posted a revision to the repo for a range of other issues. You could certainly try it but I doubt that it would change anything for you.

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

Unfortunately , I have tested everything even I have disabled every plugin , speech_to_text case this issue in headless mode in android when disabled it the app working as expected in headless mode

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

I will explain where is the issue appear case , they are working together as great but I use background_fetch to handle some stuff in background , when I terminated my app and background feating some data here the issue occurred , here this issue happened and when I disabled your package or re-sort the registed packages in GeneratedPluginRegistrant.java the issue disappear

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

So you never see a problem unless you have the speech_to_text plugin installed? The problem goes away if you comment out speech_to_text from your dependencies?

What happens if you have the speech_to_text plugin as a dependency but never call the initialize() method? Do you still see the problem?

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

Yes.
ّI will try that but called initialize() in specific event taping so I didn't call it in init or main function , but I will try it to sure.

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

So you never see a problem unless you have the speech_to_text plugin installed? The problem goes away if you comment out speech_to_text from your dependencies?

What happens if you have the speech_to_text plugin as a dependency but never call the initialize() method? Do you still see the problem?

yes I just add speech_to_text and didn't initialize it and the issue appear again .

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

is this plugin support new android embedding , ! I don't found any solution for now .

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

Hello , @sowens-csd , How are you today, !
I hope you well ,
please see last comment in that issue
tekartik/sqflite#382

It seems SpeechToText is not supporting embedding v2 yet (SpeechToText requires an activity upon registration hence the crash).

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

yeah , I'm waiting for this update , thanks

from speech_to_text.

sowens-csd avatar sowens-csd commented on July 17, 2024

I just pushed a large update that switches to the new plugin APIs. If you could try the repo version that would be really helpful. Thanks!

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

I just pushed a large update that switches to the new plugin APIs. If you could try the repo version that would be really helpful. Thanks!

Okay , I will test new commit from repo version and I will inform you .

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

@sowens-csd Everything looks great , final this issue has been fixed , and I'm still testing and if I found anything I will inform you.

from speech_to_text.

niypoo avatar niypoo commented on July 17, 2024

Everything seems good

from speech_to_text.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.