GithubHelp home page GithubHelp logo

c-breez's Introduction

Build Android workflow Build iOS workflow CI workflow

c-Breez (Breez powered by Greenlight)

c-Breez is a migration of Breez mobile app to the Greenlight infrastructure.

๐Ÿ“– Read the introduction post

Powered by Breez SDK & Greenlight

Build

Build the lightning_tookit plugin

c-Breez depends on Breez sdk-flutter plugin, so be sure to follow those instructions first.

After succesfully having build the sdk-flutter make sure that breez-sdk and c-breez are side by side like so:

breez-sdk/
โ”œโ”€ libs/
โ”‚  โ”œโ”€ sdk-flutter/
โ”œโ”€ tools/
โ”œโ”€ LICENSE
โ”œโ”€ README.md
c-breez/
โ”œโ”€ android/
โ”œโ”€ ios/

Add firebase config files

c-breez depends on google services and requires a configured firebase app.

To create your firebase app follow the following link create-firebase-project.

After creating the app follow the instructions to create the specific configuration file for your platform:

  • For android - place the google-services.json in the android/app folder
  • For iOS - place the GoogleService-info.plist under ios/Runner folder

Android

flutter build apk

iOS

flutter build ios

Run

flutter run

Test

A testing framework for this project is being developed here.

Integration tests

flutter test integration_test -d <<device id>>

Contributors

Pre-commit dart format with Lefthook

Lefthook is a Git hooks manager that allows custom logic to be executed prior to Git commit or push. c-Breez comes with Lefthook configuration (lefthook.yml), but it must be installed first.

Installation

  • Install Lefthook. See installation guide.
  • Run the following command from project root folder to install hooks:
$ lefthook install

Before you commit your changes, Lefthook will automatically run dart format.

Skipping hooks

Should the need arise to skip pre-commit hook, CLI users can use the standard Git option --no-verify to skip pre-commit hook:

$ git commit -m "..." --no-verify

There currently is no Github Desktop support to skip git-hooks. However, you can run:

$ lefthook uninstall

to clear hooks related to lefthook.yml configuration before committing your changes.

Do no forget to run lefthook install to re-activate pre-commit hook.

$ lefthook install

Troubleshooting

For troubleshooting, please check the troubleshooting.md file

c-breez's People

Contributors

ademar111190 avatar erdemyerebasmaz avatar kingonly avatar ok300 avatar roeierez avatar ubbabeck avatar yaslama avatar

Watchers

 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.