Mobile Screenshot sharing/Cached Data problem

Discussion and feedback on Construct 2

Post » Sat Sep 19, 2015 3:53 pm

Hi, I have added functionality to my game to take screenshots and share them to social networks.

It uses the canvas snapshot functionality then feeds that data to the mobiles native sharing functionality using

"window.plugins.socialsharing.share('game name',
'" & Screenshotlink & "',
'" & GameDownloadLink &"')"
as explained in this tutorial by @0Hayes here https://www.scirra.com/tutorials/1457/s ... oid/page-4

It works...but there is a problem.

It seems to keep adding to the programs 'data' with every new screenshot taken. After maybe around 6-8 times of the user sharing screenshots eventually the functionality stops working. I presume this is to do with the data cached reaching some kind of limit possibly?

Has anyone come across this problem, or have an alternative more robust way of doing this functionality?

thank you!

John
B
6
S
2
Posts: 28
Reputation: 508

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests