Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S2S support in TapsellPlus #8

Open
aliunco opened this issue Aug 14, 2021 · 3 comments
Open

S2S support in TapsellPlus #8

aliunco opened this issue Aug 14, 2021 · 3 comments
Labels
enhancement New feature or request sdk_issue SDK has an issue - Either marked with enhancement or bug which both need implementation in SDK side

Comments

@aliunco
Copy link

aliunco commented Aug 14, 2021

I need to validate the rewarded video presentation by user ( from server-side) in order to give some coins to user, how is it possible to gain SUGGESTION_ID from this SDK closures?

@mahdi-malv
Copy link
Contributor

Hey
I think what you need is the reward callback. Here's a reference to documents

Also here's the sample snippet to implement such thing in real project.

@aliunco
Copy link
Author

aliunco commented Aug 16, 2021

Thanks for your response,

But I believe this is not what I'm looking for,
Here is the issue, I need to give some coins to those users who watch the advertisements (Rewarded videos), so I need to validate if the user really watched it (from server-side) in order to add some coins to their account.

in other advertisement platforms, we have two approaches:

  1. web hook (which can be set in the panel). so each time the user watch a video (completely), a web hook would be called, so we can understand that which user must be rewarded
  2. validation api, which can be called by server ( server to server ), so back-end can understand that the user must be rewarded

it seems that we already have the second approach (according to documents ), but the issue is, that we don't receive any SUGGESTION_ID parameters from the SDK in any callBacks (such as reward callback - as you mentioned)

Please guide me if I'm wrong

Thanks

@mahdi-malv
Copy link
Contributor

As far as I know s2s is not considered in TapsellPlus. So Neither Webhook nor Validation API is not possible at the moment (Might be added later, but it's not happening soon)

The only approach that comes into my mind is calling your API directly in the client's onRewarded callback (However Tampering or Reverse engineering might be an issue and may be considered according to your app logic)

@mahdi-malv mahdi-malv added enhancement New feature or request sdk_issue SDK has an issue - Either marked with enhancement or bug which both need implementation in SDK side labels Aug 21, 2021
@mahdi-malv mahdi-malv changed the title How to get such S2S suggestion ID? S2S support in TapsellPlus Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sdk_issue SDK has an issue - Either marked with enhancement or bug which both need implementation in SDK side
Projects
None yet
Development

No branches or pull requests

2 participants