Git Product home page Git Product logo

platform.dart's Issues

New major version required

The removal of Platform.packageRoot urgently requires a new major version IMHO as also discussed in #38 because apps (transitively) depending on it might not build now with the latest flutter stable.

For example path_provider depends on platform via path_provider_platform_interface in the form of platform: ^3.0.0. If pub resolves this with 3.0.1 a build error will happen with Dart 2.16 (flutter stable) because dart:io's Platform.packageRoot got removed.

I'm sure there are more examples like this.

cc @mit-mit

usages examples?

As in title i think it will be useful to provide an example of the usage.

Error: Unsupported operation: Platform._operatingSystem

A lot of packages depend on this "platform" package. But this package causes error since the new version. This issue is already solved by the "universal platform" package. Isn't it possible to replace this package with that package or at least solve this error issue, which shows up now in almost every package, that I'm using for web

missing IpadOS platform

I found out that none of the platform libs have support for IpadOS.

I am currently using import 'dart:io' show Platform;
and tried out this lib.

Is there any prevision to add this? I could not find the dart:io Github, so I am opening an issue here, since it is plataform related.

Improve support of Dart SDK 2.0

The latest release of the Dart SDK (i.e. version 2.0.0-dev.69 at the time of writing) let us verify that a package and its dependencies are ready for the upcoming stable Dart 2 SDK (thanks to the _PUB_TEST_SDK_VERSION environment variable).

I've a project that depends on the platform package (v2.1.2), and there is an issue:

$ _PUB_TEST_SDK_VERSION=2.0.0 pub upgrade
Resolving dependencies... (9.3s)
The current Dart SDK version is 2.0.0.

Because my_project depends on platform >=1.0.1 which requires SDK version >=1.19.0 <2.0.0-dev.infinity, version solving failed.

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.