RBoy
(www.rboyapps.com - Making SmartThings Easy!)
1
Bug/Feedback Description
When a SmartApp with singleInstance: true defined in it’s metadata is installed (click Done), ST calls the installed() method of the SmartApp TWICE
This is creating unexpected side effects including errors and terminations especially when SmartApps are Service Managers which are installing devices in the installed() method
@RBoy I’m trying to reproduce this issue, but haven’t been successful. I installed the following SmartApp with both the Simulator and our Alpha Android client. I only observed one message being logged for both installations.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
4
I tested it again and it seems to be only calling it once now. It was giving me a very rough time the other day, kept being called twice so I eventually put a protection mechanism while adding/removing devices.
I guess something changed but I’m happy. Thanks for looking into it through.