objectbox / objectbox/objectbox-dart
Support HarmonyOS (platform: ohos)
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 162
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue asks about HarmonyOS (ohos) support for the Dart/Flutter database, with openStore and getApplicationDocumentsDirectory shown as entry points. Start by reviewing how these APIs handle platform support and the linked flutter_plus_plugins project; done would mean a clear HarmonyOS support plan or implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- database, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100