feat: Support Apple push live activity notifications #738
Annotations
10 errors and 10 warnings
Build-Test:
Tests/ParseSwiftTests/ParsePushAsyncTests.swift#L329
testFetchBrokenServerResponse, XCTAssertEqual failed: ("Optional({"alert":{"body":"hello world"}})") is not equal to ("Optional({"alert":{"body":"hello world"}})")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushAsyncTests.swift#L298
testFetch, XCTAssertEqual failed: ("Optional({"alert":{"body":"hello world"}})") is not equal to ("Optional({"alert":{"body":"hello world"}})")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushCombineTests.swift#L341
testFetch, XCTAssertEqual failed: ("Optional({"alert":{"body":"hello world"}})") is not equal to ("Optional({"alert":{"body":"hello world"}})")
|
Build-Test:
Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L103
testCoding, 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#L104
testCoding, 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#L107
testCoding, 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#L115
testCoding, 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#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:
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/API/API+Command+async.swift#L26
converting a value of type '(sending Result<URLRequest, ParseError>) -> ()' to type '(Result<URLRequest, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/API/API+Command+async.swift#L51
converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift#L24
converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift#L29
converting a value of type '(__shared sending Result<AuthenticatedUser, ParseError>) -> ()' to type '(Result<AuthenticatedUser, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Loading