Post

Replies

Boosts

Views

Activity

Determine the SMS is in junk folder or not (Unwanted Communication Reporting Extension)
Hi, we are currently developing an Unwanted Communication Reporting Extension. **We would like to know whether the user taps the "Report Junk" button in the Normal folder or Junk Folder. ** Our app provides 2 different UI for Unwanted Communication Reporting Extension (False Negative and False Positive) for Report Junk. In the earlier iOS versions we use the sender id to determine whether the user taps the" Report Junk" button in the Normal folder or Junk Folder. If the SMS is already in the Junk folder, the sender contains "(filtered)". However, in the latest iOS version, it seems that the filtered string is removed. Does iOS provide a method to help us to determine? Thanks
0
0
731
Nov ’22
XPC error Connection invalid message issue
Hello We are developing our own iOS Network Extensions-based VPN and it has an HTTP proxy in the VPN. In addition, we also use PAC (Proxy auto-configuration) script to configure what kind of HTTP/HTTPS traffic should route to our proxy in the VPN. However, we get this kind of message "Received XPC error Connection invalid for message type 3 kCFNetworkAgentXPCMessageTypePACQuery" randomly on iOS 15.5. We have not been aware of any weird behavior of iOS based on the error message. We are afraid of this error message is caused by our VPN solution. Is there any suggestion that should consider or follow to fix this error?
1
0
2.3k
May ’22
CFURLCreateWithBytes() failed on iOS 13.4 Beta
Hello, we have found a CFURLCreateWithBytes() issue on iOS 13.4 Beta (installed on iPhone SE, MLXN2TA/A).We expect CFURLCreateWithBytes() should return a valid CFURLRef rather than nil.Here is the sample code char pBuf[2048] = {0}; int ui32Len; CFIndex nread; CFURLRef fmyURL = NULL; nread = snprintf(pBuf, sizeof(pBuf), "https://www.apple.com:443/tw"); ui32Len = sizeof(pBuf)-nread; fmyURL = CFURLCreateWithBytes(kCFAllocatorDefault, (UInt8 *)pBuf, nread+ui32Len, kCFStringEncodingUTF8, NULL); if(NULL == fmyURL){ NSLog(@"Failed - iOS 13.4 Beta goes here"); } else{ NSLog(@"Success - iOS 13.3 is OK"); }However, CFURLCreateWithBytes() always returns nil on iOS 13.4 Beta.CFURLCreateWithBytes() is working properly on all previous iOS versions.
1
0
717
Feb ’20
PAC script configuration question
Hi guysI use the API to configure the proxy settings of Network Extension Packet tunnel provider.https://developer.apple.com/documentation/networkextension/neproxysettings/1406766-proxyautoconfigurationjavascriptAnd we can use the following script to configure the proxy.function FindProxyForURL(url, host) { .....}My question is that the url seems not full path?The url seems as same as host.Is it possible to get the full path of url?Thank you
10
0
2.8k
Jun ’17