Live data from Hacker News

Open sourcing our Android and iOS apps

kickstarter.engineering

21–30 of 74 posts

Re: Open sourcing our Android and iOS apps

#23
post #14

Earlier quoted context omitted.

How many of the people that do review your code would exploit it vs reporting it to you? Combine it with a bounty program, and chances are you will get useful feedback at a fraction of the cost of a full on audit.

I agree with the sentiment of your post, however I believe it is based on an ideal world, which we don't live in. > How many of the people that do review your code would exploit it vs reporting it to you By nature, attackers would be reviewing your code as well. > Combine it with a bounty program The overwhelming majority of Open Source software was created-by and is curated-by a single person who makes negative prof…

But I am specifically talking about companies with closed source apps and services open sourcing them, not tools that are already open. Examples are Uber, AirBnB, and Groupon, not gpg or OpenSSL.

Re: Open sourcing our Android and iOS apps

#24
They use Swift Playgrounds to do a lot of development:

"Swift Playgrounds for iterative development and styling. Most major screens in the app get a corresponding playground where we can see a wide variety of devices, languages, and data in real time."

https://github.com/kickstarter/ios-oss/tree/master/Kickstart...

I've recently bought into this development method too. It's not quite what Bret Victor dreamed up, but it's a big step in the right direction.

Re: Open sourcing our Android and iOS apps

#25
Last year when I was working on a startup's mobile app for Android, it was almost impossible to find good quality code that was open sourced.

I am really happy that Kickstarter has released their android app as open source - would definitely be a great learning experience!

Re: Open sourcing our Android and iOS apps

#26

This is pretty awesome. Just because an app connects to a single website/service doesn't mean there isn't a benefit to being open! It's good to be able to trust (and verify) the software running on our devices.

This. There is really no downside to doing this, and lots of potential upside. I honestly think most companies could do this with zero effect to their bottom line.

> This. There is really no downside to doing this, and lots of potential upside. I honestly think most companies could do this with zero effect to their bottom line.

And - if the code is good, clean, modern - attracting talented coders that way. Showing me such code is million times more convincing than all the usual slogans

Re: Open sourcing our Android and iOS apps

#27
post #14

Earlier quoted context omitted.

I agree with the sentiment of your post, however I believe it is based on an ideal world, which we don't live in. > How many of the people that do review your code would exploit it vs reporting it to you By nature, attackers would be reviewing your code as well. > Combine it with a bounty program The overwhelming majority of Open Source software was created-by and is curated-by a single person who makes negative prof…

But I am specifically talking about companies with closed source apps and services open sourcing them, not tools that are already open. Examples are Uber, AirBnB, and Groupon, not gpg or OpenSSL.

> But I am specifically talking about companies with closed source apps and services open sourcing them

Ah, I see. I misunderstood. Yes, I think we are in agreement then, although I have my doubts most companies want their "secret sauce" or code-indiscretions flapping in the wild.

Re: Open sourcing our Android and iOS apps

#28
post #20

Earlier quoted context omitted.

That "glue" can be Android's Databinding library. I've used it to bind ViewModel data to views. Works really well.

I'm aware of it, but last I checked it didn't seem production-ready and lacked features. I believe they updated it at some point, but other than some talk at Google IO not much came out of it - even the docs didn't reflect it back then. Perhaps it's up to the task now, I admit I'm not looking it up regularly.

It is definitely production ready now.

Re: Open sourcing our Android and iOS apps

#30

Kudos to them. Compared to the web it's rather cumbersome to poke into packaged and released mobile apps, so I really appreciate access to the source of a real world app for learning and comparison. The Android codebase looks very modern and well structured. I think it makes great use of many of the goodies (gradle, rxjava, retrofit, dagger, android support lib, ...) and learnings (bring your own MV*; use Fragments w…

And actual tests for the Android app! It's a rarity, and especially annoying since the "sample" apps that Google provides pretends that testing doesn't exist.
Post reply on HN