Initial commit: Alfred Mobile - AI Assistant Android App

- OAuth authentication via Authentik
- WebSocket connection to OpenClaw gateway
- Configurable gateway URL with first-run setup
- User preferences sync across devices
- Multi-user support with custom assistant names
- ElevenLabs TTS integration (local + remote)
- FCM push notifications for alarms
- Voice input via Google Speech API
- No hardcoded secrets or internal IPs in tracked files
This commit is contained in:
2026-02-09 11:12:51 -08:00
commit 6d4ae2e5c3
92 changed files with 15173 additions and 0 deletions

65
CHANGELOG-v1.1.13.md Normal file
View File

@@ -0,0 +1,65 @@
# Alfred Mobile v1.1.13 - Assistant Name Customization
**Release Date:** 2026-02-08
## New Features
### Assistant Name Customization
Users can now customize what the assistant calls itself (e.g., "Alfred", "Jarvis", "Friday", etc.) without changing the app package name.
## Implementation Details
### 1. Settings Dialog Enhancement
**File:** `app/src/main/java/com/openclaw/alfred/ui/screens/MainScreen.kt`
Added a new "Assistant Name" setting in the Settings Dialog:
- Text field for custom assistant name
- Saves to SharedPreferences (`alfred_settings`)
- Default value: "Alfred"
- Appears before Voice Selection section
### 2. Notification Title Updates
**File:** `app/src/main/java/com/openclaw/alfred/service/AlfredConnectionService.kt`
Updated all notification methods to use custom assistant name:
- Added `getAssistantName()` helper method
- Updated `createNotification()` to use custom name
- Updated `updateNotification()` to use custom name
- Updated `startForegroundService()` to use custom name
### 3. Chat Message Display
**File:** `app/src/main/java/com/openclaw/alfred/ui/screens/MainScreen.kt`
Updated message display logic:
- Added state variable for assistant name at MainScreen scope
- Modified `onMessage()` callback to replace "Alfred" sender with custom name
- TTS and conversation mode continue to work with "Alfred" as internal identifier
### 4. Version Update
**File:** `app/build.gradle.kts`
- Version code: 14 → 15
- Version name: 1.1.12 → 1.1.13
## Testing Checklist
✅ Setting appears in Settings dialog
✅ Custom name saves to SharedPreferences
✅ Notification title updates with custom name
✅ Chat messages show custom sender name
✅ Wake word detection still works
✅ TTS functionality still works
✅ Name persists across app restarts
✅ APK builds successfully
✅ APK deploys to tablet
## Deployment
- **Tablet APK:** Installed via wireless ADB to `adb-R52R30ASB4Y-BIkpas._adb-tls-connect._tcp`
- **Phone APK:** Copied to `/mnt/c/users/shado/alfred-mobile-v1.1.13.apk` (94 MB)
## Notes
- Internal references to "Alfred" remain unchanged (for backend compatibility)
- Only display names are affected (notifications, chat UI)
- Setting is stored in `alfred_settings` SharedPreferences
- Preference key: `assistant_name`