Networking behaviours broken?
Hypnorabbit
SingaporeMember Posts: 272
Hey guys,
Are networking behaviors broken again in 0.12.10? My callback attributes for the game.sendTable or game.receiveTable fail to trigger on an Ad Hoc build on either an Android or iOS device.
All I want to do is get a number from the outside world into my app to trigger an event within the app.
Cheers,
Hypnorabbit
Comments
There definitely seems to be intermittent problems where "background" functions like calling leaderboards, iAP, and ads requests seem to interfere with both networking and table saving behaviours.
It is almost as if callbacks from one trigger or block the callback of another behaviour.
e.g. a login request to leaderboards gets initiated. Before a response is received, the app sends a networking request. If the leaderboard response now arrives before the networking response, then the subsequent networking response gets ignored.
I am still trying to build a reliable fail case - not so easy since it is related to response timing issues outside of our control (leaderboard/iap/ad servers)
Given the fact that each of the above behaviours work reliably if they are used individually, but intermittently fail when used in combination, it would be great if the appropriate GS engineer could also urgently give this some thought.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Insert the callback in a loop behavior and it will fire until satisfied.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@The_Gamesalad_Guru, the actual callback attribute does not get set under the above mentioned situations.
I can verify that the correct response reaches the app (through external means), yet if a different network related signal (from IAPs/ads/leaderboard) interjects, then the app no longer processes the received data.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Ah.....
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Great thanks all - especially @Hopscotch who helped me here and elsewhere navigate how to get this app to receive a response. It works!