Hello Argun,
Thank you for your assistance. I'd like to delve deeper into the Notification Service Extension capabilities and its fit for our parental control app, Superr. Our application ensures transparency and involves both parents and children in the digital management process.
Visibility of Notifications: We do not require that the notifications remain hidden or discreet. Our application acts as a digital parenting assistant, and part of its function is to keep children informed about the changes or restrictions applied, promoting transparency in digital parenting.
Use Case and Requirements:
Our app includes two main components: a parent app and a child app. When a parent modifies settings, such as setting time restrictions or blocking certain apps, these changes need to be communicated immediately and reliably to the child's device.
Example Scenario:
Parent Action: A parent decides to set a new screen time schedule from 7 PM to 9 PM for educational apps on the child’s device and blocks a gaming app that was previously allowed.
Notification Trigger: These settings are updated in the parent app, triggering a push notification to the child’s device.
Child App Response: Upon receiving this notification, the child app must:
Fetch the latest configuration from our server.
Serialize the data and update the CoreData database.
Apply the new screen time schedule.
Block the specified gaming app.
Key Questions:
Execution Time Limit: Can you specify how much time is typically allotted for operations within the didReceive(_:withContentHandler:) method of the Notification Service Extension? Is this typically sufficient to handle complex tasks such as data serialization, CoreData updates, and settings applications? as quotes from document - "That method has a limited amount of time to perform its task and execute the provided completion block."
Reliability: How reliable is the Notification Service Extension for ensuring that tasks, particularly those crucial for enforcing parental controls, are executed without being skipped? Are there particular conditions under which the extension might fail to perform as expected?
We aim to ensure robust and timely updates to maintain the efficacy of parental controls. Your insights on the above points will greatly assist us in optimizing our approach.
Thank you once again for your time and assistance.