Post

Replies

Boosts

Views

Activity

Reply to Open UIViewController when QR Code is scanned
Sorry. My application supports Universal Links already. In case the application is running on the background and I scan a QR Code then application is executed and shows the proper window like here: See scene code here: func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { debugPrint("scenes: continue userActivity: \(userActivity)") guard userActivity.activityType == NSUserActivityTypeBrowsingWeb else { debugPrint("Different type then expected") return } // Confirm that the NSUserActivity object contains a valid NDEF message. let ndefMessage = userActivity.ndefMessagePayload if ndefMessage.records.count == 1 && ndefMessage.records[0].typeNameFormat == .empty { debugPrint("scene continue userActivity from Camera: \(userActivity.webpageURL!)") guard let navigationController = window?.rootViewController as? UINavigationController else { return } navigationController.popToRootViewController(animated: true) let donatorViewController = navigationController.topViewController as? DonatorViewController donatorViewController?.checkCameraURL(cameraURL: userActivity.webpageURL!) } else if ndefMessage.records.count > 0 && ndefMessage.records[0].typeNameFormat != .empty { debugPrint("scenes: continue userActivity from NFC Chip: \(userActivity.webpageURL!)") // Confirm that the NSUserActivity object contains a valid NDEF message. let ndefMessage = userActivity.ndefMessagePayload // Send the message to `MessagesTableViewController` for processing. guard let navigationController = window?.rootViewController as? UINavigationController else { return } navigationController.popToRootViewController(animated: true) let donatorViewController = navigationController.topViewController as? DonatorViewController donatorViewController?.addMessage(msgFromUserActivity: ndefMessage) } return } But the question is: The application is installed and not running even in background. I will scan QR code. The application is opened but the code func scene userActivity is not called. Thanks.
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Reply to How the application can be translated to different languages
Well, In the AppStore I have following for Hungarian Can you please navigate me, what shall I do? Thanks
Replies
Boosts
Views
Activity
3h
Reply to How the application can be translated to different languages
Here is the picture from Italian screenshot and description that is perfect. The next that is wrong in Hungary is that is in the Czech. The screenshots in AppStore are properly added, but in AppStore are not visible for some reason.
Replies
Boosts
Views
Activity
6h
Reply to Open UIViewController when QR Code is scanned
Sorry. My application supports Universal Links already. In case the application is running on the background and I scan a QR Code then application is executed and shows the proper window like here: See scene code here: func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { debugPrint("scenes: continue userActivity: \(userActivity)") guard userActivity.activityType == NSUserActivityTypeBrowsingWeb else { debugPrint("Different type then expected") return } // Confirm that the NSUserActivity object contains a valid NDEF message. let ndefMessage = userActivity.ndefMessagePayload if ndefMessage.records.count == 1 && ndefMessage.records[0].typeNameFormat == .empty { debugPrint("scene continue userActivity from Camera: \(userActivity.webpageURL!)") guard let navigationController = window?.rootViewController as? UINavigationController else { return } navigationController.popToRootViewController(animated: true) let donatorViewController = navigationController.topViewController as? DonatorViewController donatorViewController?.checkCameraURL(cameraURL: userActivity.webpageURL!) } else if ndefMessage.records.count > 0 && ndefMessage.records[0].typeNameFormat != .empty { debugPrint("scenes: continue userActivity from NFC Chip: \(userActivity.webpageURL!)") // Confirm that the NSUserActivity object contains a valid NDEF message. let ndefMessage = userActivity.ndefMessagePayload // Send the message to `MessagesTableViewController` for processing. guard let navigationController = window?.rootViewController as? UINavigationController else { return } navigationController.popToRootViewController(animated: true) let donatorViewController = navigationController.topViewController as? DonatorViewController donatorViewController?.addMessage(msgFromUserActivity: ndefMessage) } return } But the question is: The application is installed and not running even in background. I will scan QR code. The application is opened but the code func scene userActivity is not called. Thanks.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Problem with reading NFC tag in background in not working with NFC ISO 14443-3A
Everything is solved. the problem was with apple-app-site-association. It should be really strict. Feel free to close it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24