• Mahmoud Aglan's avatar
    feat(native): sign-in with the phone's account, and real push notifications · 41052e7e
    Mahmoud Aglan authored
    For the rebuilt native app (root/el3ab-mobile):
    - api/auth.php id_token: sign in with a Google or Apple ID token from the
      phone (GoTrue grant_type=id_token), instead of a web redirect Google
      refuses inside a WebView.
    - Push through FCM HTTP v1 (includes/push.php): every notifications row is
      queued in push_outbox by a trigger, whoever wrote it (this app, the
      manager, SQL functions), and sent to the player's phones; challenges and
      chat messages queue a push of their own. Sent right after the request
      that made them (a fire-and-forget call to api/push.php dispatch) and by
      the scheduler every minute; dead tokens are dropped. api/push.php keeps
      the phones (register / unregister) and sends a test for the manager.
      The Firebase service account lives in platform_secrets (service only),
      set from the manager.
    - The web bridge reports every refreshed session to the shell, asks for the
      native sign-in when the login screen opens inside the app, routes tapped
      pushes (tournament, chat, challenge), and answers the back button. The
      CSS that hid the web tab bar for a native bar is gone.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    41052e7e
Name
Last commit
Last update
..
2026-10-19-award-coins-type.sql Loading commit data...
2026-10-19-backgammon-online.sql Loading commit data...
2026-10-19-ludo-queue-player-count.sql Loading commit data...
2026-10-25-complete-match-level.sql Loading commit data...
2026-10-25-domino-tables.sql Loading commit data...
2026-10-25-ghost-profiles.sql Loading commit data...
2026-10-25-group-chat-privacy.sql Loading commit data...
2026-10-25-match-invites.sql Loading commit data...
2026-10-25-match-presence.sql Loading commit data...
2026-10-25-social.sql Loading commit data...
2026-10-26-ad-tracking.sql Loading commit data...
2026-10-26-complete-match-results.sql Loading commit data...
2026-10-26-game-config-keys.sql Loading commit data...
2026-10-26-manager-columns.sql Loading commit data...
2026-10-26-manager-orgs.sql Loading commit data...
2026-10-26-org-player-api.sql Loading commit data...
2026-10-26-org-unify.sql Loading commit data...
2026-10-26-profiles-guard.sql Loading commit data...
2026-10-26-redeem-followups.sql Loading commit data...
2026-10-26-redeem-functions.sql Loading commit data...
2026-10-26-redeem-tournament-reasons.sql Loading commit data...
2026-10-26-redeem.sql Loading commit data...
2026-10-26-season-progress.sql Loading commit data...
2026-10-26-security-lockdown.sql Loading commit data...
2026-10-26-tournament-economy.sql Loading commit data...
2026-10-26-tournament-rounds-rls.sql Loading commit data...
2026-10-27-comms-fixes.sql Loading commit data...
2026-10-27-disconnect-rules.sql Loading commit data...
2026-10-27-hosting-bracket.sql Loading commit data...
2026-10-27-hosting-engine.sql Loading commit data...
2026-10-27-hosting-prizes.sql Loading commit data...
2026-10-27-hosting-registration.sql Loading commit data...
2026-10-27-hosting-schema.sql Loading commit data...
2026-10-27-player-activity.sql Loading commit data...
2026-10-27-push.sql Loading commit data...
2026-10-27-test-accounts.sql Loading commit data...
2026-10-27-tournaments-grants.sql Loading commit data...