TelemetryDeck / KotlinSDK

Kotlin SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
Other
7 stars 6 forks source link

Lower minimum required Android API version #8

Closed dvkch closed 1 year ago

dvkch commented 2 years ago

Hello!

I noticed the minimum Android API level required is 24. If possible, adding versions up to 22 or 21 would allow for around 9% more market share, according to Android Studio estimating API 24 reaching 89% of users and API 21 reaching 98%.

I'd gladly provide help to lower the requirements a bit if needed :)

Thanks you for this beautiful project and for your time

winsmith commented 2 years ago

Hi, sounds like a smart idea. I think we use some APIs that need 24 if I remember correctly, but I'll see what I can do

dvkch commented 2 years ago

That would be amazing! I took a very quick look at the lib files and except for some minor things like updated method signatures for DateFormat and things like that I think it should be okay. Maybe the LifecycleObserver could also have some changes between API versions.

I have a project ready working with API 21, if I figure out how to use the source code for this SDK alongside it I could try and send a pull request your way ☺️

winsmith commented 2 years ago

That would be amazing, thank you!