-
Notifications
You must be signed in to change notification settings - Fork 5
Is this library compatible with flutter? #67
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
Comments
The gcloud package uses dart:mirrors that is not supported in the Flutter runtime. That should be explained in the readme. I'll keep this issue open for that.
You do not get the dev_dependencies of your dependencies with pub get. Furthermore it is in general not the best practice to depend on your dependencies' dependencies. If you want to refer to something from package:foo in your own package, add it as an explicit dependency. If your want to use |
@sigurdm Thanks for your reply. |
So, Is there any other way by which I can establish a connection with Google Cloud pub-sub? |
I think https://pub.dev/packages/googleapis is currently your best bet... |
@sigurdm You should mention explicitly that Use case: I want to deploy a minimal container using related: #38 |
I have tried to implement this library with a flutter project and got the below errors:
My pubspec.yaml file:
Even though googleapis_auth is already present in dev_dependencies of gcloud package still when I tried to
import 'package:googleapis_auth/auth_io.dart' as auth;
it gives me the following error:Target of URI doesn't exist: 'package:googleapis_auth/auth_io.dart'.
The text was updated successfully, but these errors were encountered: