Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ sentry.properties
# JVM crash and replay logs
hs_err_pid*.log
replay_pid*.log
# Keystore files — never commit signing keys
*.jks
*.keystore
4 changes: 2 additions & 2 deletions CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ A new keystore was generated with:
Key Alias: futon-key
Keystore Password: [from setup]
Key Password: [from setup]
SHA-256 Fingerprint: BB:1C:14:0D:E0:07:78:59:1F:93:D2:FB:43:AC:B3:5A:BA:86:71:3A:20:8F:6F:1A:D4:2D:29:EC:7D:3A:CD:C5
SHA-256 Fingerprint: EF:48:B2:2E:F2:C5:40:45:53:1F:6E:76:00:C2:7E:C3:D0:3B:71:22:1E:0B:05:FF:B6:8E:33:57:CF:8E:4D:40
```

## Local Development Setup
Expand Down Expand Up @@ -131,7 +131,7 @@ The workflow checks for commits since the last nightly release. If no commits ex

Current release keystore SHA-256 fingerprint:
```
BB:1C:14:0D:E0:07:78:59:1F:93:D2:FB:43:AC:B3:5A:BA:86:71:3A:20:8F:6F:1A:D4:2D:29:EC:7D:3A:CD:C5
EF:48:B2:2E:F2:C5:40:45:53:1F:6E:76:00:C2:7E:C3:D0:3B:71:22:1E:0B:05:FF:B6:8E:33:57:CF:8E:4D:40
```

This matches the built-in app validator check in `AppValidator.kt`. All release builds must use a keystore with this fingerprint for proper app signature validation.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Join our Discord for support, discussion, and announcements: https://discord.gg/
### Certificate fingerprints

```plaintext
BB:1C:14:0D:E0:07:78:59:1F:93:D2:FB:43:AC:B3:5A:BA:86:71:3A:20:8F:6F:1A:D4:2D:29:EC:7D:3A:CD:C5
EF:48:B2:2E:F2:C5:40:45:53:1F:6E:76:00:C2:7E:C3:D0:3B:71:22:1E:0B:05:FF:B6:8E:33:57:CF:8E:4D:40
```

### License
Expand Down
7 changes: 7 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,11 @@ sentry {
// this will upload your source code to Sentry to show it as part of the stack traces
// disable if you don't want to expose your sources
includeSourceContext = true

// Skip all Sentry Gradle plugin tasks (source upload, mapping upload, etc.)
// if SENTRY_AUTH_TOKEN is not provided — avoids build errors in local/dev environments
def sentryAuthToken = System.getenv('SENTRY_AUTH_TOKEN')
includeSourceContext = sentryAuthToken != null && !sentryAuthToken.isEmpty()
autoUploadProguardMapping = sentryAuthToken != null && !sentryAuthToken.isEmpty()
autoUploadSourceContext = sentryAuthToken != null && !sentryAuthToken.isEmpty()
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ class AppValidator @Inject constructor(
}

private companion object {
private const val CERT_SHA256 = "67e15100bb809301783edcb6348fa3bbf83034d91e62868a91053dbd70db3f18"
private const val CERT_SHA256 = "ef48b22ef2c54045531f6e7600c27ec3d03b71221e0b05ffb68e3357cf8e4d40"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ class AppSettings @Inject constructor(@ApplicationContext context: Context) {
get() = prefs.getBoolean(KEY_STATS_ENABLED, false)

var isCrashAnalyticsEnabled: Boolean
get() = prefs.getBoolean(KEY_CRASH_ANALYTICS_ENABLED, true)
get() = prefs.getBoolean(KEY_CRASH_ANALYTICS_ENABLED, false)
set(value) = prefs.edit { putBoolean(KEY_CRASH_ANALYTICS_ENABLED, value) }

val isAutoLocalChaptersCleanupEnabled: Boolean
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/sheet_welcome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_normal"
android:checked="true" />
android:checked="false" />

</LinearLayout>

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/pref_services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
app:icon="@drawable/ic_discord" />

<SwitchPreferenceCompat
android:defaultValue="true"
android:defaultValue="false"
android:key="crash_analytics_enabled"
android:summary="@string/crash_reporting_summary"
android:title="@string/crash_reporting"
Expand Down
Loading