79636060

Date: 2025-05-23 18:49:40
Score: 0.5
Natty:
Report link

Are you sure your ic_notification exists in the drawable directory?

Add this to your main activity :

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

This should always redirect the users to your app instead of settings

Also sometimes its tricky because permissions are messed up when you are simulating vs actually running it locally on a device

Add this to your <service> tag : 

android:name="com.ryanheise.audioservice.AudioService"
    
android:foregroundServiceType="mediaPlayback"
    
android:exported="true">

Make sure "AndroidManifest" includes :
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

Should fix the issues you have, but also make sure that you don't have local and flutter notifications conflicting, check your flutter_local because remember its not a simulation when its local :)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: dave antony