diff --git a/CHANGELOG.md b/CHANGELOG.md
index bed72c3a3f..d852f18b2d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,13 +6,15 @@
* Use server for downloading initial community metadata if v2 invitation link is detected ([#2295](https://github.com/TryQuiet/quiet/issues/2295))
# Refactorings:
+
* Consolidate colors and align theme with MUI standards ([#2445](https://github.com/TryQuiet/quiet/issues/2445))
# Fixes:
+
* Disable spellCheck/autoCorrect on non-spelling sensitive fields like usernames and channels ([#373](https://github.com/TryQuiet/quiet/issues/373))
* Fixes issue with reconnecting to peers on resume on iOS ([#2424](https://github.com/TryQuiet/quiet/issues/2424))
-
* Fixes references to 'invite code' to be 'invite link' in UI ([#2441](https://github.com/TryQuiet/quiet/issues/2441))
+* Fixes issue with image messages not displaying/throwing errors on iOS ([#2526](https://github.com/TryQuiet/quiet/issues/2526))
# Chores
diff --git a/packages/backend/src/nest/connections-manager/connections-manager.service.ts b/packages/backend/src/nest/connections-manager/connections-manager.service.ts
index e59a68b467..1cf970bdcb 100644
--- a/packages/backend/src/nest/connections-manager/connections-manager.service.ts
+++ b/packages/backend/src/nest/connections-manager/connections-manager.service.ts
@@ -699,7 +699,6 @@ export class ConnectionsManagerService extends EventEmitter implements OnModuleI
if (this.communityId) {
this.serverIoProvider.io.emit(SocketActionTypes.COMMUNITY_LAUNCHED, { id: this.communityId })
this.logger.info('this.libp2pService.connectedPeers', this.libp2pService.connectedPeers)
- this.logger.info('this.libp2pservice', this.libp2pService)
this.logger.info('this.libp2pService.dialedPeers', this.libp2pService.dialedPeers)
this.serverIoProvider.io.emit(
SocketActionTypes.CONNECTED_PEERS,
diff --git a/packages/backend/src/nest/socket/socket.service.ts b/packages/backend/src/nest/socket/socket.service.ts
index 6f137f3436..e1c61e5df8 100644
--- a/packages/backend/src/nest/socket/socket.service.ts
+++ b/packages/backend/src/nest/socket/socket.service.ts
@@ -158,7 +158,7 @@ export class SocketService extends EventEmitter implements OnModuleInit {
socket.on(
SocketActionTypes.CREATE_COMMUNITY,
async (payload: InitCommunityPayload, callback: (response: Community | undefined) => void) => {
- this.logger.info(`Creating community ${payload.id}`)
+ this.logger.info(`Creating community`, payload.id)
this.emit(SocketActionTypes.CREATE_COMMUNITY, payload, callback)
}
)
diff --git a/packages/mobile/CHANGELOG.md b/packages/mobile/CHANGELOG.md
index ce167400e2..6c476340d9 100644
--- a/packages/mobile/CHANGELOG.md
+++ b/packages/mobile/CHANGELOG.md
@@ -9,6 +9,7 @@
* Fixes issue with reconnecting to peers on resume on iOS ([#2424](https://github.com/TryQuiet/quiet/issues/2424))
* Update github workflows for PR gating ([#2487](https://github.com/TryQuiet/quiet/issues/2487))
* Don't create duplicate CSRs when joining a community under certain circumstances ([#2321](https://github.com/TryQuiet/quiet/issues/2321))
+* Fixes issue with image messages not displaying/throwing errors on iOS ([#2526](https://github.com/TryQuiet/quiet/issues/2526))
[2.2.0]
diff --git a/packages/mobile/ios/Quiet/Info.plist b/packages/mobile/ios/Quiet/Info.plist
index c4726e56d9..d721c28bcb 100644
--- a/packages/mobile/ios/Quiet/Info.plist
+++ b/packages/mobile/ios/Quiet/Info.plist
@@ -39,6 +39,8 @@
LSRequiresIPhoneOS
+ LSSupportsOpeningDocumentsInPlace
+
NSAppTransportSecurity
NSAllowsArbitraryLoads
@@ -54,8 +56,16 @@
+ NSAppleMusicUsageDescription
+ Quiet uses the document directory for storing files and images sent through the app.
+ NSDocumentsFolderUsageDescription
+ Quiet uses the document directory for storing files and images sent through the app.
NSLocationWhenInUseUsageDescription
+ NSPhotoLibraryLimitedAccessAPISupport
+
+ NSPhotoLibraryUsageDescription
+ Quiet access photos for sending images through the app.
UIAppFonts
Rubik-Black.ttf
@@ -75,6 +85,8 @@
UIBackgroundModes
+ UIFileSharingEnabled
+
UILaunchStoryboardName
LaunchScreen
UIRequiredDeviceCapabilities
diff --git a/packages/mobile/src/components/UploadedImage/UploadedImage.component.tsx b/packages/mobile/src/components/UploadedImage/UploadedImage.component.tsx
index 87553986fa..761dfcc258 100644
--- a/packages/mobile/src/components/UploadedImage/UploadedImage.component.tsx
+++ b/packages/mobile/src/components/UploadedImage/UploadedImage.component.tsx
@@ -7,15 +7,18 @@ import FastImage from 'react-native-fast-image'
export const UploadedImage: FC = ({ media, openImagePreview }) => {
const { path, width, height } = media
+ const aspectRatio = width && height ? width / height : undefined
const maxWidth = width && width >= 400 ? 400 : width
return (
-
+
{!path || !width || !height ? (
) : (
openImagePreview(media)}>
-
+
+
+
)}
diff --git a/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts b/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts
index bb8cb10c3f..34eab2a88b 100644
--- a/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts
+++ b/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts
@@ -95,7 +95,7 @@ export function subscribe(socket: Socket) {
})
// Misc
socket.on(SocketActionTypes.PEER_CONNECTED, (payload: { peers: string[] }) => {
- logger.info(`${SocketActionTypes.PEER_CONNECTED}: ${payload}`)
+ logger.info(`${SocketActionTypes.PEER_CONNECTED}`, payload)
emit(networkActions.addConnectedPeers(payload.peers))
})
socket.on(SocketActionTypes.PEER_DISCONNECTED, (payload: NetworkDataPayload) => {