fix: battery optimization prompt — add missing manifest permission and fix fallback
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS intent is silently dropped without the matching manifest permission. Added it to app.json permissions. Also replaced .catch() chain (which only triggers on thrown errors) with try/catch blocks so the fallback to IGNORE_BATTERY_OPTIMIZATION_SETTINGS actually fires. Added resetBatteryOptPrompt() helper to re-trigger the prompt during testing.
This commit is contained in: