Search results for

Visual Studio Maui IOS

105,654 results found

Post

Replies

Boosts

Views

Activity

Apple Pay JS v3 in Angular: postMessage origin mismatch and onpaymentauthorized never fires
Description: I’m integrating Apple Pay JS (version 3) into an Angular application. Here are the key details: Environment: Angular (latest) Apple Pay JS v3 Chrome (confirmed window.ApplePaySession is available) application region is in US. I'm in Taiwan and using my iPhone Taiwan account to scan the QR Code/ Implemented Handlers: onvalidatemerchant onpaymentmethodselected onpaymentauthorized oncancel Observed Behavior: When I click the Apple Pay button, the console logs: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://applepay.cdn-apple.com') does not match the recipient window's origin ('https://{our-domain-name}') Despite this, the QR code still appears. Scanning the QR code with an iPhone 13 Pro running iOS 18.4.1 brings up the Apple Pay sheet with the correct amount, but payment never completes. In the browser, none of my Angular event handlers fire except oncancel. Questions: What causes the postMessage origin mismatch with Apple’s CDN frame, and how should my
3
0
164
1w
Reply to Example of DNS Proxy Provider Network Extension
[quote='861238022, GlacierSec, /thread/802691?answerId=861238022#861238022, /profile/GlacierSec'] So then it seems we would have to implement DNS Proxy to do what we want? [/quote] I don’t think that’ll actually work. Because of the DNS proxy deployment limitations [1], the ability to modify the proxy configuration is limited to development-signed apps. Once you sign your app for distribution, it’ll lose its ability to modify its DNS proxy configurations. Rather, the site admin is expected to configure the proxy using MDM payloads. Or at least that’s how it works with content filters. I can’t remember whether I’ve ever actually tested this with DNS proxies. However, both occupy a similarly privileged networking position and so I expect them to follow the same rules. A DNS proxy can (more or less) go into pass through mode by leaning in to the systemDNSSettings property. [quote='861238022, GlacierSec, /thread/802691?answerId=861238022#861238022, /profile/GlacierSec'] Or do you have other thoughts now on how to
1w
DNS Proxy Provider remains active after app uninstall | iOS
Hi, I've encountered a strange behavior in the DNS Proxy Provider extension. Our app implements both DNS Proxy Provider and Content Filter Providers extensions, configured via MDM. When the app is uninstalled, the behavior of the providers differs: For Content Filter Providers (both Filter Control and Filter Data Providers), the providers stop as expected with the stop reason: /** @const NEProviderStopReasonProviderDisabled The provider was disabled. */ case providerDisabled = 5 However, for the DNS Proxy Provider, the provider remains in the Running state, even though there is no app available to match the provider's bundle ID in the uploaded configuration profile. When the app is reinstalled: The Content Filter Providers start as expected. The DNS Proxy Provider stops with the stop reason: /** @const NEProviderStopReasonAppUpdate The NEProvider is being updated */ @available(iOS 13.0, *) case appUpdate = 16 At this point, the DNS Proxy Provider remains in an 'Invalid' state. Reinstalling the app a
22
0
554
1w
IOS 26.1 Issue
When I updated IOS 26.1, When someone call me over voice call phone kept vibrating after call has been picked for 15 sec. Can you please check what’s the issue
1
0
261
1w
OS 26.0 mDNSResponder suppresses DNS queries ("blocked by policy") for some devices until reboot
Hello, Since the release of iOS 26.0, we are seeing DNS traffic being blocked from within our NEPacketTunnelExtension on some devices. We have not isolated exact reproduction steps, but DNS resolves successfully for a period of time after enabling iCloud Private Relay (varying from 1-day to 2-weeks), until it then fails as MDNSResponder then returns: mDNSResponder [Q37046] DetermineUnicastQuerySuppression: Query suppressed for Addr (blocked by policy) DNS resolution continues to fail for all domains with the above until the device is rebooted. The Packet Tunnel intentionally does not have a DNS server set and this occurs for traffic from the Extension yet off-tunnel, which needs resolution from the system DNS server (and this configuration works perfectly for a period of time before being blocked by policy). The following do not resolve the issue once DNS queries are being blocked by policy on affected devices: disconnecting then reconnecting the vpn; toggling airplane mode for 10+ seconds; switchin
1
0
64
1w
[iOS 26] Unable to start TLS handshake connection to devices with self-signed certificates
Hi there, We are facing some issues regarding TLS connectivity: Starting with iOS 26, the operating system refuses to open TLS sockets to local devices with self-signed certificates over Wi-Fi. In this situation, connection is no longer possible, even if the device is detected on the network with Bonjour. We have not found a workaround for this problem. We've tryied those solutions without success: Added the 'NSAppTransportSecurity' key to the info.plist file, testing all its items, such as NSAllowsLocalNetworking, NSExceptionDomains, etc. Various code changes to use properties such as sec_protocol_options_set_local_identity and sec_protocol_options_set_tls_server_name to no avail. Brutally import the certificate files into the project and load them via, for example, Bundle.main.url(forResource: nice_INTERFACE_server_cert, withExtension: crt), using methods such as sec_trust_copy_ref and SecCertificateCopyData. Download the .pem or .crt files to the iPhone, install them (now visible under VPN & D
1
0
74
1w
Reply to App Clips Causing CPSErrorDomain error 2 on Non App Clip URLs
What's interesting is I have another iOS that uses App Clips as well but on a different domain. The App Clip settings look pretty much the same on both apps and AASA is fine on both domains as well. However, it works perfectly fine on the other app. When the URL has an App Clip associated, it shows an App Clip popup. If it does not have it, it shows default Safari notification. But on this app, it just keeps showing the CPSErrorDomain error 2 when the URL does not have App Clips associated with it or it has but it's been temporary deactivated.
Topic: App & System Services SubTopic: General Tags:
1w
Reply to iOS 26 - S/MIME Encryption / Certificates
I have been talking to an individual on here, https://forums.macrumors.com/threads/s-mime-ios-26.2467497/?post=34185551#post-34185551 and they discovered that messing with the contact card allows the certificate to appear. I confirmed that even editing the contact to include a space in the notes, or pretty much any edit then works. Great find from this user!
Topic: Community SubTopic: Apple Developers Tags:
1w
Reply to Xcode 26 get an error, XXX's architectures (Intel 64-bit) include none that iPhone 17 can execute (arm64).
I find the reason of this problem, in Xcode 26, when you download the simulator, the default iOS 26 simulator's arch is arm64, so when you add the Excluded Architectures arm64, the build result get none of any arch. The solution is to download the universal simulator, first, you should delete the iOS 26 simulator, then run xcodebuild -downloadPlatform iOS -architectureVariant universal in terminal, then xcode can download the universal of iOS 26 simulator.
1w
Xcode 26.0 beta 7 - AI - Create files? Client (Xcode) timing out?
I didn't check this out specifically on earlier betas, but AI is allowed to create new .swift files, yes? I'm only seeing proposals to create files (as opposed to code which it can change automatically), and the CREATE FILE button to the right of any proposed file creation does nothing. Next I'll mention running local models, but file creation does not seem to happen for neither ChatGPT nor any local model. Also I'm experimenting with LM Studio and it is reporting my client is timing out. So I guess Xcode is not waiting long enough for a response? The local models are slow, yes. But is there a setting for the AI timeout value? I told the LLM Every 1 minute send me an update so I know you are still working so my client does not time out which seems to have no visible effect, it hasn't timed out yet, but I don't visibly see that message.
3
0
247
1w
Issue in background notification iOS 18
Issue: I am making an application that stores data locally from notifications fired from the server. Everything works fine in the foreground but the background is having problems with not being triggered when notifications are fired. So we tried firing 2 notifications at the same time, including default and silent types. But the problem continues to arise on ios 18, when firing multiple times like that, the trigger is not handling all notifications, leading to data loss. I tried on ios 15 and it worked fine. Environment: Device or Simulator: Iphone 11 pro max (iOS 18.3.2 Steps to Reproduce: Open app, allow received notification. Move app to background mode or terminate app. Sent 2 notifications: a. Default notification payload: { aps: { content-available: 1 }, ”notification”: {…}, “alert”: {..}, “data: some_value } b. Silent notification payload: { aps: { content-available: 1 }, ”data: some_value } What I've Tried: Trigger notification in function: application(_:didReceiveRemoteNoti
2
0
118
1w
Issues building Unity plug-in project: Cannot locate native library Apple.Core/Apple.GameKit for iOS
I'm having issues getting a well built package from the Apple Unity Plug-in project. When building the my game project in Unity the following error is printed to the console: Apple.Core.AppleNativeLibraryUtility] Cannot locate a Debug or Release Apple.Core native library for iOS. Please ensure that the build invocation (build.py, xcodebuild, or Xcode) compiled cleanly and that the build was configured to support Debug on iOS. As far as I can tell the build did compile cleanly, but I might be missing something. If anyone can see what I'm doing wrong or has any insight it would be greatly appreciated. Setup is the following: macOS Tahoe 26 Beta Xcode-beta Version 26.0 beta 3 (17A5276g) Unity Plug-in branch: 2025-beta1 Unity game project version: 2022.3.60f M1 Macbook Pro The built packages have been imported into the game project through the Unity Package Manager using the tarball option pointing to the built packages from the Unity Plug-in project. The Unity Plug-in project has been built usi
4
0
577
1w
AppIntents + CSSearchableItemAttributeSet: only displayName indexed?
On iOS 18, I'm trying to index documents in Spotlight using the new combination of AppIntents+IndexedEntity. However, I don't seem to be able to index the textContent of the document. Only the displayName seems to be indexed. As recommended, I start with the defaultAttributeSet: /// I call this function to index in Spotlight static func indexInSpotlight(document: Document) async { do { if let entity = document.toEntity { try await CSSearchableIndex.default().indexAppEntities([entity]) } } catch { DLog(Spotlight: could not index document: (document.name ?? )) } } /// This is the corresponding IndexedEntity with the attributeSet @available(iOS 18, *) extension DocumentEntity { var attributeSet: CSSearchableItemAttributeSet { let attributeSet = defaultAttributeSet attributeSet.title = title attributeSet.displayName = title attributeSet.textContent = docContent attributeSet.thumbnailData = thumbnailData attributeSet.kind = document attributeSet.creator = Constants.APP_NAME return attributeSet }
10
0
359
1w