This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package buildscript | |
import java.io.BufferedWriter | |
import java.io.File | |
import java.io.IOException | |
import java.util.concurrent.TimeUnit | |
const val DEBUG = false | |
val PREFIXES = listOf("#", "%", "@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.json.JSONObject; | |
import java.io.IOException; | |
import io.branch.referral.network.BranchRemoteInterface; | |
import okhttp3.MediaType; | |
import okhttp3.OkHttpClient; | |
import okhttp3.Request; | |
import okhttp3.RequestBody; | |
import okhttp3.Response; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log | |
import com.crashlytics.android.Crashlytics | |
import timber.log.Timber | |
import java.util.* | |
class CrashlyticsTree(val logLevel: Int) : Timber.Tree() { | |
override fun isLoggable(tag: String?, priority: Int): Boolean { | |
return priority >= logLevel | |
} |