briar issueshttps://code.briarproject.org/briar/briar/-/issues2020-06-30T15:22:04Zhttps://code.briarproject.org/briar/briar/-/issues/1624Investigate whether IPv6 link-local addresses work over consumer wifi networks2020-06-30T15:22:04ZakwizgranInvestigate whether IPv6 link-local addresses work over consumer wifi networks[Meshenger](https://github.com/meshenger-app/meshenger-android/blob/master/docs/Documentation.md) uses IPv6 link-local addresses to communicate with peers on the same LAN. A device's link-local address is derived from its MAC address, so...[Meshenger](https://github.com/meshenger-app/meshenger-android/blob/master/docs/Documentation.md) uses IPv6 link-local addresses to communicate with peers on the same LAN. A device's link-local address is derived from its MAC address, so it's the same on every LAN.
If this works reliably on consumer wifi networks it would have a major advantage over our current approach: contacts that connect to a new network would be able to connect to each other immediately without first exchanging updated transport properties via some other transport.
If it works when one of the devices is providing a wifi hotspot, it might also provide an alternative to #1328.
Related to #28, #1193, #1328.Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1621Contact link disappears after selecting and copying on API 15-172021-02-12T13:04:27ZakwizgranContact link disappears after selecting and copying on API 15-17On the emulator running API 15-17, the user's own contact link disappears when selected, and doesn't reappear after the selection has been copied. The link reappears when the screen is rotated.
This happens with both software and hardwa...On the emulator running API 15-17, the user's own contact link disappears when selected, and doesn't reappear after the selection has been copied. The link reappears when the screen is rotated.
This happens with both software and hardware rendering, making me think it's unlikely to be an emulator bug. It doesn't happen on the emulator running API 18+. Assigning to myself to reproduce on a real device.Android 1.2IvanaIvanahttps://code.briarproject.org/briar/briar/-/issues/1618Removing local messages from contact2019-10-14T11:58:44ZHansRemoving local messages from contactQuickly checked a few classes and searched for a way to delete them but I am unable to get a clue of how to properly do this, is there even a function yet to do this? I see the deleteContact function which deletes all information from th...Quickly checked a few classes and searched for a way to delete them but I am unable to get a clue of how to properly do this, is there even a function yet to do this? I see the deleteContact function which deletes all information from the db but that's not what I want to achieve.
Maybe I was looking at the wrong place or missed it, I might need a hint or a facepalm in that case.
Hanshttps://code.briarproject.org/briar/briar/-/issues/1616A dumb issue2019-08-05T01:48:15ZKyf LeeA dumb issuehttps://code.briarproject.org/briar/briar/-/issues/1614Android studio - No dependency for integrity assertion2020-11-16T10:32:41ZjomocuAndroid studio - No dependency for integrity assertionI have finally managed to load the project correctly.
When I open android studio, everything appears right.
**Screenshot:** https://i.imgur.com/0ffGl14.png
But when trying to run the program on the virtual machine it shows me this erro...I have finally managed to load the project correctly.
When I open android studio, everything appears right.
**Screenshot:** https://i.imgur.com/0ffGl14.png
But when trying to run the program on the virtual machine it shows me this error ...
*No dependency for integrity assertion 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3:uiautomator-v18-2.1.3.aar:15e6b3c7104859630bf844e31805aa7cb2eb4b385e6119ab34132c8258eee2c4'*
**Screenshot:** https://i.imgur.com/qMLVVqR.png
I am running the virtual machine "Nexus One API 23", I use android 6 without the api of google play.
Any idea how to solve this?
Thankshttps://code.briarproject.org/briar/briar/-/issues/1612Latest version in F-Droid main repo is 1.2.102021-03-11T12:22:30ZakwizgranLatest version in F-Droid main repo is 1.2.10~~The F-Droid main repo hasn't picked up any of our releases since 1.1.6 in March.~~
~~The F-Droid build server couldn't reproduce the 1.2.9 release.~~
~~F-Droid couldn't parse the version numbers in the 1.2.11 - 1.2.13 releases.~~
F-...~~The F-Droid main repo hasn't picked up any of our releases since 1.1.6 in March.~~
~~The F-Droid build server couldn't reproduce the 1.2.9 release.~~
~~F-Droid couldn't parse the version numbers in the 1.2.11 - 1.2.13 releases.~~
F-Droid failed to reproduce the 1.2.16 build due to differences in the Tor and obfs4proxy binaries.Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1611"Add contact at a distance" share action is available in 1.1 releases2019-11-06T09:48:24Zakwizgran"Add contact at a distance" share action is available in 1.1 releasesThe remote contact feature is accessible in recent releases from the 1.1 series via the "add contact at a distance" share action.The remote contact feature is accessible in recent releases from the 1.1 series via the "add contact at a distance" share action.Android 1.1https://code.briarproject.org/briar/briar/-/issues/1610Pending contact list shows "no internet connection" when empty2019-11-06T09:54:17ZakwizgranPending contact list shows "no internet connection" when emptyIf the pending contact list is opened concurrently with the last pending contact being removed (unlikely but possible - it happened to me accidentally while testing !1152) then the "no internet connection" snackbar is shown even though t...If the pending contact list is opened concurrently with the last pending contact being removed (unlikely but possible - it happened to me accidentally while testing !1152) then the "no internet connection" snackbar is shown even though the app is connected to Tor.
![device-2019-07-01-170738](/uploads/b314816dbe11b6a327f81498adafa442/device-2019-07-01-170738.png)Android 1.2Torsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/1609AssertionError when sending all-whitespace message2019-10-09T12:17:49ZakwizgranAssertionError when sending all-whitespace message* Android version: 7.1.2
* Phone model: Hisense A2M
* Briar version: 1.1.8 (6b022af)
* User feedback: "Send nothing (a space)"
Stacktrace:
```
java.lang.AssertionError
at org.briarproject.briar.android.conversation.ConversationA...* Android version: 7.1.2
* Phone model: Hisense A2M
* Briar version: 1.1.8 (6b022af)
* User feedback: "Send nothing (a space)"
Stacktrace:
```
java.lang.AssertionError
at org.briarproject.briar.android.conversation.ConversationActivity.onSendClick(ConversationActivity.java:712)
at org.briarproject.briar.android.view.TextSendController.onSendEvent(TextSendController.java:49)
at org.briarproject.briar.android.view.TextSendController.lambda$new$0$TextSendController(TextSendController.java:34)
at org.briarproject.briar.android.view.-$$Lambda$TextSendController$10Be2Hyuh5TqgqEmcNIq7rn_c-c.onClick(lambda)
at android.view.View.performClick(View.java:5644)
at android.view.View$PerformClick.run(View.java:22440)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6166)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
```
I can reproduce this by sending an all-whitespace message. We trim the text in EmojiTextInputView#getText(), but we call TextInputListener#onTextIsEmptyChanged() when the untrimmed text becomes empty/non-empty. This causes the send button to be enabled when all-whitespace text is entered, but then ConversationActivity#onSendClick() asserts that it can only be called if the text (now trimmed) is non-empty or the attachments list is non-empty.Android 1.1akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1607OOM errors2022-04-19T11:27:41ZakwizgranOOM errorsRecently we've had four crash reports with OOM errors. Three of the errors had the Rome RSS library in the stacktrace; the fourth happened in UI code but the log showed that Rome had recently thrown a parsing exception. We upgraded Rome ...Recently we've had four crash reports with OOM errors. Three of the errors had the Rome RSS library in the stacktrace; the fourth happened in UI code but the log showed that Rome had recently thrown a parsing exception. We upgraded Rome from 1.7.3 to 1.10.0 in ccbeee60 (included in Briar 1.1.3).
~~I suspect the problem is [this bug](https://github.com/rometools/rome/issues/401), which was fixed in Rome 1.12.0, so upgrading may fix the issue.~~
Upgrading Rome didn't fix the issue. We've had 23 OOM reports with various stacktraces in versions 1.1.7 to 1.2.3 beta.Android 1.4akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1606ClassCastException when opening conversation with contact who supports images2019-06-28T13:28:39ZakwizgranClassCastException when opening conversation with contact who supports images* Android version: 9
* Phone model: Xiaomi Mi A1
* Briar version: 1.1.7 (37d0b61)
Stacktrace:
```
java.lang.ClassCastException: org.briarproject.briar.android.view.TextSendController cannot be cast to org.briarproject.briar.android.view...* Android version: 9
* Phone model: Xiaomi Mi A1
* Briar version: 1.1.7 (37d0b61)
Stacktrace:
```
java.lang.ClassCastException: org.briarproject.briar.android.view.TextSendController cannot be cast to org.briarproject.briar.android.view.TextAttachmentController
at org.briarproject.briar.android.conversation.ConversationActivity.showImageOnboarding(ConversationActivity.java:730)
at org.briarproject.briar.android.conversation.ConversationActivity.lambda$tKsX2hu-pmpHBYdC5ev_sWoOCXk(Unknown Source:0)
at org.briarproject.briar.android.conversation.-$$Lambda$ConversationActivity$tKsX2hu-pmpHBYdC5ev_sWoOCXk.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
```
The crash is caused by failing to check the image attachments feature flag before calling showImageOnboarding(). This is fixed on master but will happen for Briar 1.1.7 (and possibly some earlier releases) when contacts upgrade to a version that supports image attachments, including 1.2 and 1.3 alpha releases.
Fortunately I've found a sneaky workaround: we bump the client minor version to 2. Briar 1.1.7 only considers that a contact supports image attachments if the minor version is exactly 1 (this is also fixed on master, but fortunately didn't make it into the 1.1.7 release).Android 1.3akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1605Allow access to urls with a click2019-06-28T09:28:15ZjomocuAllow access to urls with a clickIt would be great, to support that function, even for special domains (.bit .o among many others)
https://www.opennic.org
regardsIt would be great, to support that function, even for special domains (.bit .o among many others)
https://www.opennic.org
regardshttps://code.briarproject.org/briar/briar/-/issues/1604Briar desktop (Idea)2019-06-28T09:27:21ZjomocuBriar desktop (Idea)It would be great to have "briar desktop" for computers.
Windows, Linux and Mac
RegardsIt would be great to have "briar desktop" for computers.
Windows, Linux and Mac
Regardshttps://code.briarproject.org/briar/briar/-/issues/1603Calls and videocalls (Idea)2019-06-28T10:36:21ZjomocuCalls and videocalls (Idea)I think it would be great to add calls and video calls to the application.
With the possibility of "Compressing data" in mobile data...
Greetings and good projectI think it would be great to add calls and video calls to the application.
With the possibility of "Compressing data" in mobile data...
Greetings and good projecthttps://code.briarproject.org/briar/briar/-/issues/1599[headless] obsolete dependency integrity assertion2019-08-14T14:22:42Ziwakeh[headless] obsolete dependency integrity assertion[Line 61](https://code.briarproject.org/briar/briar/blob/master/briar-headless/witness.gradle#L61) in briar-headless/witness.gradle seems redundant.[Line 61](https://code.briarproject.org/briar/briar/blob/master/briar-headless/witness.gradle#L61) in briar-headless/witness.gradle seems redundant.https://code.briarproject.org/briar/briar/-/issues/1598headless: add RSS feed functionality2019-08-08T12:58:09Ziwakehheadless: add RSS feed functionalityIt would be great to have the RSS feed functionality in briar-headless.
(I could help with the implementation with a little info about how to approach this best.)It would be great to have the RSS feed functionality in briar-headless.
(I could help with the implementation with a little info about how to approach this best.)https://code.briarproject.org/briar/briar/-/issues/1597make headless module start w/o running Tor2019-07-14T15:57:14Ziwakehmake headless module start w/o running TorIs there a way to reuse an existing Tor connection and avoid starting a Tor instance when running the headless jar?
Or, simply run it w/o Tor?Is there a way to reuse an existing Tor connection and avoid starting a Tor instance when running the headless jar?
Or, simply run it w/o Tor?https://code.briarproject.org/briar/briar/-/issues/1594Preview fails to load when sending second message with attachments2019-10-09T12:18:24ZakwizgranPreview fails to load when sending second message with attachmentsAfter sending a message with an attachment, I'm unable to send a second message with an attachment because the preview fails to load.
Test device: Honor 8A (Android 9).After sending a message with an attachment, I'm unable to send a second message with an attachment because the preview fails to load.
Test device: Honor 8A (Android 9).Android 1.3akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1593RuntimeException when scanning QR code2019-10-09T12:18:48ZakwizgranRuntimeException when scanning QR codeBriar crashed while scanning a QR code. This looks like a bug in libcore or the standard library so I'm not adding it to the current milestone for now. If we get crash reports then let's add it to the milestone and look for a workaround....Briar crashed while scanning a QR code. This looks like a bug in libcore or the standard library so I'm not adding it to the current milestone for now. If we get crash reports then let's add it to the milestone and look for a workaround.
* Android version: 9 (EMUI 9.0.1)
* Phone model: Honor 8A
* Briar version: current master (d210215b)
Stacktrace:
```
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:355)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:784)
Caused by: java.lang.AssertionError: impossible
at java.lang.Enum$1.create(Enum.java:272)
at java.lang.Enum$1.create(Enum.java:262)
at libcore.util.BasicLruCache.get(BasicLruCache.java:58)
at java.lang.Enum.getSharedConstants(Enum.java:289)
at java.lang.Class.getEnumConstantsShared(Class.java:2423)
at java.util.EnumMap.getKeyUniverse(EnumMap.java:755)
at java.util.EnumMap.<init>(EnumMap.java:138)
at com.google.zxing.Result.putMetadata(Result.java:117)
at com.google.zxing.qrcode.QRCodeReader.decode(QRCodeReader.java:90)
at org.briarproject.briar.android.keyagreement.QrCodeDecoder$DecoderTask.doInBackground(QrCodeDecoder.java:109)
at org.briarproject.briar.android.keyagreement.QrCodeDecoder$DecoderTask.doInBackground(QrCodeDecoder.java:91)
at android.os.AsyncTask$2.call(AsyncTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:784)
Caused by: java.lang.NoSuchMethodException: values []
at java.lang.Class.getMethod(Class.java:2068)
at java.lang.Class.getDeclaredMethod(Class.java:2047)
at java.lang.Enum$1.create(Enum.java:268)
at java.lang.Enum$1.create(Enum.java:262)
at libcore.util.BasicLruCache.get(BasicLruCache.java:58)
at java.lang.Enum.getSharedConstants(Enum.java:289)
at java.lang.Class.getEnumConstantsShared(Class.java:2423)
at java.util.EnumMap.getKeyUniverse(EnumMap.java:755)
at java.util.EnumMap.<init>(EnumMap.java:138)
at com.google.zxing.Result.putMetadata(Result.java:117)
at com.google.zxing.qrcode.QRCodeReader.decode(QRCodeReader.java:90)
at org.briarproject.briar.android.keyagreement.QrCodeDecoder$DecoderTask.doInBackground(QrCodeDecoder.java:109)
at org.briarproject.briar.android.keyagreement.QrCodeDecoder$DecoderTask.doInBackground(QrCodeDecoder.java:91)
at android.os.AsyncTask$2.call(AsyncTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:784)
```Android 1.1akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1592Improve handling of missing attachments in UI2020-10-30T16:20:25ZakwizgranImprove handling of missing attachments in UIWhen MessagingManager#getAttachment() throws NoSuchMessageException, the UI should try to display any attachments that have been received so far, without doing anything that may prevent the missing attachment from being displayed correct...When MessagingManager#getAttachment() throws NoSuchMessageException, the UI should try to display any attachments that have been received so far, without doing anything that may prevent the missing attachment from being displayed correctly when it arrives (e.g. caching an incomplete list of AttachmentItems).
Subtask of #1438.Android 1.3Torsten GroteTorsten Grote