SHA256
feat(android): replace WebView with tested native Compose API slice
Add real native onboarding/auth/dashboard/tasks/notes/shopping, origin-bound HTTPS and encrypted AndroidKeyStore session persistence. Archive the superseded browser renderer and tests. Verify 10 JVM tests, 6 native API-35 emulator tests, lintDebug/lintRelease and debug/unsigned release APK/AAB builds; the real upstream suite passes 7 tests and exports a nonblank native fixture screenshot. Tink host-tool update removes the old generated-protobuf warning. Full module/visual parity remains explicitly incomplete.
This commit is contained in:
1 parent
81973c3c45
commit
8c480ddca3
28 files changed
+2628
-742
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package community.yuvomi.mobile
|
||||
|
||||
import org.junit.Assert.assertFalse
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
|
||||
class BlobOriginsTest {
|
||||
@Test fun blobDownloadsCannotCrossOriginsOrDowngradeTls() {
|
||||
val server = ServerAddress.parse("https://family.example")
|
||||
assertTrue(BlobTransfer.owns(server, "blob:https://family.example/unique-id"))
|
||||
listOf(
|
||||
"blob:https://evil.example/id", "blob:http://family.example/id",
|
||||
"blob:https://family.example.evil.test/id", "data:text/plain,hi",
|
||||
).forEach { assertFalse(it, BlobTransfer.owns(server, it)) }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user