-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [firebase_messaging] Unable to use FlutterFirebaseMessagingService.setPluginRegistrant
#3757
Comments
Hi @ahmaducg MainActivity.kt
Application.kt
Closing as duplicate of #2311 |
@TahaTesser I get error for
so, I think this is unrelated to the linked issue. |
Hi @ahmaducg
logsevent sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in firebase_messaging_example...}
event sent after app closed: {id: 0, progressId: null, finished: true}
Launching lib/main.dart on RMX2001 in debug mode...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
E/FlutterFcmService(32210): Fatal: failed to find callback
Connecting to VM Service at ws://127.0.0.1:63468/DhJiBElM6kw=/ws
I/evercode.triag(32210): ProcessProfilingInfo new_methods=2868 is saved saved_to_disk=1 resolve_classes_delay=5000
I/flutter (32210): Push Messaging token: dyLKzawfTcaSXkUZTA4pgf:APA91bHEwDyXBZtINTnULn3UHMQBqXa04LdjWs_nmsDVdnpJQ8knUGZkiTaxCIEe81AyNhamJrvQLT1SFNb4KHJiDz8FFpNSmvkRgFTQdsQ13fnS1Ln4m3IXLZDWaKZa6RrqA3z9abTn
V/PhoneWindow(32210): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@d116a53, this = DecorView@ca07524[MainActivity]
D/ColorExSystemServiceHelper(32210): checkColorExSystemService className = com.google.android.gms.measurement.service.MeasurementBrokerService
D/Surface (32210): Surface::connect(this=0x79425dc000,api=1)
D/mali_winsys(32210): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (32210): Surface::setBufferCount(this=0x79425dc000,bufferCount=4)
I/SurfaceView(32210): 178556039 visibleChanged:true -> SurfaceHolder.Callback.surfaceCreated
D/Surface (32210): Surface::connect(this=0x79425de000,api=1)
D/mali_winsys(32210): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl(32210): setSurfaceViewCreated, created:true
I/SurfaceView(32210): 178556039 surfaceChanged -- format=4 w=1080 h=2400 visibleChanged:true -> SurfaceHolder.Callback.surfaceChanged
D/SurfaceView(32210): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(32210): try to resquest 60Hz
D/ViewRootImpl(32210): set screen refresh mode 1 due to SurfaceView-178556039
D/SurfaceView(32210): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(32210): try to resquest 60Hz
W/Gralloc3(32210): mapper 3.x is not supported
E/gralloc (32210): Arm Module v1.0
E/ion (32210): ioctl c0044901 failed with code -1: Invalid argument
W/gralloc (32210): WARNING: internal format modifier bits not mutually exclusive. AFBC basic bit is always set, so extended AFBC support bits must always be checked.
I/Choreographer(32210): Skipped 1 frames! The application may be doing too much work on its main thread.
I/SurfaceView(32210): 178556039 visibleChanged:true -> SurfaceHolder.Callback.surfaceDestroyed
D/Surface (32210): Surface::disconnect(this=0x79425de000,api=1)
D/ViewRootImpl(32210): setSurfaceViewCreated, created:false
D/Surface (32210): Surface::disconnect(this=0x79425de000,api=-1)
D/SurfaceView(32210): updateScreenMode w:0 h:0 ViewRoot w:1080 h:2400
D/SurfaceView(32210): try to resquest 90Hz
D/ViewRootImpl(32210): set screen refresh mode 0 due to SurfaceView-178556039
I/Choreographer(32210): Skipped 4 frames! The application may be doing too much work on its main thread.
I/GED (32210): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
D/ColorExSystemServiceHelper(32210): checkColorExSystemService className = com.google.android.gms.measurement.service.MeasurementBrokerService
D/Surface (32210): Surface::disconnect(this=0x79425dc000,api=1)
V/PhoneWindow(32210): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@d116a53, this = DecorView@ca07524[MainActivity]
V/PhoneWindow(32210): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@d116a53, this = DecorView@ca07524[MainActivity]
D/Surface (32210): Surface::connect(this=0x79425dd000,api=1)
D/mali_winsys(32210): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (32210): Surface::setBufferCount(this=0x79425dd000,bufferCount=4)
D/ColorExSystemServiceHelper(32210): checkColorExSystemService className = com.google.android.gms.measurement.service.MeasurementBrokerService
I/SurfaceView(32210): 178556039 visibleChanged:true -> SurfaceHolder.Callback.surfaceCreated
D/Surface (32210): Surface::connect(this=0x793b21a000,api=1)
D/mali_winsys(32210): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl(32210): setSurfaceViewCreated, created:true
I/SurfaceView(32210): 178556039 surfaceChanged -- format=4 w=1080 h=2400 visibleChanged:true -> SurfaceHolder.Callback.surfaceChanged
D/SurfaceView(32210): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(32210): try to resquest 60Hz
D/ViewRootImpl(32210): set screen refresh mode 1 due to SurfaceView-178556039
D/SurfaceView(32210): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(32210): try to resquest 60Hz
V/ActivityThread(32210): scheduleReceiver info = ActivityInfo{520d7c com.google.firebase.iid.FirebaseInstanceIdReceiver} intent = Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11080010 pkg=com.nevercode.triage cmp=com.nevercode.triage/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) } sync = true hasCode = 155951774
W/evercode.triag(32210): Accessing hidden method Landroid/os/WorkSource;->add(I)Z (greylist, reflection, allowed)
W/evercode.triag(32210): Accessing hidden method Landroid/os/WorkSource;->add(ILjava/lang/String;)Z (greylist, reflection, allowed)
W/evercode.triag(32210): Accessing hidden method Landroid/os/WorkSource;->size()I (greylist, reflection, allowed)
W/evercode.triag(32210): Accessing hidden method Landroid/os/WorkSource;->get(I)I (greylist, reflection, allowed)
W/evercode.triag(32210): Accessing hidden method Landroid/os/WorkSource;->getName(I)Ljava/lang/String; (greylist, reflection, allowed)
D/ColorExSystemServiceHelper(32210): checkColorExSystemService className = com.google.android.gms.gcm.PushMessagingRegistrarProxy
I/flutter (32210): onMessage: {notification: {title: this is a title, body: this is a body}, data: {status: done, id: 1, click_action: FLUTTER_NOTIFICATION_CLICK}}
I/SurfaceView(32210): 178556039 visibleChanged:true -> SurfaceHolder.Callback.surfaceDestroyed
D/Surface (32210): Surface::disconnect(this=0x793b21a000,api=1)
D/ViewRootImpl(32210): setSurfaceViewCreated, created:false
D/Surface (32210): Surface::disconnect(this=0x793b21a000,api=-1)
D/SurfaceView(32210): updateScreenMode w:0 h:0 ViewRoot w:1080 h:2400
D/SurfaceView(32210): try to resquest 90Hz
D/ViewRootImpl(32210): set screen refresh mode 0 due to SurfaceView-178556039
I/Choreographer(32210): Skipped 3 frames! The application may be doing too much work on its main thread.
I/GED (32210): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
D/ColorExSystemServiceHelper(32210): checkColorExSystemService className = com.google.android.gms.measurement.service.MeasurementBrokerService
D/Surface (32210): Surface::disconnect(this=0x79425dd000,api=1)
V/PhoneWindow(32210): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@d116a53, this = DecorView@ca07524[MainActivity]
This issue is related to providing complete documentation in kotlin #2311 |
@TahaTesser Thank you for the time looking into this. |
Hi @bsr203 |
Flutter Doctor :
The text was updated successfully, but these errors were encountered: