Closed H4kt closed 2 months ago
➤ PM Bot commented:
Jira ticket: RKOTLIN-1066
This is not an issue with realm, but merely an issue with Compose not putting the resources in platform standard locations as expected by the SDK. It isn't feasible for us to depend on Compose just for the sake of this. We can maybe hope that this will be extracted into a bare non-Compose KMP feature. Alternative you could try to file an issue for Compose to place the resource files where the normal platform frameworks are able to find them.
How frequently does the bug occur?
Always
Description
Compose multiplatform 1.6.0 introduced native support for resources Placing a realm file into
composeResources/files
and then using it in a real configuration via.initialRealmFile("...")
results in an error that asset file is not foundStacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
composeResources/files
.initialRealmFile("...")
Version
1.14.1
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android
Build environment
Android Studio version: 2023.2.1 Android Build Tools version: agp 8.2.2 Gradle version: 8.4