Skip to content

Commit cf96958

Browse files
committed
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
1 parent 24ea7ec commit cf96958

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ contact_links:
99
- name: "🐛 Troubleshooting"
1010
url: https://github.com/inventory69/simple-notes-sync/blob/main/QUICKSTART.md#troubleshooting
1111
about: Häufige Probleme und Lösungen / Common issues and solutions
12+
- name: "✨ Feature Requests & Ideas"
13+
url: https://github.com/inventory69/simple-notes-sync/discussions/categories/ideas
14+
about: Diskutiere neue Features in Discussions / Discuss new features in Discussions

android/app/src/main/AndroidManifest.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<!-- Battery Optimization (for WorkManager background sync) -->
1313
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
1414

15-
<!-- v1.7.2: Foreground Service for Expedited Work (Android 9-11) -->
15+
<!-- v1.7.1: Foreground Service for Expedited Work (Android 9-11) -->
1616
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
17-
<!-- v1.7.2: Foreground Service Type for Android 10+ -->
17+
<!-- v1.7.1: Foreground Service Type for Android 10+ -->
1818
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
1919

2020
<!-- BOOT Permission - CRITICAL für Auto-Sync nach Neustart! -->
@@ -96,6 +96,12 @@
9696
android:resource="@xml/file_paths" />
9797
</provider>
9898

99+
<!-- v1.7.1: WorkManager SystemForegroundService for Expedited Work -->
100+
<service
101+
android:name="androidx.work.impl.foreground.SystemForegroundService"
102+
android:foregroundServiceType="dataSync"
103+
tools:node="merge" />
104+
99105
</application>
100106

101107
</manifest>

0 commit comments

Comments
 (0)