-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update SDK to version 30. Update several libraries. Use SAF to create…
… backup files
- Loading branch information
Zoe Anderson
committed
Oct 18, 2020
1 parent
4c2952f
commit f23c65b
Showing
55 changed files
with
247 additions
and
297 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
4 changes: 2 additions & 2 deletions
4
app/src/androidTest/java/com/log28/ExampleInstrumentedTest.kt
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,11 @@ | ||
package com.log28 | ||
|
||
import android.app.Application | ||
import android.content.Context | ||
import io.realm.Realm | ||
import org.acra.annotation.* | ||
import org.acra.ACRA | ||
import org.acra.BuildConfig | ||
import org.acra.annotation.AcraCore | ||
import org.acra.sender.HttpSender | ||
|
||
// This is the code that sets up crash reporting | ||
// When the application crashes, we have a notification that asks the user to send a crash report | ||
// It is sent currently to a ACRA server running on my network. | ||
// TODO get an actual server for crash reproting | ||
@AcraCore(buildConfigClass = BuildConfig::class) | ||
@AcraHttpSender(uri = "http://crash.log28.com:55000/send", httpMethod = HttpSender.Method.POST) | ||
@AcraNotification(resTitle = R.string.crash_title, | ||
resText = R.string.crash_text, | ||
resChannelName = R.string.notification_channel) | ||
class Log28 : Application() { | ||
|
||
override fun onCreate() { | ||
super.onCreate() | ||
Realm.init(this) | ||
} | ||
|
||
override fun attachBaseContext(base: Context?) { | ||
super.attachBaseContext(base) | ||
ACRA.init(this); | ||
} | ||
} |
Oops, something went wrong.