Is the Shake Library supposed to work with iOS 15.1?

Is there a version of iOS after which the Shake Library stopped working? I have an old app where it used to work. The following code is in my Global Code section (Shake Library is checked):

Sub window_onshake()


End Sub


Sub VersionNumber()

  NSB.MsgBox("Steam Properties version "&AppVersion,0,"App Version")  

End Sub

Sub VersionNumber() works if called by an onClick function.

It looks like iOS 13 requires permission from the user before shake events can be handled:

How to requestPermission for devicemotion and deviceorientation events in iOS 13+

I’ve opened an issue to get this updated in AppStudio.

Thanks for the quick response!