Skip to content

[Impotant] package_info_plus not work in web #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mbfakourii opened this issue Apr 6, 2022 · 3 comments
Closed

[Impotant] package_info_plus not work in web #714

mbfakourii opened this issue Apr 6, 2022 · 3 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mbfakourii
Copy link
Member

mbfakourii commented Apr 6, 2022

hi in new version flutter package_info_plus 1.0.0 is not work in web please update package_info_plus to version 1.4.2

package_info_plus: ^1.0.0 # only used in the flutter part

../../flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_windows-1.0.5/lib/src/package_info_plus_windows.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/src/utf8.dart:6:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/src/utf16.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.5.1/lib/src/callbacks.dart:9:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.5.1/lib/src/constants.dart:9:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';

use in package in

final PackageInfo packageInfo = await PackageInfo.fromPlatform();

version

Flutter 2.10.4
Dart 2.16.2
DevTools 2.9.2

widnows 11
parse_server_sdk_flutter: ^3.1.0

@parse-github-assistant
Copy link

parse-github-assistant bot commented Apr 6, 2022

Thanks for opening this issue!

  • ❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.

@mtrezza mtrezza added type:bug Impaired feature or lacking behavior that is likely assumed state:needs-investigation labels Apr 13, 2022
@RodrigoSMarques
Copy link
Contributor

RodrigoSMarques commented Apr 25, 2022

It is in the process of being updated and will be released in the next few days.

Please test and get back if it's ok.

In pubspec.yaml, make the changes below.

  #parse_server_sdk_flutter: ^3.1.0
  parse_server_sdk_flutter:
    git:
      url: https://github.com/RodrigoSMarques/Parse-SDK-Flutter.git
      ref: development
      path: packages/flutter

@mbfakourii
Copy link
Member Author

@RodrigoSMarques

It works, thanks

@mtrezza mtrezza closed this as completed Apr 25, 2022
@RodrigoSMarques RodrigoSMarques mentioned this issue May 2, 2022
5 tasks
@mtrezza mtrezza reopened this May 30, 2022
@mtrezza mtrezza linked a pull request May 30, 2022 that will close this issue
5 tasks
RodrigoSMarques added a commit to RodrigoSMarques/Parse-SDK-Flutter that referenced this issue Jun 2, 2022
### Bug Fixes
* Old version of connectivity_plus package ([parse-community#717](parse-community#717))
* package_info_plus not work in web ([parse-community#714](parse-community#714))
* MissingPluginException (No implementation found for method getAll) ([parse-community#712](parse-community#712))
* Query fails for subclassed Parse object in Parse relation ([parse-community#697](parse-community#697))
* ParseRelation#query - Unhandled Exception: type 'ParseObject' is not a subtype of type ([parse-community#696](parse-community#696))
* Error in progressCallback ([parse-community#679](parse-community#679))
* first: Correct return type ([parse-community#661](parse-community#661))
* ParseLiveListWidget MongoError ([parse-community#653](parse-community#653))

* General improvements
* Updated dependencies
* Fix Label Platform Web Support in pub.dev - Refactor path_provider access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants