Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server and the Parse Flutter SDK.
Issue Description
i am getting this
../../AppData/Local/Pub/Cache/hosted/pub.dev/idb_shim-2.3.2/lib/src/sembast/sembast_factory.dart:97:11: Error: 'DatabaseException' is imported from both 'package:idb_shim/src/database_exception.dart' and 'package:sembast/src/api/exception.dart'.
throw DatabaseException('getDatabaseNames not supported');
^^^^^^^^^^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dev/idb_shim-2.3.2/lib/utils/idb_import_export.dart:9:1: Error: 'Database' is imported from both 'package:idb_shim/idb.dart' and 'package:sembast/src/api/v2/database.dart'.
import '../idb_client.dart';
^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dev/idb_shim-2.3.2/lib/src/sembast/sembast_factory.dart:10:1: Error: 'Database' is imported from both 'package:idb_shim/idb.dart' and 'package:sembast/src/api/v2/database.dart'.
import 'package:sembast/sembast_memory.dart';
^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dev/idb_shim-2.3.2/lib/src/sembast/sembast_factory.dart:97:11: Error: 'DatabaseException' is imported from both 'package:idb_shim/src/database_exception.dart' and 'package:sembast/src/api/exception.dart'.
throw DatabaseException('getDatabaseNames not supported');
^^^^^^^^^^^^^^^^^
heres my pubspec
description: "A new Flutter project."
The following line prevents the package from being accidentally published to
pub.dev using flutter pub publish
. This is preferred for private packages.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.6.2
dependencies:
flutter_screenutil: ^5.9.3
google_fonts: ^4.0.4
parse_server_sdk_flutter: ^9.0.0
skeletonizer: ^1.4.3
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
dev_dependencies:
flutter_test:
sdk: flutter
Steps to reproduce
Running a flutter web project with the flutter package 3.27.4, import the parse sdk flutter package
Actual Outcome
that error illustrated above. it doesnt run
Expected Outcome
it is meant to run without the error.
Environment
flutter sdk 3.27.4,
dart version 3.6.2
Parse Flutter SDK
- SDK version: ^9.0.0
- Flutter version: 3.27.4
- Dart version: 3.6.2
- Operating system version: WIndows 10
Server
- Parse Server version:^9.0.0