Skip to content
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

Update logger dependency #6

Open
boskokg opened this issue Dec 19, 2019 · 18 comments
Open

Update logger dependency #6

boskokg opened this issue Dec 19, 2019 · 18 comments

Comments

@boskokg
Copy link

boskokg commented Dec 19, 2019

logger_flutter 0.7.1 depends on logger ^0.7.0 and no versions of logger_flutter match >0.7.1 <0.8.0, logger_flutter ^0.7.1 requires logger ^0.7.0.

@JEuler
Copy link
Contributor

JEuler commented Dec 24, 2019

#7

@JEuler
Copy link
Contributor

JEuler commented Dec 24, 2019

You can always do something like:

logger_flutter:
git:
url: https://github.com/JEuler/logger_flutter.git

But preferable if you fork it into your own acc, because I can remove it sometime somehow. :)

@keitoro
Copy link

keitoro commented Jan 28, 2020

still the same problem.

@britannio
Copy link

@leisim

@voivoed
Copy link

voivoed commented Mar 3, 2020

Could @leisim please merge the PR?

@Cocotus
Copy link

Cocotus commented Apr 22, 2020

+1 for this, because I'm using flutter web and I need the logconsole to work with the current patched logger 0.9.1 ;) At the moment I'm using the workaournd by Jeuler in pubspec.yaml but I think its better to release a new version with the dependency fixed

@JEuler
Copy link
Contributor

JEuler commented Apr 23, 2020

Yeah, it would be really nice if you release new version, @leisim :) #8 I create new PR for this, I'm sure you know how to publish update for package :D
But anyway, this will make it easier.

@Cocotus
Copy link

Cocotus commented Apr 23, 2020

Well I tried to use newest logger together with current logconsole and I got errors, because a Callback method is not supported in the current logger version. I dont know how to fix this myself but I think this needs some compatibility work to work with the latest logger version? Can anybody verify this?

@JEuler
Copy link
Contributor

JEuler commented Apr 23, 2020

Yeah, it is not working for the last version. I've checked. Hm.

@JEuler
Copy link
Contributor

JEuler commented Apr 24, 2020

So we need to use LogOutput. I will have a look later on weekend days. :)

@raywhiteside
Copy link

Using the workaround provided, but a gentle +1 that an update would be appreciated. :)

@tienthanh2509
Copy link

still has dependency error on the official package

@k415hu
Copy link

k415hu commented Aug 11, 2020

Any update on this?

@g-balas
Copy link

g-balas commented Aug 13, 2020

this is working for me :

logger: 0.7.0+1
logger_flutter: ^0.7.1

@PoojaB26
Copy link

Hey @leisim any update on this? The issue persists! :)

@JEuler
Copy link
Contributor

JEuler commented Sep 20, 2020

https://github.com/leisim/logger_flutter/pull/9/files - maybe you can use this PR.

logger_flutter:
git:
	url: https://github.com/ewertonrp/logger_flutter

Like this

All credits to @ewertonrp

@zierka
Copy link

zierka commented Oct 10, 2020

For me this worked:

logger_flutter:
    git: https://github.com/ewertonrp/logger_flutter.git

@IanWorthington
Copy link

IanWorthington commented Mar 7, 2021

Seems to break again with the nullsafe version of logger:

logger: ^1.0.0-nullsafety.0 #^0.9.4
logger_flutter: #^0.7.1
  git: https://github.com/ewertonrp/logger_flutter.git
Because every version of logger_flutter from git depends on logger >=0.7.0 <1.0.0 and logging_test depends on logger ^1.0.0-nullsafety.0, logger_flutter from git is forbidden.
So, because logging_test depends on logger_flutter from git, version solving failed.
pub get failed (1; So, because logging_test depends on logger_flutter from git, version solving failed.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests