-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
1 - XS (<= 1 day)
-
1647
What happened?
Attempt to execute code removed by Dart AOT compiler (TFA)
Repro steps
await Realm.open(config). then Attempt to execute code removed by Dart AOT compiler (TFA)
Version
2.1.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
iOS 17.2
Code snippets
2.1.0 code
// final schemaVersion = switch (config)
;
// _realmLib.realm_config_set_schema_version(configHandle._pointer, schemaVersion);
2.0.0 code
_realmLib.realm_config_set_schema_version(configHandle._pointer, config is LocalConfiguration ? config.schemaVersion : 0);
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response