Giter Club home page Giter Club logo

moewe_dart's Introduction

mœwe | dart client

this is a development preview of the dart moewe client.

moewe is a open source, privacy preserving crash logging service that can be self-hosted.

motivation

During foss development, I always wished there was a simple platform for crash reporting and knowing roughly how many people are using the software. mœwe aims to be exactly this without the privacy concerns of the large analytics solutions. I hope this is useful to you.

yours, Robin

find more information at moewe.app

features

  • crash logging
  • event logging
  • user feedback collection
  • live config via feature flags
  • includes simple UI components for simple integration
  • let users know about new app versions

usage

initialize the client within your Flutter applications main.dart

void main() async {

  // setup Moewe for crash logging
  await Moewe(
    host: "open.moewe.app",
    project: "yourProjectId",
    app: "yourAppId"
  ).init();

  runApp(const MyApp());
}

That's it 🎉

you can now use the moewe client within your app:

moewe.events.appOpen();
moewe.log.debug("this is a debug message");
moewe.crash("an error occurred", null);

// report user feedback
showFeedbackPage(...)  // use package UI
moewe.feedback(...);   // manually

// get flag value from server
moewe.config.flagString("fav_food");

// other UI components:
MoeweUpdateView
moeweUpdateWrapper(...)


crash logging

global crash logging is automatically enabled.

You can manually log crashes using:

  1. the moewe.crash(...) function.
  2. wrapping (possibly async) content with
    moewe.crashLogged(() async {...}).

moewe_dart's People

Watchers

Robin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.