johntube
started a topic on Sat, 06 June 2015 at 7:35 AM
Hi,
I might be thinking wrong but I'm going to suggest this feature anyway. Some Responses/Callbacks to some Client API calls could be more useful on server side or with their respective server side equivalent ones.
Examples :
RegisterWithX
LoginWithX (maybe only for newlyCreated = true)
[Not API call] Registering to GCM
[Not API call] Unregistering from GCM
ValidateIAPpurchase
RestoreIAPpurchase
etc.
The reason behind this is that most of these API calls will require additional/extra processing work when ack'ed ! And most of that stuff should be protected against tampering or requires persisting data on server side...so it could trigger an additional RunCloudScript API call...
Example of use cases :
Init some user data upon new registration
Saving stats about IAP purchases
[Mobile] Detecting app. uninstall or "user disconnection" (indirectly from GCM unregistration)
etc.
So it could be useful to trigger/fire special predefined CloudScript handlers for those specific Client API calls.
Share your great idea, or help out by voting for other people's ideas.
No one has followed this idea yet.