Hey Shai,
thanks for your response. I'm just getting to check this out again. Turns out that it looks like it's working fine now (on Android at least which is the main platform I'm working on). But I still need some help with something. I need to manage the push notification, on cases when the app is running and when it's not and I have written some code to handle this, but I'm not exactly sure if this is correct or not. I attach my main class' code to this post so you can please check it out,
I'm specifically interested in the part of obtaining the currently running statemachine so I can make calls to its methods for the push callback and also a little bit confused with how I'm supposed to manage the type 3 Push notifications, since it seems as if this push type would go twice through the public void push(String value) method of the callback. At least that's what I think by observing some console output from the device when sending this, I attach a screenshot of this also, maybe it would help illustrating what I'm saying.
Thanks for your help.