signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.77k stars 3.02k forks source link

.fpl Files Sent as Text Instead of Downloadable Attachments in Signal (iPadOS) #5876

Open tomduese opened 1 week ago

tomduese commented 1 week ago

Bug description

When sending .fpl files (ForeFlight Plan files, a file with a XML format) from one iPhone to another iPad via Signal, the files now appear in the chat with their content displayed, rather than as a downloadable file. Previously, these files could be sent and received in Signal as downloadable attachments. After a recent update, the content of the .fpl files is shown as text in the chat, which alters their functionality and requires a workaround (compressing and decompressing the files) to make them usable again in ForeFlight. Sending the same files through Airdrop for example, does not alter their functionality.

Steps to reproduce

Actual result: The .fpl file's content is displayed in the chat rather than appearing as a downloadable file.

Expected result: The .fpl file should appear as a downloadable file in the chat, as it did in previous Signal versions, so it can be directly downloaded and opened in ForeFlight without requiring additional steps. In the images below you can see the old behaviour when clicking on the file from the chat. Only the filename is displayed with the extension and when clicking to the top to do sth with that file, the dropdown shows the ForeFlight app to open it with it. This has changed as you can see in the 2nd image, where the content of that file is displayed and the app ForeFlight does not longer appear in the dropdown.

Screenshots

old behavior new_behavior

Device info

Device: iPhone SE 2022

iOS version: 17.6.1

Signal version (new behaviour): 7.28 (328) Signal version (with old behaviour): 7.22 (246)