Implementing Parental Gate for Apple


#1

In general - kids apps require "parental gate"
Doc: https://developer.apple.com/app-store/parental-gates/

How can I implement such solution within an Ionic app ?
I’m not sure which events of the webview / inappbrowser any other container I need to use ?

I didn’t find any solutions out there … but I found an Objective-C example, which maybe I can manually implement inside X-Code ?
http://www.claireware.com/blog_files/ios-parental-gate-sdk.php

Maybe someone knows how ?


#2

What are you asking for? It’s a single screen with simple code. Do you need guards on other pages? Use ionViewCanEnter.


#3

That didn’t work
Can you please see & fix my stackblitz example and figure out where the issue might be ?
Those events are not popping up … and I’ve tried all the ones I thought related …


#4

See stackblitz above, there’s a YouTube Video and there’s a channel link
The link itself doesn’t really matter, the point is that when you click on <a> tag - the app is going away and I cannot stop it

How can I create a mid-page between the a click and the destination website of the link - in order to create a “do you want to conintue” kind of thing ?

Please help !!
Appstore are rejecting my app due do that

Also asked on stackoverflow: https://stackoverflow.com/questions/50287744/parental-gate-with-ionic-2