Closed ghost closed 6 years ago
Hey @gedw99, cheers! https://github.com/textileio/textile-mobile is our React Native UI which relies on gomobile-generated iOS + Android frameworks from this repo
thanks @sanderpick
found it.. I had a lot of trouble getting react native and golang talking. i ended up getting flutter and golang talking using a json rpc. Its much less messy compared to the bridge i found. Highly subjective opinion of course with this stuff. For example, i hate JS.
am now messing around with doing the exact same json rpc bridge for asci-electron.
Does the react bridge work well for you ? Can you upgrade the client code without having to go past the Apple app store gates of hell ?
Apologies for the delay here @gedw99. I hadn't heard of Flutter. Will check it out.
For our more or less POC desktop app, we're using asci-electron and just vanilla JS. Would be nice to share some code from our mobile app (react native), but hasn't been a priority so far.
To do the live client code updates I believe you'd need to use some third party SDK (or write your own that swaps in a script to the JS runtime on iOS / Android). I know MS App Center provides something like this.
I also use asci- electron for desktop.
It works well too.
But for really high fidelity GUI with all the corner cases that web presents Flutter is awesome.
https://github.com/google/flutter-desktop-embedding
Desktop does not work for windows but will soon. For Mac and Linux it works.
For mobile is works well.
I write all other code in golang and have a jsonrpc between the flutter and golang layers. So in the golang I put everything like pub sub, logic, database ( like boltdb or badgerdb ). So everything works for offline scenarios :)
Then sync with server over grpc
On Fri, 22 Jun 2018, 18:57 Sander Pick, notifications@github.com wrote:
Apologies for the delay here @gedw99 https://github.com/gedw99. I hadn't heard of Flutter. Will check it out.
For our more or less POC desktop app, we're using asci-electron and just vanilla JS. Would be nice to share some code from our mobile app (react native), but hasn't been a priority so far.
To do the live client code updates I believe you'd need to use some third party SDK (or write your own that swaps in a script to the JS runtime on iOS / Android). I know MS App Center provides something like this.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/textileio/textile-go/issues/143#issuecomment-399510683, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuCwgvFLmtXVjVcwgosz26INZ7Ihns3ks5t_SISgaJpZM4Upxy_ .
Sounds pretty slick! Gonna close this but please ping if you need some testers on your project :)
Pretty nice example of ipfs usage.
where is the Mobile GUI ?
I think that you can speed up alot of the code using WASM and protobufs