feat: Support Apple push live activity notifications #738
Annotations
11 errors and 10 warnings
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L185
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L186
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"collapse_id":"nope","content-available":1,"interruptionLevel":"yolo","mutable-content":1,"priority":6,"push_type":"background","relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"targetContentIdentifier":"press","threadId":"yep","topic":"naw","urlArgs":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L189
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L194
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":"wow","topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":"wow","target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L185
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L186
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"collapse_id":"nope","content-available":1,"interruptionLevel":"yolo","mutable-content":1,"priority":6,"push_type":"background","relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"targetContentIdentifier":"press","threadId":"yep","topic":"naw","urlArgs":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L189
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L194
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":"wow","topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":"wow","target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L185
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L186
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"collapse_id":"nope","content-available":1,"interruptionLevel":"yolo","mutable-content":1,"priority":6,"push_type":"background","relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"targetContentIdentifier":"press","threadId":"yep","topic":"naw","urlArgs":["help"]}")
|
Build-Test:
--- xcodebuild#L1
Using the first of multiple matching destinations:
|
Build-Test:
Sources/ParseSwift/Coding/ParseEncoder.swift#L246
class '_ParseEncoder' must restate inherited '@unchecked Sendable' conformance
|
Build-Test:
Sources/ParseSwift/Coding/ParseEncoder.swift#L1052
class '_ParseReferencingEncoder' must restate inherited '@unchecked Sendable' conformance
|
Build-Test:
Sources/ParseSwift/Extensions/InputStream.swift#L11
extension declares a conformance of imported type 'InputStream' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
|
Build-Test:
Sources/ParseSwift/LiveQuery/Subscription.swift#L79
main actor-isolated instance method 'didReceive' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/LiveQuery/Subscription.swift#L89
main actor-isolated instance method 'didSubscribe' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/LiveQuery/Subscription.swift#L94
main actor-isolated instance method 'didUnsubscribe()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Types/Pointer+async.swift#L28
converting a value of type '(__shared sending Result<Pointer<T>.Object, ParseError>) -> ()' (aka '(__shared sending Result<T, ParseError>) -> ()') to type '(Result<Pointer<T>.Object, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Extensions/InputStream.swift#L11
extension declares a conformance of imported type 'InputStream' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
|
Build-Test:
Sources/ParseSwift/Objects/ParseInstallation+async.swift#L31
converting a value of type '(__shared sending Result<Self, ParseError>) -> ()' to type '(Result<Self, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Loading