Add support for pure dart projects.
Right now the project has a dependency on flutter thus it's not possible to use the package on a pure dart environment like a server-side dart.
Package behaves more like agent_flutter rather than agent_dart.
Right now the project has a dependency on flutter thus it's not possible to use the package on a pure dart environment like a server-side dart.
Package behaves more like agent_flutter rather than agent_dart.
We agree, we will find a way to make a “pure dart” library
Previously we tried to migrate to pure Dart but failed with the current implementation. IMO this will require a federated platform architecture for the plugin. We'll first try to update the plugin in that direction.
I needed agent for the flutter web. So I have created a module in my existing apps code using the federated platform architecture that can pick agent_dart on mobile platform and use agent_js on web platform to make query calls to the IC. It's barely working at the moment.
But seeing a pure dart agent_dart would be lovely.
On Wed, Nov 9, 2022 at 6:47 AM Alex Li @.***> wrote:
Previously we tried to migrate to pure Dart but failed with the current implementation. IMO this will require a federated platform architecture for the plugin. We'll first try to update the plugin in that direction.
— Reply to this email directly, view it on GitHub https://github.com/AstroxNetwork/agent_dart/issues/47#issuecomment-1308048911, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSPHZ277U7FIIQWXEJIVN3WHLZYXANCNFSM6AAAAAAR2BKZVE . You are receiving this because you authored the thread.Message ID: @.***>
@awazgyawali Can you share some code on how you did integrate agent_js on web platform? I'm trying to build a starter-kit for Flutter + IC projects
@awazgyawali Can you share some code on how you did integrate agent_js on web platform? I'm trying to build a starter-kit for Flutter + IC projects
CC: @sandeshgyw