Post

Replies

Boosts

Views

Activity

iOS 16.4.1 CLLocationManager didExitRegion URLSession timeout/failure
Hello, I have a few users reporting issues with Geofencing using CLLocationManager to trigger network calls using URLSession. Our app exposes logs Geofencing logs and does log didExitRegion/didEnterRegion along with the database request to get the url parameters. However the network request fail more than half of the time with "NSURLErrorDaomain Code=-1001 "The request timed out" .... The app logs the failure so it is still running in the background. This was working before upgrade to 16.4.1, it now appears iOS is blocking network requests in the background. I spoke to another user who uses another geofencing application who also started missing some geofences since upgrading to 16.4.1. The other app has not been updated in 8 months and was working fine until the 16.4.1 update. Is there anything I can to to ensure the network request are completed? Thanks
0
0
279
Apr ’23
iOS 16 UIDocumentPickerViewController(forExporting, asCopy) "Move" button disabled.
Hi I have an app using UIDocumentPickerViewController on iOS < 16 using let controller = UIDocumentPickerViewController(forExporting: [newFile], asCopy: false) This shows a dialog with "MOVE" and works as expected on iOS < 16. However on iOS 16+ the "MOVE" Button is Disabled. Changing asCopy = true works but has the "SAVE" button. asCopy = false is used so that the file is automatically moved and removal is not needed after copy. File creation: //generate file name with date let fileName = "UDM \(date).udm" //get the file manager let fileManager = FileManager.default let documentsUrl = fileManager.urls(for: .documentDirectory, in: .userDomainMask) guard documentsUrl.count != 0 else { return } //create the file path url let newFile = documentsUrl.first!.appendingPathComponent(fileName) //copies database to new file let source = Current.database().getDbQueue() let destination = try DatabasePool(path: newFile.path) try source.backup(to: destination) Move button disabled only on iOS 16+ Save button works on both iOs 155 + and 16 +
0
0
586
Sep ’22
iOS VoiceOver functionality changes with Bundle Identifier
I am having an issue with VoiceOver not honoring coded Accessibility values (label/hint/ect). I have been able to replicate the issue by changing the Bundle Identifier. My original Bundle Identifier has issues with all VoiceOver Functions. If I append anything to the end of my Bundle Identifier, delete app on iPhone, close xCode, click on the project, let it build then install the issue is gone. If I rename back to the original Bundle Identifier, delete app on iPhone, close xCode, click on the project, let it build then install the issue returns. I have tried this process all day trying to isolate the issue, including deleting derived data after force close of xCode, and deleting all classes except the files created for a new project, and adding a new UITabBarController with empty ViewControllers. No matter what I try if I don't change the Bundle Identifier the issue persists. While the issue affects the entire app it is very evident on the UITabBarController. VoiceOver on the app with original Bundle Identifier Says the following when touching a Tab Bar Item "Home Tab Actions Available" or "Home Tab swipe up or down to select a custom action then double tap to activate". If I swipe voice over reads the Label ("Home") then the icon name if it exists (happens to be "Home" icon) then "Activate Default". If no icon name exists there is no VoiceOver in between label and "Activate Default". VoiceOver on the app with a new Bundle Identifier Says the following when touching a Tab Bar Item. I believe this is the correct way according to Apple's UITabBar documentation (uikit/uitabbar). "Selected Home Tab 1 of 3" The only difference in git is the Bundle Identifier. myname@name-Mac-mini dretauth (appSignIn) $ git diff diff --git a/dretauth.xcodeproj/project.pbxproj b/dretauth.xcodeproj/project.pbxproj index 5a02b2a..ab01473 100644 --- a/dretauth.xcodeproj/project.pbxproj +++ b/dretauth.xcodeproj/project.pbxproj @@ -2325,7 +2325,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.33; - PRODUCT_BUNDLE_IDENTIFIER = "com.redacted.dretauth"; + PRODUCT_BUNDLE_IDENTIFIER = "com.redacted.dretauth.ctest"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -2349,7 +2349,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.33; - PRODUCT_BUNDLE_IDENTIFIER = "com.redacted.dretauth"; + PRODUCT_BUNDLE_IDENTIFIER = "com.redacted.dretauth.ctest"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; myname@name-Mac-mini dretauth (appSignIn) $ If I search the entire project the only items that have the original bundle ID are the Build Settings, Info.plist, apple-app-site-association (saved in project but only used on server-side), and GoogleService-Info used for firebase notifications/crashlytics. I have another project with the same dependencies without any issues. At this point I'm unsure how to get correct functionality into my app using the original Bundle Identifier. App is in production so changing the Identifier is out of the question. Thanks.
1
0
771
Jan ’22