I need some help related to firebase. I stuck at making a referral system.
My idea is, when some one sign up and enter referral code, then using that referral code, first find firebase-User-ID of referrer, then Set Firebase Project Bucket to Referrer’s Project Bucket and edit the amount tag and then change back Project Bucket to New User’s Firebase-User-ID.
Hope you understand.
Thanks in advance.
Here are my blocks: <Non related blocks to this question is disabled, to save time. >
Splash Screen:
That’s not what I wanted man,
This way I will get the user id of current device user which is using the app.
But I want to get user id of other user with his reffer tag.
I know it seems complicated .
But… That’s what I need as reffer system.
Well, let me tell u that I will use this user id to visit his project bucket through blocks. And change his balance points as reward.
I am surprised ( more sad ) to see that no one helped me,…
By the way I made my own login to solve this complicated problem with more complicated solution after continues effort of 3 weeks .
Hope to see someone help me next time.