Post

Replies

Boosts

Views

Created

How can I download the attachment in decodedMessage
In decodedMessage, I got the raw message Data. How can I get the attachment with this information? --Apple-Mail=_7074F225-9F70-4410-B0AC-15891A766688 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Content --Apple-Mail=_7074F225-9F70-4410-B0AC-15891A766688 Content-Transfer-Encoding: base64 Content-Disposition: ATTACHMENT; filename*=utf-8''%E5%8D%97%E4%BA%AC%E5%8D%87%E5%AD%A6%E5%AD%A32021.pptx Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation; name="=?utf-8?B?5Y2X5Lqs5Y2H5a2m5a2jMjAyMS5wcHR4?="; x-unix-mode=0700 X-Apple-Content-Length: 2299846 --Apple-Mail=_7074F225-9F70-4410-B0AC-15891A766688--
0
0
1k
Jul ’21
How to use StoreKitTest in UI Tests?
I created a UI Testing Bundle, set its testing target application to None. So I need to call XCUIApplication.launch to launch the testing target manually. Now I want to test the in-app purchase flow, I added the Configuration.storekit in the UI testing bundle, created a SKTestSession after launching the target App, but the target App didn't get the testing storekit environment. Is there a way to use the .storekit file and SKTestSession in UI testing bundle?
0
1
886
Apr ’21
Raw data is incomplete in MEMessageActionHandler
We get message rawdata from the following function: func decideActionForMessage(for message: MEMessage, completionHandler: @escaping (MEMessageActionDecision?) -> Void) But raw data is not nil, and it is incomplete, invokeAgainWithBody will not fix this problem. How can we get the entire body message?
Replies
1
Boosts
0
Views
657
Activity
Sep ’21
How can I download the attachment in decodedMessage
In decodedMessage, I got the raw message Data. How can I get the attachment with this information? --Apple-Mail=_7074F225-9F70-4410-B0AC-15891A766688 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Content --Apple-Mail=_7074F225-9F70-4410-B0AC-15891A766688 Content-Transfer-Encoding: base64 Content-Disposition: ATTACHMENT; filename*=utf-8''%E5%8D%97%E4%BA%AC%E5%8D%87%E5%AD%A6%E5%AD%A32021.pptx Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation; name="=?utf-8?B?5Y2X5Lqs5Y2H5a2m5a2jMjAyMS5wcHR4?="; x-unix-mode=0700 X-Apple-Content-Length: 2299846 --Apple-Mail=_7074F225-9F70-4410-B0AC-15891A766688--
Replies
0
Boosts
0
Views
1k
Activity
Jul ’21
How to use StoreKitTest in UI Tests?
I created a UI Testing Bundle, set its testing target application to None. So I need to call XCUIApplication.launch to launch the testing target manually. Now I want to test the in-app purchase flow, I added the Configuration.storekit in the UI testing bundle, created a SKTestSession after launching the target App, but the target App didn't get the testing storekit environment. Is there a way to use the .storekit file and SKTestSession in UI testing bundle?
Replies
0
Boosts
1
Views
886
Activity
Apr ’21