A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mongodb/template-app-dart-flutter-todo below:

GitHub - mongodb/template-app-dart-flutter-todo: Atlas Template Starter App

A todo list application built with the Atlas Device SDK for Flutter and Atlas Device Sync.

TIP: Follow along with the Flutter Tutorial to see how to build, modify, and run this template app.

Warning

As of September 2024, Atlas Device SDKs are deprecated. Atlas Device SDKs will reach end-of-life and will no longer be maintained by MongoDB on September 30, 2025.

The template app in this repository should only be used as a reference for the on-device database and not to create a new app based on Device Sync. Refer to the deprecation page for details.

You can get started with this template app in two ways:

Create a Template App from the App Services UI or CLI (Recommended)

The easiest way to work with this template app is to create a new App Services App based on this Flutter template. The app is configured to run this client as a Real-Time Sync demo and comes pre-populated with the correct values for your app.

You're all set with a pre-configured app that's ready to run!

If you choose to clone this project from GitHub, you can use it with an existing App Services App or you can create a new one. The only requirement is that your app has Device Sync enabled.

  1. Clone the GitHub mongodb/template-app-dart-flutter-todo repository.
  2. If you don't already have an App Services App, create an App with Device Sync enabled. This is the backend that you'll configure to use with this client template.
  3. Note your App ID, Project ID, and cluster name. You'll need it in the next step.
Configure Your App with this Client Template
  1. Open your /assets/config/atlasConfig.json file. It should contain the following:

  2. Update with the values for your app:

  1. Navigate to the project.
  2. Run flutter pub get
  3. Run the app:

For more information on running a Flutter app, refer to the Flutter Test Drive documentation.

Once you're up and running, you can get started building on this template.

Or you can follow along with the Flutter Tutorial to learn how to build on top of this template app.

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'String'

This error occurs if the dataExplorerLink field in your /assets/config/atlasConfig.json is invalid.

To resolve it, ensure the dataExplorerLink field is populated with the correct project ID and cluster name values.

NOTE: If you used the Flutter template app, then this field should have been pre-populated with the correct URL.

Please report issues with the template at https://github.com/mongodb-university/realm-template-apps/issues/new.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4