-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I saw your comment here about using grpc in flutter.
My goal is to have one codebase, deploy it to mobile and browser, and still use grpc. Since grpc-web is the only option for the browser, I'm wondering if I can use both.
I understood this is what you meant by
That means to have a program working in both mobile and web you need to do a conditional import in a file for obtaining a GrpcChannel object.
When you say conditional import, do you mean: what is mentioned in this post?
And would that mean this code in your example would need to be adjusted?
I'm new to flutter and dart and trying to see if this is possible before beginning a project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels