Post

Replies

Boosts

Views

Activity

MonitoringError
I am facing this issue when i start monitoring error The operation couldn’t be completed. (DeviceActivity.DeviceActivityCenter.MonitoringError error 0.) source code in didFinishLaunchingWithOptions center.requestAuthorization{ result in     print(result)       switch result {       case .success():         print("success")                   switch self.center.authorizationStatus {         case .approved:           print("approved")                       let center = DeviceActivityCenter()           do {             try center.startMonitoring(.daily, during: self.schedule)           } catch {             print("error (error.localizedDescription)")           }            case .denied:           print("denied")         case .notDetermined:           print("not determined")         }       case .failure(let error):         print(error.localizedDescription)                 }     }
0
0
615
Jul ’21
We are not getting any event on Shield Primary Button on ScreenTime API. As well as we are getting DeviceActivity Monitor error.
We have Created a Shield with Primary, We want to trigger some Action on this Button. But don't get any response. After successfully authorizing a child device via AuthorizationCenter.shared.requestAuthorization, DeviceActivityCenter.startMonitoring always results in an MonitoringError.unauthorized error. #ScreenTimeAPI #ManageSeeting
0
0
590
Sep ’21
Regarding bundle Identifier.
Is there any specific character length that we need to implement as a bundle ID? In my recent project, I've been implementing a specific bundle identifier, but it doesn't support all features. In addition to this, we try another bundle identifier, they support all functionality.
1
0
618
Sep ’21
UserDefaults.standard was cleared and app UUDI is also changed when I update new version from app store
Facing issue of NSUserDefaults data got cleared on update new version from app store. so all data of user got cleared and user have to login again. I was having app in store with version 1.1.3 and then we have uploaded new version to store with version 1.1.4 but when user download app from store their data was cleared from UserDefaults.so this is big issue in update. need to help. is that apple updated any process on update. Question How Apple change version build in device when we update app from app store. is it uninstall old build and install new build ? Or it is install new version on old version ? Should UserDefaults.standard will delete on update ? Updating Provisioning profile from manual to automatically cause issue on UserDefaults.standard Like UserDefaults got cleared and uuid will change ? Do we have anythings that we can identify specific user as uniq user ? What is better solution to store login data into SQLite store or in UserDefaults as model ? Will appreciate for your help. this is very big issue and login again on update will make app user more effect
2
0
3.2k
Jul ’22