7. Gifts ScreenΒΆ

From the dashboard UI, if the user selects “Gifts”, you can open a new screen that shows the gift requests the user has received from friends. The API to call for that is “List Gift Requests” from the “Gifts” module.

If the user chooses to reply to any of the requests received, you need to call the “Reply to gift request” API. Please refer to the API docs for details.

Depending on the flow of the game, you may want to allow the user to request for gifts from friends at this point (if logged in with a social login). Use the “Request for gifts from friend” API from the “Gifts” module for this. The Platform will automatically send the gift request to all the KNOWN/PLAYING friends (i.e. friends who have created a profile earlier).