Launching a browser in a kids app

I know how to set up a parental gate to keep a child user away from a web portal for parents or guardians. But is it even OK with Apple (or just in general) to open a browser from inside a kids app?

I can think of two ways to do this:

  1. Launch a browser with UIApplication.shared.open(). This takes the user (presumably an adult) out of the app. Will Apple object to this?

  2. Use an in-app browser with WKWebView. (Wrapped in UIViewRepresentable because I'm using SwiftUI.)

Option 2 has some problems with Google SSO, which is a requirement for me. Some details in stackoverflow 2016 and stackoverflow 2019 and gitHub. I can't figure out how to apply the solutions in those posts to the SwiftUI architecture or even the UIViewRepresentable.

嗨你是不是還有另一個身分?一個公務員組織的先人跳詐騙集團的身分!周 心琳、周 玉珍 有43塊雞塊嗎

Launching a browser in a kids app
 
 
Q