minSdkVersion?
intrications opened this issue · comments
The actual library says android:minSdkVersion="14" but the sample app has android:minSdkVersion="8".
Which is correct?
I'm trying to add Gradle build files and it won't compile without fixing this.
Well, when I created the library the intention was to make it ICS and above only - primarily because I did not want to commit to supporting older versions of Android (The library currently does not use any feature that requires minSdkVersion=14
)
I'll change the sample app to use minSdkVersion=14
for now.
If the library currently does support < 14, any chance that you could change the minSdkVersion to reflect this? This library is crucial for my app but currently the only thing stopping me from supporting < 14. If you don't want to commit to supporting < 14 in the future, you could always put a large notice in the readme. :)
Thanks for your hard work!
@marcusforsberg There is a pending PR #14 that sets the minSdk to 11. I hope to merge this in during this week. What minSdk are you targeting?
If this is really urgent, you could clone the repo and set the minSdk yourself as a temporary solution until the official one is published to Maven Central.
Currently the library only requires DateUtils#getRelativeTimeSpanString which is available since API 3. So in theory the minSdk can be set to 3.