realm / realm-dart-samples Goto Github PK
View Code? Open in Web Editor NEWSamples for Realm Flutter and Realm Dart SDKs
Samples for Realm Flutter and Realm Dart SDKs
I have cloned this repo and used the time_track example. The watch command doesn't update the console with added tasks, the realm.changes never notifies.
Running Mac OS Monterey 12.4
Can someone forward me to some examples of using encrypted realm with more than 2 models in it.
Thank you.
I hope i am on right place
Is there any plans to update this sample to run on the latest stable flutter version?
After cloning the repo and running the following in provider_shopper
:
flutter pub get
flutter run
I get the following output:
iOS
Xcode build done. 22.7s
[VERBOSE-2:shell.cc(242)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[VERBOSE-2:dart_isolate.cc(169)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(401)] Could not create root isolate.
[VERBOSE-2:shell.cc(571)] Could not launch engine with configuration.
Android
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk... 3.1s
E/flutter (14643): [ERROR:flutter/shell/common/shell.cc(242)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
E/flutter (14643): [ERROR:flutter/runtime/dart_isolate.cc(169)] Could not prepare isolate.
E/flutter (14643): [ERROR:flutter/runtime/runtime_controller.cc(401)] Could not create root isolate.
E/flutter (14643): [ERROR:flutter/shell/common/shell.cc(571)] Could not launch engine with configuration.
Downgrading to v2.0.6
works, however I've not tested any other versions.
Environment
Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d79295af24 (9 days ago) • 2021-06-11 08:56:01 -0700
Engine • revision 91c9fc8fe0
Tools • Dart 2.13.3
Hi, does the dart implementation of Realm support all the quering capabilities of other platforms (iOS, Android, etc)? For example could I find records in such a way:
Does this library currently support that level of querying capability? I realize we're still in BETA but the docs are rather lacking at the moment in regards to more complex examples. Unless I'm missing something =)
Thanks again for the great here!!
provide some more info about Realm Dart/Flutter SDK and using this repo in the main README.
Hello there,
I've tried to compile the provider_shopper sample code on windows but it yielded the following error:
` Launching lib\main.dart on Windows in debug mode...
CMake Error at flutter/ephemeral/.plugin_symlinks/realm/windows/CMakeLists.txt:35 (execute_process):
execute_process given unknown argument "COMMAND_ERROR_IS_FATAL".
Building Windows application...
Exception: Unable to generate build files `
Can anyone help me please?
Thanks
I have the latest android studio and flutter:
(base) jamesclarke@Jamess-Air provider_shopper % flutter --version
Flutter 3.10.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9cd3d0d9ff (9 days ago) • 2023-05-23 20:57:28 -0700
Engine • revision 90fa3ae28f
Tools • Dart 3.0.2 • DevTools 2.23.1
base) jamesclarke@Jamess-Air provider_shopper % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3.1 22E772610a darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
Fresh clone of this repo and attempted to run provider_shopper on the android emulator but it's failing:
(base) jamesclarke@Jamess-Air provider_shopper % flutter run -d emulator-5554
Using hardware rendering with device sdk gphone64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Realm binaries for [email protected] already downloaded
Realm install command finished.
FAILURE: Build failed with an exception.
Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @37aa9fdc
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 7s
Running Gradle task 'assembleDebug'... 8.4s
Exception: Gradle task assembleDebug failed with exit code 1
(base) jamesclarke@Jamess-Air provider_shopper %
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.