Actually my guess is that the app (not the OS) stored a “this device is jailbroken” flag in the app’s settings, and then never actually checks again to see if the device has become non-jailbroken. This flag would be part of the app data that gets transferred to a new device or restored from backup. If it never actually checks for jailbreak again, then you will be stuck like this forever or until you uninstall the app to delete its saved settings.
And if your device isn’t jailbroken, then it’s a bug in the jailbreak detection that gave a false positive in the first place.
Topic:
Community
SubTopic:
Apple Developers
Tags: