Briar Mailbox issueshttps://code.briarproject.org/briar/briar-mailbox/-/issues2023-06-19T14:35:27Zhttps://code.briarproject.org/briar/briar-mailbox/-/issues/195IllegalStateException: Hilt service must be attached to an @AndroidEntryPoint...2023-06-19T14:35:27ZakwizgranIllegalStateException: Hilt service must be attached to an @AndroidEntryPoint Application* Android version: 12
* Phone model: TECNO TECNO-BF6 (TECNO POP 7)
* Mailbox version: 1.0.5
Stacktrace:
```
Exception java.lang.RuntimeException:
at android.app.ActivityThread.handleCreateService (ActivityThread.java:4579)
at androi...* Android version: 12
* Phone model: TECNO TECNO-BF6 (TECNO POP 7)
* Mailbox version: 1.0.5
Stacktrace:
```
Exception java.lang.RuntimeException:
at android.app.ActivityThread.handleCreateService (ActivityThread.java:4579)
at android.app.ActivityThread.access$1700 (ActivityThread.java:272)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2138)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7981)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:553)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)
Caused by java.lang.IllegalStateException: Hilt service must be attached to an @AndroidEntryPoint Application. Found: class android.app.Application
at dagger.hilt.internal.Preconditions.checkState (Preconditions.java:10)
at dagger.hilt.android.internal.managers.ServiceComponentManager.generatedComponent (ServiceComponentManager.java:25)
at org.briarproject.mailbox.android.Hilt_MailboxService.generatedComponent (Hilt_MailboxService.java:5)
at org.briarproject.mailbox.android.Hilt_MailboxService.inject (Hilt_MailboxService.java:8)
at org.briarproject.mailbox.android.Hilt_MailboxService.onCreate (Hilt_MailboxService.java:1)
at org.briarproject.mailbox.android.MailboxService.onCreate (MailboxService.kt:1)
at android.app.ActivityThread.handleCreateService (ActivityThread.java:4566)
```https://code.briarproject.org/briar/briar-mailbox/-/issues/190Pairing issue: Jackson 2.14.x can't serialize on Android < 8 (SDK 26)2023-08-28T16:00:11ZTorsten GrotePairing issue: Jackson 2.14.x can't serialize on Android < 8 (SDK 26)ktor-serialization-jackson 2.2.3 depends on jackson-databind 2.14.1. but jackson 2.14 has dropped support for android < 26
upstream ticket: https://youtrack.jetbrains.com/issue/KTOR-5579/Jackson-serialization-is-broken-on-older-Android-...ktor-serialization-jackson 2.2.3 depends on jackson-databind 2.14.1. but jackson 2.14 has dropped support for android < 26
upstream ticket: https://youtrack.jetbrains.com/issue/KTOR-5579/Jackson-serialization-is-broken-on-older-Android-devices
downgrading ktor to 2.1.3 would give us a temporary workaround, if needed
https://github.com/ktorio/ktor/blob/2.1.3/gradle/libs.versions.toml
forcing a jackson version without downgrading ktor may also work.
other serialization options: https://ktor.io/docs/serialization.html#register_jsonMailbox: Releasehttps://code.briarproject.org/briar/briar-mailbox/-/issues/154Last connection on the mailbox status screen not updating as minutes pass by2023-08-28T16:00:11ZIvanaLast connection on the mailbox status screen not updating as minutes pass bySteps to reproduce
- do not keep activities = ON
- on any two device where Briar and Mailbox are linked check the values for last connection.
- this can be after initial linking, or after the screens have fallen asleep and been woken ...Steps to reproduce
- do not keep activities = ON
- on any two device where Briar and Mailbox are linked check the values for last connection.
- this can be after initial linking, or after the screens have fallen asleep and been woken up, or after the link Check Connection on Briar is tapped
- What happens is that initially both values are set to 'now' and the Briar device then updates its 'last connection' value as minutes roll by, but the mailbox device does not.
- Here are the photos to illustrate
- Whilst I was typing this and taking the photos, the difference has become 7 mins...
- after the mailbox screen falls asleep and is reactivate by the user - the value is reset to the correct value - ie the same as on the Briar app
- Andanother microscoping inconsistency with briar screens - on mailbox Last connection says 1 min. ago, on Briar it says 1 min ago. Ie in one place we have a full stop after the short 'min', and in the other place we do not. This really is splitting hairs, but I thought as we will be looking into it anyway, we may as well make it consistent. It should take only a milisecond to do it.
![20220808_145527](/uploads/5d30834bc307c2391773262381aaee21/20220808_145527.jpg)
![20220808_145620](/uploads/030d1fd2ad075b07f3fbef23471a3564/20220808_145620.jpg)
![20220808_145714](/uploads/610ee7753f5ae0066fa0694ddcd70742/20220808_145714.jpg)