jesway / flutter_device_locale Goto Github PK
View Code? Open in Web Editor NEWA Flutter plugin for retrieving the device locale information.
License: Other
A Flutter plugin for retrieving the device locale information.
License: Other
Hi there
I'm a user of flutter_translate, which depends on this package. Since 0.3.2, installation of this package has failed with the following error:
Couldn't read file LocalFile: '~/.pub-cache/hosted/pub.dartlang.org/flutter_device_locale-0.3.2/android/src/main/kotlin/com/jesway/flutter_device_locale/FlutterDeviceLocalePlugin.kt' even though it exists. Please verify that this file has read permission and try again.
exit code 1
Explicitly requiring 0.3.1 makes this error go away.
There is a similar issue with another package here:
Thanks
This package is not support the migration of null-safety! Can you make it ?
I try to use flutter_translate package which depend on this plugin, I hope it can support web and/or desktop support. Then a lot of devices can use this package.
When I Run Pod Install the following issue: (use latest version 0.3.4+1)
flutter_device_locale
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set. Please contact the author or set the SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.The version on pub.dev is 0.4.0 the version in github is 1.1.0, would it be possible update the copy on pub.dev.
Thanks
Hi I just noticed that, this plugin does not compile on flutter swift projects.
Running pod install... 1.5s
Running Xcode build...
Xcode build done. 2.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/x/y/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_device_locale-0.3.4+1/ios/Classes/FlutterDeviceLocalePlugin.m:2:9: fatal error:
'flutter_device_locale/flutter_device_locale-Swift.h' file not found
#import <flutter_device_locale/flutter_device_locale-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
Hi,
I was wondering if you'd any time to move this null-safety or if you'd like a PR. I'm glad to work on one later and send it your way.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.