chore: Add SystemForegroundService to manifest and Feature Requests link to issue template
- AndroidManifest.xml: Added WorkManager SystemForegroundService declaration with dataSync foregroundServiceType to fix lint error for Expedited Work - .github/ISSUE_TEMPLATE/config.yml: Added Feature Requests & Ideas link pointing to GitHub Discussions for non-bug feature discussions
This commit is contained in:
3
.github/ISSUE_TEMPLATE/config.yml
vendored
3
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -9,3 +9,6 @@ contact_links:
|
|||||||
- name: "🐛 Troubleshooting"
|
- name: "🐛 Troubleshooting"
|
||||||
url: https://github.com/inventory69/simple-notes-sync/blob/main/QUICKSTART.md#troubleshooting
|
url: https://github.com/inventory69/simple-notes-sync/blob/main/QUICKSTART.md#troubleshooting
|
||||||
about: Häufige Probleme und Lösungen / Common issues and solutions
|
about: Häufige Probleme und Lösungen / Common issues and solutions
|
||||||
|
- name: "✨ Feature Requests & Ideas"
|
||||||
|
url: https://github.com/inventory69/simple-notes-sync/discussions/categories/ideas
|
||||||
|
about: Diskutiere neue Features in Discussions / Discuss new features in Discussions
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
<!-- Battery Optimization (for WorkManager background sync) -->
|
<!-- Battery Optimization (for WorkManager background sync) -->
|
||||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
||||||
|
|
||||||
<!-- v1.7.2: Foreground Service for Expedited Work (Android 9-11) -->
|
<!-- v1.7.1: Foreground Service for Expedited Work (Android 9-11) -->
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
<!-- v1.7.2: Foreground Service Type for Android 10+ -->
|
<!-- v1.7.1: Foreground Service Type for Android 10+ -->
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
||||||
|
|
||||||
<!-- BOOT Permission - CRITICAL für Auto-Sync nach Neustart! -->
|
<!-- BOOT Permission - CRITICAL für Auto-Sync nach Neustart! -->
|
||||||
@@ -96,6 +96,12 @@
|
|||||||
android:resource="@xml/file_paths" />
|
android:resource="@xml/file_paths" />
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
|
<!-- v1.7.1: WorkManager SystemForegroundService for Expedited Work -->
|
||||||
|
<service
|
||||||
|
android:name="androidx.work.impl.foreground.SystemForegroundService"
|
||||||
|
android:foregroundServiceType="dataSync"
|
||||||
|
tools:node="merge" />
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
Reference in New Issue
Block a user