Skip to content

[Bug]: Update from V10 to V11 is not keeping existing user database #1116

@Picao84

Description

@Picao84

Describe the bug 🐞

I have updated to V11 and while it finally works on MAUI on Android, it is not using the same database location used by V10. This is not an app with a cloud backend, so users will lose all their data! Can confirm the appName is exactly the same in both V10 and V11 code.

Step to reproduce

1 - Create an app with V10 and a simple CacheDatabase.UserAccount with a test object with one property with key "test".
2 - Launch the app and update the property value.
2 - Update the app with V11 and load data: it throws KeyNotFoundException.
3 - Reinstall the app with V10 and see that the test object is actually still there.

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

V11 should pick up existing data from V10...

Screenshots 🖼️

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

No response

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions