Skip to content

Latest commit

 

History

History
106 lines (71 loc) · 2.46 KB

README.md

File metadata and controls

106 lines (71 loc) · 2.46 KB

style: lint Master Integration Tests

Run locally

Create an .env with the example content

SERVER_KEY=Hu2J7b7xA8MndeNS
KEY_STORE=notifi-local
DEV=true
TLS=false
HOST=127.0.0.1:9081

Run the backend

git clone https://github.com/maxisme/notifi-backend
cd notifi-backend
docker-compose up --build app

Tests

Lint & Test

bash ./pre-commit.sh

Set screenshot asserts

bash ./test/set-asserts.sh

Extras

latest version iOS: http://itunes.apple.com/lookup?bundleId=it.notifi.notifi

Add pre-commit hook

ln -s $(pwd)/pre-commit.sh $(pwd)/.git/hooks/pre-commit

linux setup

install (e.g apt get) the build-packages and stage-packages from snapcraft.yaml

Get SNAPCRAFT_TOKEN for ci

snapcraft export-login --snaps notifi --channels stable,candidate -

Jetbrains flutter plugin:

https://plugins.jetbrains.com/plugin/9212-flutter/versions

GH .env secret to base64 string

cat .env | openssl base64

Create android icons

Follow Run Image Asset Studio. With the icon from ios/Runner/Assets.xcassets/AppIcon.appiconset/1024.png

$ flutter pub run flutter_native_splash:create

Add new icons

https://github.com/artcoholic/akar-icons-app/tree/main/src/svg

inkscape

    Select all
    Path -> Stroke to path
    Object -> Ungroup
    Path -> Union
    Path -> Combine
    File -> Vacuum Defs (or Clean up document)
    Save as -> Plain SVG

generate