AndroidManifest.xml (2261B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:tools="http://schemas.android.com/tools"> 4 5 <!-- bestehende Berechtigungen --> 6 <uses-permission android:name="android.permission.INTERNET" /> 7 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 8 9 <!-- nötig, wenn du den Foreground-Service nutzt --> 10 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 11 12 <application 13 android:allowBackup="true" 14 android:dataExtractionRules="@xml/data_extraction_rules" 15 android:fullBackupContent="@xml/backup_rules" 16 android:icon="@mipmap/ic_launcher" 17 android:label="@string/app_name" 18 android:roundIcon="@mipmap/ic_launcher_round" 19 android:supportsRtl="true" 20 android:theme="@style/Theme.GNUnet" 21 android:allowNativeHeapPointerTagging="false" 22 tools:targetApi="34"> 23 24 <activity 25 android:name=".MainActivity" 26 android:exported="true"> 27 <intent-filter> 28 <action android:name="android.intent.action.MAIN" /> 29 <category android:name="android.intent.category.LAUNCHER" /> 30 </intent-filter> 31 </activity> 32 33 <!-- ✳️ Öffentlicher Bound Service für den IPC-Contract --> 34 <service 35 android:name=".ipc.GnunetChatIpcService" 36 android:exported="true" 37 android:enabled="true"> 38 <intent-filter> 39 <!-- Muss exakt zum Client-Intent passen --> 40 <action android:name="org.gnunet.gnunetmessenger.ipc.BIND_GNUNET_CHAT" /> 41 </intent-filter> 42 </service> 43 44 <!-- 🔧 Optional: Foreground-Service, falls der Server im Hintergrund 45 dauerhaft laufen soll (API 26+ Background-Limits) --> 46 <service 47 android:name=".ipc.GnunetForegroundService" 48 android:exported="false" 49 android:foregroundServiceType="dataSync" /> 50 // AndroidManifest (Server) 51 <service 52 android:name=".core.GnunetCoreService" 53 android:exported="false" 54 android:foregroundServiceType="dataSync" /> 55 </application> 56 57 </manifest>