-
Notifications
You must be signed in to change notification settings - Fork 151
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
[Docs] Use pubspec's ref attribute maybe? #3
Comments
* Fix installation doc Closes #3 * Add quotes around commit hash
Thanks for reporting! |
The current method mentioned in the User Guide is also resulting in error! razorpay_flutter:
git:
url: git://github.com/razorpay/razorpay-flutter.git
ref: "f7ea14a" Error
|
@SlickSlime It seems to work for us. We've updated the documentation to mention the tag instead of the commit hash, and it works for both (tag and commit hash) for us. What version of git are you using? Can you try cloning this repository and then running |
Hi!
In the user's guide,
This is the format given to import the package to the flutter project. However, this ends up in error message:
On MacOS, with everything else to latest.
Please consider using ref: attribute as mentioned in the official pub docs.
https://dart.dev/tools/pub/dependencies#git-packages
Also, this works fine:
The text was updated successfully, but these errors were encountered: