ClevercodeTech

Results comments of ClevercodeTech

exact same issue. the error appears when using background notification. ``` `E/MethodChannel#plugins.flutter.io/firebase_messaging(12720): Failed to handle method call E/MethodChannel#plugins.flutter.io/firebase_messaging(12720): java.lang.RuntimeException: PluginRegistrantCallback is not set. E/MethodChannel#plugins.flutter.io/firebase_messaging(12720): at io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService.startBackgroundIsolate(FlutterFirebaseMessagingService.java:157) E/MethodChannel#plugins.flutter.io/firebase_messaging(12720): at io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.onMethodCall(FirebaseMessagingPlugin.java:176) E/MethodChannel#plugins.flutter.io/firebase_messaging(12720):...

I run in to error while using _@callsuper_. As per android document it is deprecated. with your suggested code i get same error. manifest.xml: ` ` Mainactivity.Java ````package com.mattuvandi.user; import...

> @ClevercodeTech @h0x539 Could you maybe wrap your code into a ` ` to make this thread more readable? thanks for the suggestion. Updated as per your suggestion.

Resolved the issue. Flutter instruction was not clear or i didn't get what they were saying. i changed the following line in the beginning of my manifest.xml: > ~~android:name="io.flutter.app.FlutterApplication"~~ to...

> @helenaford That "solution" only makes the error message go away and does not fix the underlying problem (the plugin is broken on Android, see #2017 for a start; there...

> @ClevercodeTech Can you provide detailed instructions? Please follow the instruction as shown in the following link [https://pub.dev/packages/firebase_messaging](url) for receiving background message. importantly you need to change your android manifest....

> Doesn't work for me. Tried to switch branch from `stable` to `master`, didn't help. could you please post your code.

have you included ``` // under [project]/android/app/build.gradle apply plugin: 'com.google.gms.google-services' ```

@lexdevel Not sure if this helps. But i added activity tag as below in manifest. ``` ```