Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion mobile-app/sapot-mobile-app/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ EXPO_PUBLIC_DEBUG_MENU=
# DebugAuthService.loginAs(). Debug-menu only; never set in a production build.
EXPO_PUBLIC_QA_API_TOKEN=

EXPO_PUBLIC_API_URL=
EXPO_PUBLIC_SERVER_VERIFY_KEY=
APP_VARIANT=
SERVER_CERT=
Expand Down
10 changes: 10 additions & 0 deletions mobile-app/sapot-mobile-app/docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,16 @@ If the onboarding SMS is rejected, the endpoint preserves the gateway error and

---

### `POST /gsm/request` — Request Phone Verification OTP
**Auth:** Required

**Request body:**
```json
{ "phone_number": "string" }
```

---

### `POST /gsm/verify` — Verify Phone Code
**Auth:** Required

Expand Down
6 changes: 3 additions & 3 deletions mobile-app/sapot-mobile-app/docs/CONNECTION_MESSAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ may not be a registered peer.
| `ping` | | | ✓ |
| `pong` | | | ✓ |
| `profile-info` | ✓ | ✓ | |
| `server-ack` | | ✓ | |
| `get-active-users` | | ✓ | |
| `public-chat` | | ✓ | |
| `server-ack` | ✓ | | |
| `get-active-users` | ✓ | | |
| `public-chat` | ✓ | | |

> **WebSocket** messages are server-relayed. **TCP** messages are direct peer-to-peer. WebSocket uses `from_user`; TCP uses `from`.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ export default appSchema({
type: "boolean",
isOptional: true,
},
{
name: "phone_number_verified",
type: "boolean",
isOptional: true,
},
{
name: "role",
type: "string",
Expand Down
Loading