flutter_twitter_login
flutter_twitter_login copied to clipboard
Incompatible with Twitter Kit 3
It seems that flutter_twitter_login 1.1.0 is only compatible with Twitter Kit v2.x, and fails to compile with Twitter Kit v3.x.
This is a blocker for me because other dependencies require that my iOS project has a minimum deployment target of 10.0, which then enforces Twitter Kit v3.x (I'm not proficient at Xcode/iOS development, but this seems to be the reason).
@deckerst I forked this repo and updated TwitterKit to 3>. Checkout => https://github.com/eudangeld/flutter_twitter_login In your pubspec add =>
flutter_twitter_login:
git: git://github.com/eudangeld/flutter_twitter_login.git
@eudangeld great, thank you!
I've tried it and it works fine, but I'd like to suggest a few things regarding the doc in README:
- you could remove the "IOS SETUP" AppDelegate change section (copied from the official Twitter doc) as it works without the change,
- same with the "SETUP YOUR PODFILE" section, the default seems fine,
- you could mention the requirement that the minimum deployment target is iOS 10.1.
@deckerst Thank's for your feedback, i changed the readme .
flutter_twitter_login: git: git://github.com/eudangeld/flutter_twitter_login.git
If I add the above lines in pubspec, I get the below error.
Error on line 24, column 8 of pubspec.yaml: Invalid version constraint: Could not parse version "git://github.com/eudangeld/flutter_twitter_login.git". Unknown text at "git://github.com/eudangeld/flutter_twitter_login.git". git: git://github.com/eudangeld/flutter_twitter_login.git ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pub upgrade failed (65)
@devapalanisamy You have to add a tab (usually, 2 spaces), YAML parsing is strongly relaying on that, like Python.
flutter_twitter_login:
git: git://github.com/eudangeld/flutter_twitter_login.git
Thanks @leocavalcante It works
@deckerst I forked this repo and updated TwitterKit to 3>. Checkout => https://github.com/eudangeld/flutter_twitter_login In your pubspec add =>
flutter_twitter_login: git: git://github.com/eudangeld/flutter_twitter_login.git
All right, thank you for that, it is compiling as well, but when I try to instantiate the TwitterLogin class the app suddenly closes without any feedback =/
My question is: Where can I open an issue with my env configuration to try figure it out?
@marcobraghim Open in my forked repo and i'l try to help you....
@marcobraghim Open in my forked repo and i'l try to help you....
Thank you, but the issues option does not shows up in your repo.
Anyway, I found another package that works well for me, thank you very much.