Open Akul2010 opened 2 years ago
The app hasn't been tested with flutter 2.x and 3.x, and dart:ffi
changed its API in 2.x so this is expected. Contributions to fix the same are welcome
I don't recall seeing any usage of dart:ffi
in the code. Can you please specify where it is used exactly?
I don't recall seeing any usage of
dart:ffi
in the code. Can you please specify where it is used exactly?
**_/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'.
- 'Utf8' is from 'package:ffi/src/utf8.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String toString() => fromUtf8(addressOf);_**
I think that @gargakshit is referring to this block of code
Might be a transitive dependency. I do not recall a direct use of dart:ffi
This error occurs also while building for linux. I think that many/all dependencies should be updated, which could solve the problem and up-to-date dependencies are never bad.
These are breaking changes and upgrading would be a huge undertaking. I, unfortunately, do not have the time and energy to do that. Although you are welcome to do it and send a PR
These are breaking changes and upgrading would be a huge undertaking. I, unfortunately, do not have the time and energy to do that. Although you are welcome to do it and send a PR
I've tried, but I started replacing dependency-pinns with any
, but the dependency-issues kept going and going. I honestly would love to help you, but unfortunately not really with dart/flutter.
These are breaking changes and upgrading would be a huge undertaking. I, unfortunately, do not have the time and energy to do that. Although you are welcome to do it and send a PR
I've tried, but I started replacing dependency-pinns with
any
, but the dependency-issues kept going and going. I honestly would love to help you, but unfortunately not really with dart/flutter.
any
won't work as most dependencies had a major upgrade which breaks the API
Maybe try switching dependencies? For example, we could use local_auth. I usually use that library.
Maybe try switching dependencies? For example, we could use local_auth. I usually use that library.
That would be a bigger change than upgrading the existing dependencies. Also local_auth
doesn't fit the usecase.
what version of flutter should i use in order to build this?
flutter 1.x i believe
The app hasn't been tested with flutter 2.x and 3.x
When I tried converting the code to an .apk file, it wouldn't work. Instead, it showed this:
Please do help with this.
Thank you.