Disable Siri, Share and Reply (from NSE) Extensions. (#7619)

This commit is contained in:
Doug 2023-07-12 10:26:43 +01:00 committed by GitHub
parent 9c8a8cf860
commit b4ebcc71c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 18 deletions

22
Podfile
View file

@ -104,11 +104,6 @@ abstract_target 'RiotPods' do
end
end
target "RiotShareExtension" do
import_MatrixSDK
import_MatrixKit_pods
end
target "RiotSwiftUI" do
import_SwiftUI_pods
end
@ -117,11 +112,6 @@ abstract_target 'RiotPods' do
import_SwiftUI_pods
end
target "SiriIntents" do
import_MatrixSDK
import_MatrixKit_pods
end
target "RiotNSE" do
import_MatrixSDK
import_MatrixKit_pods
@ -131,6 +121,18 @@ abstract_target 'RiotPods' do
import_MatrixSDK
end
# Disabled due to crypto corruption issues.
# https://github.com/vector-im/element-ios/issues/7618
# target "RiotShareExtension" do
# import_MatrixSDK
# import_MatrixKit_pods
# end
#
# target "SiriIntents" do
# import_MatrixSDK
# import_MatrixKit_pods
# end
end
post_install do |installer|

View file

@ -208,6 +208,6 @@ SPEC CHECKSUMS:
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb
PODFILE CHECKSUM: 0e7e10f516d40d9df60cb874170b91603c632118
PODFILE CHECKSUM: f8d711a31048bfd5981d17b00487a85996b62983
COCOAPODS: 1.11.3

View file

@ -44,7 +44,7 @@
#import "ContactDetailsViewController.h"
#import "RoomInputToolbarView.h"
#import "NSArray+Element.h"
#import "ShareItemSender.h"
#import "ShareItemSenderProtocol.h"
#import "Contact.h"
#import "RoomTimelineCellProvider.h"
#import "PlainRoomTimelineCellProvider.h"

View file

@ -34,8 +34,10 @@ targets:
platform: iOS
dependencies:
- target: RiotShareExtension
- target: SiriIntents
# Disabled due to crypto corruption issues.
# https://github.com/vector-im/element-ios/issues/7618
# - target: RiotShareExtension
# - target: SiriIntents
- target: RiotNSE
- target: BroadcastUploadExtension
- target: DesignKit

View file

@ -799,7 +799,9 @@ class NotificationService: UNNotificationServiceExtension {
return Constants.toBeRemovedNotificationCategoryIdentifier
}
return "QUICK_REPLY"
// Don't return QUICK_REPLY here as there is an issue
// with crypto corruption when sending from extensions.
return nil
}
/// Attempts to send trigger a VoIP push for the given event

1
changelog.d/7618.change Normal file
View file

@ -0,0 +1 @@
Disable Siri, Share and Reply (from NSE) Extensions.

View file

@ -29,8 +29,6 @@ options:
include:
- path: Riot/target.yml
- path: RiotTests/target.yml
- path: RiotShareExtension/target.yml
- path: SiriIntents/target.yml
- path: RiotNSE/target.yml
- path: BroadcastUploadExtension/target.yml
- path: DesignKit/target.yml
@ -39,6 +37,10 @@ include:
- path: RiotSwiftUI/targetUITests.yml
- path: CommonKit/target.yml
- path: CommonKit/targetUnitTests.yml
# Disabled due to crypto corruption issues.
# https://github.com/vector-im/element-ios/issues/7618
# - path: RiotShareExtension/target.yml
# - path: SiriIntents/target.yml
packages:
AnalyticsEvents: