Files
SilverDROID/config.example.json
SysAdmin d173c08a0c Add remote configuration support and fix app name
Features:
- Fixed app name from "Dark Side Admin" to "SilverDROID"
- Added remote configuration loader with AppStore integration
- Support for user-specific configurations
- Bearer token authentication for secure config retrieval
- Automatic fallback to local config if remote fails
- Remote config refresh interval support

Configuration example updated with remoteConfig section.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-05 19:58:19 +01:00

55 lines
1.4 KiB
JSON

{
"_comment": "SilverDROID Configuration Example",
"_comment2": "Copy this file to app/src/main/assets/config.json and customize",
"appName": "SilverDesk Staging",
"appVersion": "1.0.0",
"targetUrl": "https://silverdesk-staging.silverlabs.uk/",
"showUrlBar": false,
"allowNavigation": true,
"remoteConfig": {
"_comment": "Optional remote configuration from AppStore",
"enabled": false,
"url": "https://appstore.silverlabs.uk/api/config/silverdroid",
"authToken": "YOUR_APPSTORE_TOKEN_HERE",
"userSpecific": true,
"refreshInterval": 3600000
},
"vpn": {
"_comment": "Optional WireGuard VPN configuration",
"enabled": false,
"autoConnect": true,
"privateKey": "YOUR_PRIVATE_KEY_HERE",
"address": "10.0.0.2/24",
"dns": ["1.1.1.1", "1.0.0.1"],
"peers": [
{
"publicKey": "SERVER_PUBLIC_KEY_HERE",
"endpoint": "vpn.silverlabs.uk:51820",
"allowedIps": ["0.0.0.0/0"],
"persistentKeepalive": 25
}
]
},
"tor": {
"_comment": "Optional Tor routing via Orbot",
"_comment2": "Requires Orbot app to be installed",
"enabled": false,
"autoConnect": false,
"useBridges": false,
"bridges": [],
"socksPort": 9050,
"controlPort": 9051
},
"theme": {
"_comment": "Optional custom theming (hex colors)",
"primaryColor": "#1976D2",
"backgroundColor": "#FFFFFF",
"statusBarColor": "#1976D2"
}
}