Code Monkey home page Code Monkey logo

flutter_device_locale's People

Contributors

achernoprudov avatar avbk avatar bratan avatar ewertonrp avatar michaelmarner avatar proninyaroslav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter_device_locale's Issues

Installing 0.3.2 fails looking for a Kotlin implementation

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:

flutter/flutter#42923

Thanks

Web and desktop support?

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.

Run Pod Install Failed

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.

Unable to compile on iOS

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

null safety

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!

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.