Back

Didn't find class "io.appwrite.NotificationHandler" Flutter FCM Firebase

  • 0
  • Self Hosted
  • Flutter
  • Android
  • Messaging
Shiba
30 Apr, 2024, 03:25
TypeScript
D/AndroidRuntime( 9095): Shutting down VM
E/AndroidRuntime( 9095): FATAL EXCEPTION: main
E/AndroidRuntime( 9095): Process: online.karsmiths.madhurusers, PID: 9095
E/AndroidRuntime( 9095): java.lang.RuntimeException: Unable to create service io.appwrite.NotificationHandler: java.lang.ClassNotFoundException: Didn't find class "io.appwrite.NotificationHandler"```
TL;DR
Added 'io.appwrite.NotificationHandler' service inside the <application> tag, but getting a 'ClassNotFoundException' error.
Shiba
30 Apr, 2024, 03:27
TypeScript
<service android:name="io.appwrite.NotificationHandler" android:exported="false">
      <intent-filter>
        <action android:name="com.google.firebase.MESSAGING_EVENT" />
      </intent-filter>
    </service>
``` added inside  the <application ........./>
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more