Comments (6)
Models.Device
already imports Realm transitively, so unless you project that into a view model, you're still ending up with a Realm dependency.
In any case, I've tried creating a simple project (I only built it in release, haven't packaged it in MSIX) and can't reproduce the behavior - can you create a repro case that we can use to further investigate.
from realm-dotnet.
I tried packaging a simple WPF app in MSIX and wasn't able to repro the issue you're describing. I've attached a zipped version of the project I created - I can package that, install it, and it works as expected - clicking the "Add item" button will immediately update the listview. If you can confirm whether it works for you and/or modify it so that it reproduces the problem, I can continue looking into it.
from realm-dotnet.
How is DeviceList
populated and stored on the DataService
object? Additionally, is there a reason why you're copying the objects from Realm into the observable collection? Why not just use the realm collection directly?
from realm-dotnet.
➤ PM Bot commented:
Jira ticket: RNET-1144
from realm-dotnet.
The DeviceList
on the DataService
is populated and stored by calling the AddDevice()
from the DeviceManager
class, which detects devices.
The reson why did not use IRealmCollection is because I don't want the ViewModel import Realm. But I've also tried with realm collection and the problem persists.
from realm-dotnet.
Thanks, I got it.
It only occurs after being packaged into an MSIX installer. During the development, build in either debug or release works fine. It's only when packaging it into an MSIX for the client that this issue arises.
from realm-dotnet.
Related Issues (20)
- Realm.DeleteRealm() creates lock file if Realm doesn't exist HOT 2
- Change passing of tests on CI HOT 3
- Very slow deletion, multiple objects HOT 9
- Add tests for sync schema migration HOT 1
- Fix equality comparison for collections in mixed HOT 1
- Realm Obfuscation (Unity + Local Database) HOT 16
- Add tests for notifications with collections in mixed HOT 1
- Fix `SyncMigrationTests.Migration_FailsWithFutureVersion` HOT 1
- Follow up on progress notification HOT 1
- App.CurrentUser doesn't become `null` after anonymous user logout HOT 2
- Compacting a Realm results in an upgrade prompt in Realm Studio HOT 1
- Encrypted Realm created on Android won't open on Windows HOT 5
- Trying to open a particular Realm DB file throws the following exception - "Upgrading from file format version 22 to 24 D:\a\realm-dotnet\realm-dotnet\wrappers\realm-core\src\realm/util/encrypted_file_mapping.hpp:180: [realm-core-14.5.1] Assertion failed: local_ndx < m_page_state.size() with (local_ndx, m_page_state.size(), size_t(addr), size_t(m_addr), m_page_shift) = [85, 1, 2331762327552, 2331762294784, 16] <backtrace not supported on this platform>" HOT 9
- SDKs should not consume stitch_ prefixed fields HOT 1
- Error when trying to migrate IList data type with DynamicApi.GetList HOT 6
- Add support for Migration.FindInNewRealm HOT 1
- RealmResults (from Realm live queries) no longer notify UI observers HOT 5
- ToDictionary(Tkey, Filter) not filter HOT 3
- Other meessage when try add Apikey to anonymous user HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-dotnet.