AnonymousMessenger / AnonymousMessenger

This is an unofficial repository, for the official repository visit: https://git.anonymousmessenger.ly/dx/AnonymousMessenger
https://anonymousmessenger.ly
GNU General Public License v3.0
72 stars 14 forks source link

Not working in android 14 #5

Open 9MadDemon9 opened 3 months ago

9MadDemon9 commented 3 months ago

Error: "Unable to create service com.dx.anonymousmessenger.service.DxService: android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord{73a3d92 26589:com.dx.anonymousmessenger/u0a472} targetSDK=34"

Possible fix: The error message "android.app.MissingForegroundServiceTypeException" indicates that an app targeting Android 14 (API level 34) is trying to start a foreground service without specifying the service type. In Android 14, foreground services require a specific type to be declared to improve transparency and security. This exception occurs when the service attempts to run in the foreground without this required type information. To resolve this issue, you'll need to update the app to specify the foreground service type. Here's a two-step solution:

rudravanshi commented 3 months ago

It's working on my phone ,it's habes Android 14