Uploaded image for project: 'Realm Dart SDK'
  1. Realm Dart SDK
  2. RDART-1074

Create an example for compiling and deploying a Dart-only app that uses realm

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Problem

      I don't know how to compile the application as an executable and distribute it.

      I have a dart-only server that uses realm,
      previously I was on version 1.9.0 and when trying to compile it, it was complaining about the plugin library being accessed outside of flutter (I am sure I was using realm_dart package)

      now I upgraded to 3.3.0, hoping that would solve the problem, but now It depends on .dart_tools/package_config.json

      Bad state: Could not find package_config.json
      #0      _getPackageConfigJson (package:realm_dart/src/handles/native/init.dart:78)
      #1      _openRealmLib (package:realm_dart/src/handles/native/init.dart:114)
      #2      initRealm (package:realm_dart/src/handles/native/init.dart:157)
      

      I don't know what I am supposed to do now

      Solution

      I was hoping you could provide a section in the docs or quick start or something to show how to compile/deploy a server or a CLI application step-by-step

      Alternatives

      No response

      How important is this improvement for you?

      Dealbreaker

      Feature would mainly be used with

      Atlas Device Sync

            Assignee:
            kasper.nielsen@mongodb.com Kasper Nielsen (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Archiver:
            marc.greenfield@mongodb.com Marc Greenfield

              Created:
              Updated:
              Archived: