Closed asimjawad closed 3 years ago
Ah. Got it. You trying to run it on android, right? The instructions in readme isn't exactly accurate for android. I need to update that.
Problem: Some binaries are missing that aren't committed to git. Solution:
dart run tool/get_mobile_binaries.dart androidarm64-v8a
cronet_sample:
path: <cloned_repo_path>
That's it. All good to go.
Then you can use it as you like. You do NOT need to run those flutter pub run cronet_sample <platform>
Let me know how it goes. Thank you and all the best.
@asimjawad I'm including the binaries in the latest commit. So, you don't have to do anything written above :smile: . Just do flutter pub get
after adding it as git dependency and you're all good to go.
thanks mate..
@asimjawad Hey, you can check google/cronet.dart & my fork for a lot more polished, stable and maintained code. These repositories are polished version of this repo. I'm keeping this repo for experiments and PoC only. :smiley: Anyone is invited to colab with this platform.
Flutter Support will be made available shortly via https://github.com/google/cronet.dart/issues/5
v0.0.1 of the package is available on pub.dev. Only a subset of the whole api is exposed at this moment. We'll roll out others very shortly.
Being one of the early adopters I'm notifying you about these changes :smile: Hope it works out good and looking for feedbacks.
I am trying to add this in a project and i am getting this error