Unverified Commit e9010cfd authored by vanitasvitae's avatar vanitasvitae
Browse files

Add SDK Search

parent 99c9916d
Categories:
- Development
License: Apache-2.0
AuthorName: Jake Wharton
AuthorEmail: jakewharton+sdksearch@gmail.com
SourceCode: https://github.com/JakeWharton/SdkSearch
IssueTracker: https://github.com/JakeWharton/SdkSearch/issues
Changelog: https://raw.githubusercontent.com/JakeWharton/SdkSearch/HEAD/CHANGELOG.md
AutoName: SDK Search
RepoType: git
Repo: https://github.com/JakeWharton/SdkSearch
Builds:
- versionName: 1.4.1
versionCode: 1040100
commit: 1.4.1.0
patch:
- bugsnag.patch
gradle:
- yes
output: frontend/android/build/outputs/apk/release/sdk-search-release-unsigned.apk
prebuild: sed -i -e 's,"https://kotlin.bintray.com/kotlinx","https://jitpack.io",g'
-e '/dl.bintray.com/d' -e 's,org.jetbrains.kotlin:kotlin-frontend-plugin,com.github.Kotlin.kotlin-frontend-plugin:kotlin-frontend,g'
build.gradle
AutoUpdateMode: None
UpdateCheckMode: Tags
From b373662535492696332004a232a4490c54ed0683 Mon Sep 17 00:00:00 2001
From: Paul Schaub <vanitasvitae@fsfe.org>
Date: Mon, 2 Dec 2019 17:00:45 +0100
Subject: [PATCH] Remove bug reporting
diff --git a/frontend/android/src/main/java/com/jakewharton/sdksearch/SdkSearchApplication.kt b/frontend/android/src/main/java/com/jakewharton/sdksearch/SdkSearchApplication.kt
index 247508d..1fd0e27 100644
--- a/frontend/android/src/main/java/com/jakewharton/sdksearch/SdkSearchApplication.kt
+++ b/frontend/android/src/main/java/com/jakewharton/sdksearch/SdkSearchApplication.kt
@@ -18,27 +18,6 @@ class SdkSearchApplication : Application(), HasActivityInjector {
override fun onCreate() {
super.onCreate()
- if (BuildConfig.IS_CI_BUILD || !BuildConfig.DEBUG) {
- check(BuildConfig.BUGSNAG_API_KEY.isNotBlank()) {
- "Bugsnag API key is blank. Check the README and your Gradle configuration!"
- }
-
- val client = Bugsnag.init(this, BuildConfig.BUGSNAG_API_KEY)
-
- client.setReleaseStage(BuildConfig.BUILD_TYPE)
- client.setProjectPackages("com.jakewharton.sdksearch")
-
- client.addToTab("App", "commitTime", formattedCommitTime())
- client.addToTab("App", "commitSha", BuildConfig.COMMIT_SHA)
-
- val tree = BugsnagTree(client)
- Timber.plant(tree)
- client.beforeNotify {
- tree.update(it)
- return@beforeNotify true
- }
- }
-
if (BuildConfig.DEBUG) {
Timber.plant(LogcatTree())
}
--
2.24.0
SDK Search lets you easily browse the Android SDK documentation.
In the list of classes you can quickly find what you are looking for.
Supports Markdown
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