Skip to content

Commit

Permalink
fix: fdroid start crash and icon color (#2910)
Browse files Browse the repository at this point in the history
Co-authored-by: Lisa Marie Maginnis <[email protected]>
  • Loading branch information
MohamadJaara and e-lisa authored Apr 19, 2024
1 parent ccbd030 commit 90f6c8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,26 +69,22 @@ android {

sourceSets {
// Add the "foss" sourceSets for the fdroid flavor

if (fdroidBuild) {
getByName("fdroid") {
java.srcDirs("src/foss/kotlin", "src/prod/kotlin")
resources.srcDirs("src/prod/res")
res.srcDirs("src/prod/res")
println("Building with FOSS sourceSets")
}
// For all other flavors use the "nonfree" sourceSets
} else {
getByName("main") {
java.srcDirs("src/main/kotlin", "src/nonfree/kotlin")
java.srcDirs("src/nonfree/kotlin")
println("Building with non-free sourceSets")
}
}
}
}




dependencies {
implementation("com.wire.kalium:kalium-logic")
implementation("com.wire.kalium:kalium-util")
Expand Down
6 changes: 6 additions & 0 deletions app/src/fdroid/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,11 @@
android:name="com.wire.android.initializer.FirebaseInitializer"
tools:node="remove" />

<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:node="remove" />

</application>
</manifest>

0 comments on commit 90f6c8d

Please sign in to comment.