Do you have any info on how to use the WWWPOSTMobile?
The apps we are making is free from ads and in-app purchase etc since our target are kids. However when we release a new app we wan't to let the previous customers/buyers know that we have a new app out. We also sometimes run competitions or price reductions that would be nice to promote within our own apps to be able to reach out to our customers through cross promoting.
Instead of having to send in an updated version with the new info every time we want to change the message I was thinking that we should use the
https://docs.unity3d.com/Documentation/ScriptReference/WWW.html and access items on a server we have set up. In that way we would be able to replace the content when a competition ends and replace with something else and easily make it change.
What I was thinking of having is like a screen after we show our company logo pop up with a fullsize texture/image covering the whole screen with the info we want to promote at the time. Also have an audio/MP3 play, reading the info for the kid/parent.
Would I be able to use this action in order to achieve this?
URL, I guess is where I will put in the www adress to the server?
POST Data POST, what is this?
Store Texture, does this mean "get the texture from the server and store it in a texture variable"?
Is there a way to do that as well for audio?
Do you have any suggestions on how to set this up?
I downloaded another action "Check for internet" that I think could be useful here as well.
FSM - Check for internet. If Off - play content, if On - do
WWW.Post. Check if an Int has changed maybe that I get from server, if not changed - play content, if changed - download and save texture and audio in variable. Then set texture and set audio. Then play content.
What do I need on the server side? Do I need an SQL database or what do I store the texture and mp3 file as/in?
Another aspect I am a bit worried about is if someone would hack the server and change the picture to a pornographic or other crazy thing. Any suggestion on security strategy to prevent this?