Closed daveparks23 closed 2 years ago
has anyone been able to resolve these dependency issues?
I had similar dependency issues after adding firebase-admob
as a dependency. I have forked the project and updated the dependencies of this project to support the latest firebase libraries.
This is the commit of the changes.
You can include this version in your projects by referencing the github URL in your pubspec.yaml
, e.g.
fast_qr_reader_view:
git:
url: git://github.com/SoftWyer/fast_qr_reader_view.git
# url: git://github.com/facundomedica/fast_qr_reader_view.git
To be safe, you might want to investigate how to pull in a specific commit from a URL, just in case I change something later and break stuff.
I did notice that the example no longer worked for me if, with a Flutter error:
[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
You can either move the camera initialisation inside the initstate
method of the widget, or call
WidgetsFlutterBinding.ensureInitialized();
@SoftWyer Additional info to your answer. Pull the specific commit by adding "ref":
fast_qr_reader_view:
git:
url: git://github.com/SoftWyer/fast_qr_reader_view.git
ref: 9b360e868026ddf880570e8b458ec26879fc8edb
#url: git://github.com/facundomedica/fast_qr_reader_view.git
Hacky solution but might temporarily help someone.
The facundomedica-repo should definitely update firebase dependencies as well but it feels like this repo isn't maintained anymore. Might be worth creating a pull request anyways? If someone in the future decides to clone and create a new "official" version of this repo :)
Indeed this repo hasn't seen maintenance in a long time, I'll try to get back at it in the next few weeks; if I fail to do that I would like to give part ownership to someone that can make updates on it. That someone should be a company or at least a well known dev in the community, right?
Hello @facundomedica. Have you got any news about maintaining the package ? The package now overrides deprecated APIs and has numerous bugs in it (which you can tell by the issues). Just to know if we need to migrate elsewhere or we can keep trusting this package.
Hey everyone, just did a big refactor which fixes all of this. Hopefully it's not thaaat late 😅
Flutter Doctor:
Error from Debug Console:
Thanks for any direction on this issue.