schollz / croc

Easily and securely send things from one computer to another :crocodile: :package:
https://schollz.com/software/croc6
MIT License
27.68k stars 1.1k forks source link

Question: maybe possible with mobile also #118

Closed ghost closed 5 months ago

ghost commented 5 years ago

I use golang on mobiles. It's pretty easy. So it's possible to get this project working between desktop and mobiles. The trick however will be knowing the system calls for IOS and Android ( and maybe chrome OS since android apps work on chrome OS these days )

I can get croc working with a GUI, but not sure of the API calls.

Anyone interested in this and helping investigate the API calls ?

quite commented 5 years ago

This is interesting. Though I have not yet even tried building a mobile app in any language. To start with, I would be interested learning to build something for android with as much go as possible (and flutter?). Do you have any pointers? Sorry for hijacking this issue!

ghost commented 5 years ago

Gomobile compiles to iOS and Android. Then you make a flutter plugin to wrap it.

Best to use JSON to make life easy initially. Can upgrade to grpc once things working.

ghost commented 5 years ago

If your interested we can work on this together. Do you have flutter experience ?

dospunk commented 4 years ago

Would love to see this

rpush-01 commented 4 years ago

The Gomobile framework, although not optimized or widely used, is good enough for now, if you want to use Go for developing on mobile its one of the main options. If it became popular we would probably convert to Native, I know Swift for that, maybe someone knows Kotlin. If you don't care about the language, Flutter(Dart), and React Native(JS, TS) are pretty good. If you know JS apparently Dart isn't too difficult to learn, although I don't know it. Also check if an app like this is even allowed, file transfers are probably classified as a security risk or something.

https://dev.to/_tink3r/introduction-to-gomobile-19af

bartekpacia commented 3 years ago

I thought about croc on mobile now and just saw this issue. It'd be an awesome idea. Is there any work taking place (maybe some GH repo)?

I have experience with native Android and Flutter, have released a few apps to Play Store and App store. Maybe I could help.

clach04 commented 2 years ago

Cross reference to https://github.com/schollz/croc/issues/247 (which links to an Android implementation)

github-actions[bot] commented 5 months ago

Stale issue message