Commit graph

6 commits

Author SHA1 Message Date
ltadeu6
e4e960024d
Bump version to 0.1.1
Fix push notifications: PUSH_GATEWAY_URL was empty in v0.1.0 because
it was externalized to BuildConfig before android-signing-env exported it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 17:04:42 -03:00
ltadeu6
863cbb6b79
Externalize PUSH_GATEWAY_URL and clean up signing config
- Move PUSH_GATEWAY_URL from hardcoded constant to BuildConfig field,
  read from PUSH_GATEWAY_URL env var at build time
- Hardcode keyAlias="release" and remove storeType (PKCS12 is default),
  since these are fixed values in android-signing-env
- Remove unused okhttp3.Interceptor import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 16:34:24 -03:00
ltadeu6
d4b37437a3
Add release signing, fix release build, update README
- Configure release signing via environment variables (android-signing-env)
- Enable BuildConfig generation and guard HttpLoggingInterceptor to debug only
- Move okhttp.logging to implementation so release build compiles
- Update README: add E2EE, verification, push notifications, download link

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 16:21:07 -03:00
ltadeu6
de6386d614 Add push notifications via local sync loop and FCM
Local notifications:
- NotificationHelper posts per-room notifications from the sync loop
- Notifications suppressed when room is active (ChatScreen DisposableEffect)
- Deferred for encrypted rooms until room key arrives; fires with real body
- Notification tap navigates to the room via pendingRoomId StateFlow
- POST_NOTIFICATIONS permission requested at runtime (API 33+)

FCM push (app killed):
- MatrixFirebaseMessagingService handles token refresh and data messages
- Pusher registered with homeserver pointing to Cloudflare Worker gateway
- gateway/src/index.js: Cloudflare Worker forwards Matrix pushes to FCM v1 API
  using a service-account JWT signed with Web Crypto
- last_sync_token persisted in SharedPreferences so restored sessions start with
  an incremental sync and fire notifications immediately (fixes missed-on-wake bug)
- Default FCM notification channel declared in manifest

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 19:55:59 -03:00
ltadeu6
700289fef9 Add Nix shell and local 16KB-aligned Olm build 2026-05-16 15:59:41 -03:00
ltadeu6
71af5efc4e Initial commit 2026-05-14 23:22:06 -03:00