Modify working firebasecontroller.cs (Auth/RealtimeDB) and implement user referral system + rewards in unity via firebase custom links. -- 3

Job ID: 34124490

Budget: $30 – $250 USD

Looking for a talented programmer to implement firebase dynamic links to implement a user referral system that allows for users to paste other user's unique referral ID's.

The person referring others will earn a % of the game currency that the referred user receives.

Each referred user and the total amount of coins earned from them will be listed in an UI element.

Realtime DB, Firebase Auth and a working firebasecontroller.cs are already available to be modified. This project can be realized locally by modifiying the provided firebasecontroller.cs as long as documentation on the required UI elements and potential DB modifications are provided.


___________________

Implement firebase dynamic link to generate unique referral codes for each UID. (up to 11 characters long)

Implement firebase rewarded referrals.

Display copyable unique referral code in profile UI element.

Display input field for other user's referral code in profile and registration UI element.

Implement buttons to trigger the linkage of one account to another account's referral code.

Implement triggerable public voids to reward the referring user with a 5% of the coins earned from public void BalancePostAdd.

Implement a scroll view UI element in profile that displays the Username (not UID) [reference firebasecontroller.cs for how the username is generated] and the total amount of coin earned by that referral. E.g. the sum of the 5% the referee has earned on each "BalancePostAdd" trigger.

Store the total balance earned by user on firebase real-time DB. E.g. by generating database entries with the referred user's UID and their total balance. (See databasestructure.jpg for how the db is structured)

Implement a void to update the text elements for each referred user's total referredbalance parsing the referee's UID in the active user's DB. This can simply be triggered on click when opening the profile panel and doesn't need to be updated in real-time.

Display showNotificationMessage("Title", "Message"); after successful account linkage.

As for delivery, a simple export of the scene as well as the modified firebasecontroller.cs would be desirable. Please test whether or not the dynamic link, referred reward and UI elements are working in your own firebase environment and comment your code for easy implementation. (FirebaseAuth, RealtimeDB)
Erforderliche Fähigkeiten