Allow2 / Allow2iOS

Allow2 Swift SDK for OpenSource Parental Freedom
https://Allow2.github.io
Other
12 stars 1 forks source link

Requirement of Sample code #6

Open ghost opened 4 years ago

ghost commented 4 years ago

I am trying to work on a project with parental control feature and came to know about the Allow2 SDK. I implemented the pods and I also added the restrictions code and notification observer code, but I got stuck with the communication between the parent-child devices. Also, how will they notify about event that would occur or will be restricted/needed to be restricted for specific time provided by the parent device.

Allow2CEO commented 4 years ago

Hi. Thanks for reaching out and I’ll do my best to help you out.

So the framework is built around a central system that is the allow2 service. It maintains the usage records, manages restrictions and rules and accounts, etc. essentially, as a developer, you only need to worry about child devices. Whilst you can certainly implement your own parent device if you wish, that hard work has been already done and may be a little redundant. In other words, we free you up to concentrate on just implementing restrictions on the child device or service.

Making calls to the api essentially fulfils two major requirements. It lets the Allow2 service tell you of the current allowances and restrictions in order for you to surface them in a way that is relevant to your specific needs. But also informs the service of usage in order to record usage and manage allowances. So if you call the api and say “can Mary play games right now” it will let you know yes or no and reasons for that response. So if you say “Mary is playing a game right now” it will record another minute of usage and also tell you if it’s currently permitted or not, and why, if it’s not. It also tells you how much time is remaining on their allowance, etc.

Does that help?

Can you tell me a little more about your project and be more specific with the precise use case you are hoping to implement? That will help us determine the best approach for you and also look to see if there is something we could tweak to better meet your specific requirements.

Looking forward to hear more about your project and helping you get operational quickly.

Regards, Andrew

On Wed, 15 Apr 2020 at 12:51 am, prince-algoworks notifications@github.com wrote:

I am trying to work on a project with parental control feature and came to know about the Alloe2 SDK. I implemented the pods and I also added the restrictions code and notification observer code, but I got stuck with the communication between the parent-child devices. Also, how will they notify about event that would occur or will be restricted/needed to be restricted for specific time provided by the parent device.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Allow2/Allow2iOS/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANK44TGAFYMZCFJ4QCQ4WDRMR2AFANCNFSM4MHZWKNQ .