Open Sing-Li opened 1 year ago
@Sing-Li Before starting to implement the code right away, I want to ask you a few questions to get a better understanding, which can assist me in delivering a high-quality implementation.
Thanks @yatendra2001 ! That's a great question.
What I have seen worked very well is to:
Instead of casting the net wide (yet without useful context) horizontally. This is similar to "page faults in virtual memory management" - we can Fault-in each "group" of API with full usage context as we develop more and more example apps.
And meanwhile, other community members may decide to "fill in the holes" with our API coverage. FWIW
Guys, I am having college exams till 4th May. Sorry for the late response. @Sing-Li do you think should me and @yatendra2001 work on the same issue?
@Sing-Li Thank you for the insightful advice! I understand the importance of focusing on the APIs that are relevant to specific example apps rather than attempting to cover every possible API without context. This approach will help us create a more practical and efficient API wrapper implementation.
Based on your suggestion, I have a non-trivial example app in mind, Here's a brief outline of the app features:
This would give a good starting point to cover multiple aspects of the Rocket.Chat platform.
So should I start working on building API wrappers for the above 6 features?
Spectacular! Please go right ahead and start the coverage. @yatendra2001
Only advice is to put some extra focus on 5 and 6. Especially when it comes to the different connectivity behaviors (mode) of all the platforms that Flutter supports.
For example, desktop is connect-for-a-few-hours and disconnects-for-a-few-hours; mobile is connect-disconnect-connect-disconnect-totally.no.connection-connect-disconnect ALL the time; browser is connect-on-new-instance on demand.
This will tease out a huge set of APIs (some possibly native and platform specific) that will be both in-context and essential to any users of the SDK to solve real-world messaging problems 🙏
Guys, I am having college exams till 4th May. Sorry for the late response. @Sing-Li do you think should me and @yatendra2001 work on the same issue?
@subhadeepchowdhury41 please revisit the history of all issues here - including the closed ones. Read all the comments.
When you have time, do come back and see what issues are outstanding and help/contribute (here or on any other repositories in or outside of our ecosystem) Thanks.
@Sing-Li Can I take up this task. I'm interested in doing this and want to see this package up and running.
Add wrappers for common rest api to make them callable from flutter code.
Add tests and sample code for these APIs.