parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
575 stars 186 forks source link

Building Web application failed #947

Closed xfqwdsj closed 1 year ago

xfqwdsj commented 1 year ago

New Issue Checklist

Issue Description

Building Web application failed.

Steps to reproduce

  1. Updating SDK to the latest 5.1.1
  2. Updating CoreStoreSembastImp to CoreStoreSembast (API changes not included in the changelog)
  3. Building Web app

Actual Outcome

Building succeeded.

Expected Outcome

Building failed.

In 5.0.1, the build can be successful.

Environment

Parse Flutter SDK

Logs

Error: The method 'dbDirectory' isn't defined for the class 'CoreStoreDirectory'.
 - 'CoreStoreDirectory' is from 'package:parse_server_sdk_flutter/src/storage/core_store_directory_web.dart' ('/opt/hostedtoolcache/flutter/stable-3.10.5-x64/.pub-cache/hosted/pub.dev/parse_server_sdk_flutter-5.1.1/lib/src/storage/core_store_directory_web.dart').
        await CoreStoreDirectory().dbDirectory(),
                                   ^^^^^^^^^^^
Error: Compilation failed.
parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

keanallen commented 1 year ago

Hi, any updates on this? I'm having the same issue when running my app into chrome browser. My app will support 3 platforms: Web, android, iOS