Skip to content

udsm-dhis2-lab/d2-touch

Repository files navigation

DHIS2 Flutter SDK

Introduction

DHIS2 Flutter SDK is a library that abstracts the complexity of interacting with DHIS2 web api. It aims to be an starting point to build Flutter apps for DHIS2, covering some tasks that any Flutter app should implement, like metadata and data synchronization.

Main goals:

  • Abstract DHIS2 web api. There is no need to perform api queries against the server. The SDK includes methods to interact with the web api.
  • Work offline. It implements a simplified version of DHIS2 model that is persisted in a local database (SQLite). It ensures that all the metadata required to perform data entry tasks is available at any time to build the data entry forms. Data is saved locally and upload to the server when connectivity is available.
  • Ensure DHIS2 compatibility. It encapsulates the changes between DHIS2 versions so the app does not have to care about them. In case the SDK introduces some changes to accommodate a new DHIS2 version, the app can safely detect these changes at compile-time.

Documentation

Developer-oriented documentation can be found in Documentation section in DHIS2 web. It is intended to be used by developers.

Contributing

Contributing Guidelines

Read through our [contributing guidelines][contributing] to learn about our submission process, coding rules and more.

Want to Help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for [contributing][contributing].

Code of Conduct

Help us keep DHIS2 Flutter SDK open and inclusive. Please read and follow our [Code of Conduct][codeofconduct].

Community

Join the conversation and help the community.