notifications
a push notification application for multiple platforms.
install flutter
https://flutter.dev/docs/get-started/install
flutter channel master
flutter upgrade
create .env with the content
code_endpoint=http://127.0.0.1:9081/code
server_key=hu2j7b7xa8mndens
ws_endpoint=ws://127.0.0.1:9081/ws
run the backend
maxisme/notifi-backend
cd notifi-backend
docker-compose up --build app
macos build & run
sudo xcode-select --switch /applications/xcode.app/contents/developer
sudo xcodebuild -runfirstlaunch
flutter doctor
flutter config --enable-macos-desktop
flutter build macos
flutter run -d macos
tests
lint & test
bash ./pre-commit.sh
set screenshot asserts
bash ./test/set-asserts.sh
extras
add pre-commit hook
ln -s $(pwd)/pre-commit.sh $(pwd)/.git/hooks/pre-commit
chmod +x $(pwd)/.git/hooks/pre-commit
fastlane
provision profiles
fastlane sigh -p macos
fastlane sigh -p ios
jetbrains flutter plugin:
https://plugins.jetbrains.com/plugin/9212-flutter/versions
db path
~/library/containers/uk.me.max.notifi/data/documents/notifications.db
gh .env secret to base64 string
cat .env | openssl base64
Comments are closed.