mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-25 17:03:52 +00:00
Wrap all androidInterface native method calls in try-catch blocks to prevent app crashes when Java exceptions are raised during method invocation. Users are now notified via snackbar when service start fails, while update/stop failures are logged silently. Changes: - Add _safeNativeCall helper to TypeScript effects for DRY error handling - Add safeCall inline helper to Kotlin JavaScriptInterface - Wrap focus mode and tracking service calls with error handling - Show user-friendly error notification on service start failures - Add unit tests for error handling logic Fixes #5819 |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| app_config.properties | ||
| build.gradle | ||
| capacitor.build.gradle | ||
| config.gradle | ||
| google.properties | ||
| proguard-rules.pro | ||