For the last two weeks, I was struggling to make Agents SDK work with React-Native. The problem is they never made support for it. After two weeks of trying different approaches, using a server as a proxy, or trying to make my own web socket, I almost gave up. Then I decided to do a little bit of digging and found out that actually someone in July tried to propose a PR with a fix to make React-Native work with Agents SDK. However, the maintainers ghosted that PR. After some digging, I have made my own patch, and successfully made Agents SDK work with React-Native.
Secondly, I've reached out on every platform possible to both maintainers for the Agents SDK repository, and finally got a response through Instagram, surprisingly.
The lesson is that I've learned is:
- I can patch any open source library to make it work for my purposes.
- Second, as a nobody, you can reach out to people through many, many channels, and they will respond to you through one of them.
P.S. It's a TestFlight App, so you might wanna open it on your iPhone.