April 15, 2021

212 words 1 min read

robertodoering/harpy

robertodoering/harpy

A Twitter app built with Flutter

repo name robertodoering/harpy
repo link https://github.com/robertodoering/harpy
homepage
language Dart
size (curr.) 30131 kB
stars (curr.) 361
created 2018-10-28
license BSD 3-Clause “New” or “Revised” License
Home User profile Theme selection
Home screen User profile Theme selection

About

This project aims to provide a good example for a medium-big sized Flutter app in hopes that it will be useful for some.

Some interesting features of the app include:

  • flutter_bloc for the main state management.
  • get_it as a service provider that includes the ability to navigate and to show on screen messages from anywhere in the app.
  • firebase_analytics for analytics.
  • sentry as an online error tracking service where users can send a crash report when an exception has not been handled in the app.
  • Fully featured theme customization.
  • Fully featured video player using the video_player package.
  • A ‘pro’ and ‘free’ android product flavor.

Development / Setup

Harpy is being released in the Play Store for Android, therefore only Android devices are used for testing the builds.

Twitter API key

Get your Twitter API key here.

Building

The app can be built with the “free” or “pro” flavor by running:

  • flutter run --flavor free --dart-define=flavor=free --dart-define=twitter_consumer_key=your_consumer_key --dart-define=twitter_consumer_secret=your_consumer_secret
  • flutter run --flavor pro --dart-define=flavor=pro --dart-define=twitter_consumer_key=your_consumer_key --dart-define=twitter_consumer_secret=your_consumer_secret

Misc

To generate json_serializable models:

  • flutter packages pub run build_runner build
comments powered by Disqus