Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Incentivise Everyplay video sharing.

Discussion in 'Unity Everyplay' started by Sanath_Bharadwaj, Jul 26, 2015.

  1. Sanath_Bharadwaj

    Sanath_Bharadwaj

    Joined:
    Jan 23, 2015
    Posts:
    2
    Well is there any way to find out if a user has shared a video so that I can reward him? First I thought about giving rewards if he presses the 'Share' button. But he may deny sharing after the Everyplay window is poped up. If he comes to know about this he may start cheating me :) He might also use the share button in the edit video section which i don't know how to find if he has pressed. So any ways to find out if the user has successfully uploaded the video?

    Everyplay have mentioned about incentivising in the best practices, so there must be a way out.
     
    Last edited: Jul 26, 2015
  2. surathunity3d

    surathunity3d

    Unity Technologies

    Joined:
    Sep 30, 2014
    Posts:
    128
    Hi @Sanath_Bharadwaj

    You can subscribe to the event UploadDidComplete event for that.
    There is also UploadDidStart and UploadDidProgress events to track the upload.

    There is no way to "cheat" as such. If he shares (doesn't matter which "Share" button he chooses) the video will start uploading in the background. Also, please note: The upload can fail due to network failure, which is when the user won't get the incentive for sharing the video, if you are using UploadDidComplete event. It might be unfair from the user's perspective. Our recommendation would be to use UploadDidStart and UploadDidProgress events for incentives.

    Hope this helps!

    Cheers
    Surath
     
  3. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,033
    Hi Surath,
    What happen if the user close the app while uploading?
    Will it resume the next time it's open? Is there a limit of how many times it will try and if yes, can we change it?

    Thanks

    EDIT
    I just read the FAQ, does it continue uploading for 10' also on IOS?
    Also If the user try to record a new game but it still hasn't finished uploading the old one, what happen?
     
    Last edited: Aug 2, 2015
  4. surathunity3d

    surathunity3d

    Unity Technologies

    Joined:
    Sep 30, 2014
    Posts:
    128
    Hi

    Everyplay starts to upload in the background even when your users continue playing a new level/session. It also does the same when they exit the app (i.e. upload in the background) and will try to continue the upload for another 10 minutes. Yes, also on iOS.

    Hope this helps!

    Cheers
    Surath
     
    00christian00 likes this.