Good morning, how do I perform a function when the user successfully shares

Good morning, how do I perform a function when the user successfully shares
I would like when the person successfully shares accomplish something in the app

Hello!
Your question is unclear.
Please elaborate more how and what a user shares in your application?

I’m making a rewards app and would like when he shares the app, he earns points.

Rewards? For what purpose?
Are you making an earning app?

I’m making an app when it shares for 10 people, it earns points if it reaches 20 points the admob is disabled

Earning apps are not allowed in Kodular.

It’s not a win app, it just disables admob when it shares the app

1 Like

You should do something like this.
Generate a code and add a function such that if a new user register with that code, it will add one point to the user who shares the code.