Post

Replies

Boosts

Views

Activity

Background updates with the app closed
Hello everyone, I am spending a lot of work with an application, this is based on obtaining the information from the official USCIS website, the user enters their receipt and it verifies on the USCIS website if that receipt exists, once verified it returns the information of that receipt, which I save in coredata so that the user only has to press a button to reload that information, all this is perfect, the problem is that I want the cases to be updated in the background so that the user does not have to be Entering the application, it is responsible for updating only the cases and if there was a change in your case, showing a notification to the user, I have the function of updating the cases so that when it detects a change in the database it notifies the change to the user. user, I have read the documentation but Background Task, Fetch etc. does work for me if the application is in the background that is, not closed, but when it is closed completely it does not update these cases, I have read in groups and with silent notifications to lift the application but I don't want to depend on a server, is there a method to call the function to update the cases when the application is closed (SwiftUI - Swift for iOS I am programming)
1
0
394
Jul ’24
Code USSD more 50 characters??
Dear Developers, I hope you are well. I am contacting you because of a specific need that I have found in my iOS application. Currently, I am developing an application that involves executing USSD codes on the mobile phone network. However, I have run into a limitation on executing USSD codes that exceed 50 characters on iOS. The USSD codes that I need to execute are longer than this constraint and therefore I am facing difficulties in providing the necessary functionality in my application. My goal is to allow users to enter variable length USSD codes, which is essential to the user experience I'm looking to provide. Currently, I am using the UIApplication.shared.open(url) function to open the phone application and allow users to manually confirm the execution of the USSD code. I would like to know if there is any method or approach I can use to allow execution of USSD codes longer than 50 characters in iOS, as this is essential for the purpose of my application. I would greatly appreciate your guidance and assistance in this matter. I thank you in advance for your time and consideration. I am looking forward to receiving your response. Sincerely, [Marlon Milanes Rivero]
2
0
662
Aug ’23