Use hummingbird on iOS #65
-
Hi, In our company we use Criollo (https://github.com/thecatalinstan/Criollo) in our iOS app, it acts as a server.
If I don't put the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 23 replies
-
As it stands I wouldn't recommend you use Hummingbird on iOS. The current server backend uses POSIX sockets which you are discouraged from using on iOS. Your networking solutions for iOS should really be using Apple's I was going to look at allowing for different server backends to be fitted in with Hummingbird. I was unhappy with the Lambda implementation I have at the moment and wanted to generalize the backend integration. I guess this gives me another reason. |
Beta Was this translation helpful? Give feedback.
-
v0.11.0 now adds proper support for iOS |
Beta Was this translation helpful? Give feedback.
-
Hi @adam-fowler |
Beta Was this translation helpful? Give feedback.
-
I’ll get a release out and add the platforms to the Package.swift files
… On 7 May 2021, at 09:25, Florion ***@***.***> wrote:
That is really clean thanks !
I just implemented it and it works very well
I had to fork the different dependencies (compression, webSocket) to make them point to the main branch of Hummingbird. Also I had to add platforms: [.iOS(.v12), .tvOS(.v12)], to their package.swift in order for them to compile.
Theses forks are a bit messy, I did that just to test it works. When you release a new version, I will do a cleaner implementation without forks and send a version with Hummingbird to our Beta users.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#65 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACHSVJ5J7LNPHQ4NPNXDX43TMOPXRANCNFSM42LHKQ4Q>.
|
Beta Was this translation helpful? Give feedback.
v0.11.0 now adds proper support for iOS