magillus / flutter-fimber

Fimber is Flutter logger inspired by Timber (logger API for Android)
106 stars 22 forks source link

No implementation found for method log on channel flutter_fimber #135

Open adrianvintu opened 1 year ago

adrianvintu commented 1 year ago

Hello, I get the following exception

E/flutter (27974): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method log on channel flutter_fimber)
E/flutter (27974): #0      MethodChannel._invokeMethod
platform_channel.dart:308
E/flutter (27974): <asynchronous suspension>

Tests were done on 2 apps, Flutter 3.10.5 and latest, 3.13

pubspec.yaml fimber: ^0.7.0 fimber_io: ^0.7.0 flutter_fimber: ^0.7.1

adrianvintu commented 1 year ago

same with flutter_fimber: ^0.7.0

ademar111190 commented 1 year ago

Happening here too.

Flutter 3.7.12 • channel unknown • unknown source
Framework • revision 4d9e56e694 (4 months ago) • 2023-04-17 21:47:46 -0400
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1
magillus commented 1 year ago

I am sorry for inconvenience, I do no have ETA to fix it - I am happy to accept PR for fixing iOS side.

magillus commented 1 year ago

You can try to use only fimber it will write to console, without need to change your code - only plant a right Tree

joyhope commented 6 months ago

It is annoying for the unfunctional fimber. flutter-fimber/src/flutter_fimber_base.dart

line 68 var invokeMsg = logLine.toMsg(); _channel.invokeMethod("log", invokeMsg);

There is no log method in the native channel, so it is wrong. The problem is not fixed, the repo is unable to be used.

magillus commented 6 months ago

I suggest not to use flutter_fimber but just the dart stack fimber.

Sorry, I do not have time to fix the issues.

On Sun, Apr 7, 2024, 7:35 AM joyhope @.***> wrote:

It is annoying for the unfunctional fimber. flutter-fimber/src/flutter_fimber_base.dart

line 68 var invokeMsg = logLine.toMsg(); _channel.invokeMethod("log", invokeMsg);

There is no log method in the native channel, so it is wrong. The problem is not fixed, the repo is unable to be used.

— Reply to this email directly, view it on GitHub https://github.com/magillus/flutter-fimber/issues/135#issuecomment-2041456151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFSFS5PTT7RQG53OSGAJK3Y4E4PRAVCNFSM6AAAAAA3WU5VQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGQ2TMMJVGE . You are receiving this because you commented.Message ID: @.***>