Post

Replies

Boosts

Views

Activity

iOS - NSCrossWebsiteTrackingUsageDescription(Allow Cross-Website Tracking) - Option is not working as expected in my scenario
We are using the iframe in HTML page, we are hosting this on the host1 server inside the iframe we are trying to load LinkedIn learning content. After loading the HTML page automatically it will load the LinkedIn learning URL in an iframe. it will open the popup for login authentication after providing login details it will direct to the main HTML page it will display the learning content iOS Safari browser - To work this functionality we have to disable Prevent Cross-Site Tracking for the safari app in device settings iOS App - We are handling this through WKWebView. To work this functionality we have added NSCrossWebsiteTrackingUsageDescription in info.plist as per this document, - https://webkit.org/blog/10882/app-bound-domains/ after launching the app it showed Allow Cross-Website Tracking in-app settings, after enabling this it is not calling "createWebViewWith configuration" WKUIDelegate method to launch the LinkedIn authentication login page. Verified this in iPhone XR, which is running on iOS14.5.1
0
0
2.4k
May ’21
App Validation - Got Bad bundle identifier because of application extension bundle id format
We have integrated share extensions as part of the new feature. For this, app bundle identifier is com.company.name.product.mobile and share extension bundle identifier is com.company.name.product.mobile.Share.External.Information. After generating the Archive file, while validating the app through Xcode getting the below error. App Store Connect Operation Error. Bad bundle identifier. The bundle identifier com.company.name.product.mobile.Share.External.Information of the application extension ComanyName Mobile.app/PlugIns/Share External Information.appex should start with the application's bundle identifier com.company.name.product.mobile and not contain more than one period . after the application's bundle ID. i have already tried in StackOverflow and in another forum. I didn't find the solution for this. am I doing anything wrong here? after product bundle identifier we can have multiple words with . separated right in the extension?. In my case for extension after bundle Id it has three words with . separated like this "com.company.name.product.mobile.Share.External.Information". Is it correct? or it should be like "com.company.name.product.mobile.shareexternalinformation". Can any one please provide the solution for this ?
2
0
2.2k
May ’21
iOS - in app with SFSafariViewController unable to load another host in iframe
I am trying to load the host1 page, it contains iframe and the URL for the iframe is host2. But iframe with URL host2 is not loading properly. I am loading host1 page through SFSafariViewController. If I load the same thing with the iPhone safari browser then it is working fine but not working with SFSafariViewController. As per my understanding, WKWebview has some limitations but SFSafariViewController doesn't have but still facing the issue. I have tried the below options also in iOS14.5.1 but still, it is not working: Enabled Allow Cross-Website Tracking by using NSCrossWebsiteTrackingUsageDescription in info.plist Enabled Allow Tracking by using Privacy - Tracking Usage Description in info.plist used WKAppBoundDomains also. am I missing anything, please help me out?
2
0
1.7k
May ’21
Xcode 12.5 with iOS 14.5.1 device getting xcode failed to start remote service com.apple.debugserver on device
I have created a new project and running the project on iOS 14.5.1 device with Xcode 12.5. But it is showing an error saying "Xcode failed to start remote service com.apple.debugserver on device" I have tried all the below options Unpaired, paired the device. Restarted device. Restarted Xcode, Mac system. Notes: If I run the app in the device by disabling (Edit Scheme - Info - Debug Executable) options then it is working fine, but I can't debug with this option. If I run the app in the simulator in debug mode by enabling Debug Executable option then it is working fine.
3
0
3.9k
May ’21
iOS13.4.1 - XMLHTTPRequest cannot load error
I am using XMLHTTPRequest to post the data in javascript. Upto iOS13.3.1 it is worked fine in safari, chorme browsers. When i update the device to latest OS iOS 13.4.1 then it is showing XMLHTTPRequest cannot load error in debug console for both safari, chrome browsers and the functionality is not working as expected.While debugging found some pints, please check my observations below.It is not failing for all requests, for some of them getting response status as 200. I am not sure is there anything changed specifically in iOS 13.4.1In code i am using request.open('POST', url, false)Can anyone please help me out.
1
0
2.5k
Apr ’20