Well that's unfortunate and exactly what Apple was trying to protect their users from.
A custom WebKit browser can collect/sell/lose your personal data just as easily, assuming that's your concern.
A trivial and EU-proof solution against spyware is to make GDPR compliance a requirement for App Store submission. The reason they wouldn't do it is because it would have to apply to themselves as well.