https://kotlinlang.org logo
#android
Title
# android
t

Tim

11/19/2019, 2:35 PM
does android development tend to rely more on 3rd party libraries as compared to iOS development?
s

Sebi Sheldin Sebastian

11/19/2019, 2:45 PM
Its upto the developer, you can do almost everything without ever relying on a 3rd party library, and the 'almost' is because somethings like IAP might require you to use Google libraries, to communicate with but maybe even that might be possible through intents and IPC mechanisms, I would say "try not to reinvent the wheel" because its just wasting time on something probably done and perfected by the community, like imagine not having retrofit, constraint layout, kotlin(its a language but you would like still need some dependencies like the stdlib), Rx, Room, LiveData, you can always build your own version of those, but...why?
p

pawegio

11/19/2019, 2:45 PM
you rely more on open source than on closed source
👍 1
c

codeslubber

11/19/2019, 2:55 PM
It’s a good question, and the fact that the 3rd party stuff is OS does not make it all better. Of course the answer is yes. If you said ‘what percentage of projects use what is in the docs, e.g. the frameworks that are part of the SDK?’ (for the main architecture of their app). On iOS that answer is 90, on Android seems like it’s much lower, maybe sub-50, despite the fact that the architecture patterns, with support for MVP, are better. There are people doing MVP on iOS with Rx or some other lib. And I don’t think there’s near as many ios projects using outside DI.
r

rkeazor

11/19/2019, 3:13 PM
I would say it's the same . There are some third party library that are standard in almost every project. Retrofit , rx java , dagger. You can call the Kotlin standard lib a third party lib
But something worth mentioning is kotlin offers first party support to some of these libraries
m

Mikael Alfredsson

11/19/2019, 3:36 PM
I think it depends more on the developer than the project. Sure, Android more or less have to use a lot of dependencies from Google to get some basic functionality that comes out of the box for iOS (recyclerView, constraint-layout and Room) but for the projects I have been involved with, the iOS project dependencies still beats the Android ones.
c

codeslubber

11/19/2019, 3:41 PM
@rkeazor you list the android standards, many of which non-google, then say it’s the same? what are the comparable equivalents on the iOS side?