It should work in the official smart lighting feature in the V2 classic app or as a custom automation in the new V3 app. No custom code or webcore required.
Which version of the app are you using?
FAQ: how to tell which version of the SmartThings mobile app that you have