Skip to content
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

Unsupported operation: Could not load ObjectBox core dynamic library. Platform: ohos #698

Open
zhouzhuo810 opened this issue Dec 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zhouzhuo810
Copy link

zhouzhuo810 commented Dec 5, 2024

import 'package:path/path.dart' as p;
import 'package:path_provider/path_provider.dart';

import '../objectbox.g.dart';

class ObjectBox {
  late final Store store;

  ObjectBox._create(this.store) {
    // Add any additional setup code, e.g. build queries.
  }

  static Future<ObjectBox> create() async {
    final store = await openStore(
        directory: p.join(
            (await getApplicationDocumentsDirectory()).path, "test"));
    return ObjectBox._create(store);
  }
}

Do you have any plans to adapt the HarmonyOS platform?

[https://gitee.com/openharmony-sig/flutter_plus_plugins)](https://gitee.com/openharmony-sig/flutter_plus_plugins

@zhouzhuo810 zhouzhuo810 added the bug Something isn't working label Dec 5, 2024
@greenrobot-team greenrobot-team added enhancement New feature or request and removed bug Something isn't working labels Dec 9, 2024
@greenrobot-team
Copy link
Member

Thanks for the request. As Flutter does not support it, the ObjectBox package will likely not support it either.

For anyone else affected or interested, it helps us prioritize issues if you thumbs up the first post (GitHub can sort issues by thumbs ups)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants