Commit edb77e7f authored by Ricki Hirner's avatar Ricki Hirner

Show ical4j version in User-Agent

parent 5abdcf7b
......@@ -10,12 +10,13 @@ package at.bitfire.icsdroid
import android.net.Uri
import android.os.Build
import at.bitfire.ical4android.Constants
object Constants {
const val TAG = "icsdroid"
val USER_AGENT = "ICSdroid/" + BuildConfig.VERSION_NAME + " (Android/" + Build.VERSION.RELEASE + ")"
val USER_AGENT = "ICSdroid/" + BuildConfig.VERSION_NAME + " (ical4j/" + Constants.ical4jVersion + " Android/" + Build.VERSION.RELEASE + ")"
const val MAX_REDIRECTS = 5
val donationUri = Uri.parse("https://icsdroid.bitfire.at/donate/?pk_campaign=icsdroid-app")!!
......
Subproject commit d5f37330c8f5998c9075ae67f6021c469bb0b9f4
Subproject commit 7851ea3a8b54193d757d4c084eb7794e602de60a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment