How do I create an app like user can share points to another user

please help me in sending data user to user, for example such as user transferring points, to other user using firebase
Example
User1 share 10 points to user2
User1=0 user2=10

Iam a beginner plss send the block section
That is helpful to me

You have already asked this question on the Kodular community:

If you are building your app using Kodular then you should continue to ask for help there, AI2 and Kodular can be very different.

1 Like

Plss brother i dont getting the answer in kodular plss help mee

I quit kodular and i choose mit app inventor

OK, see here for an example

This system can share points user to user

Iwant
This
Example
UserA Sent 10 points to user B
Get 10 in User B wallet and user A wallet balance -10
After the transaction balance
UserA=0, userB=10

how you store user data on firebase? show us the data structure.

Name
Mobile no
Password
Points

This type of app requires a transaction log that can be used to trace the money transfers and to reconstruct the current balances.

The log would be a list of lists, (a table) with each row looking like

  • 20241225, Santa Claus, ABG, $0.02

This would record that Santa Claus gave ABG $0.02 on December 25 2024

To supplement this, you would need a balance log of end of day balances by date and name.

  • 20241224, Santa Claus, 1000000.02
  • 20251225, Santa Claus, 0.00
  • 20241224, ABG, 1.00
  • 20241225, ABG, 1.02

(This should have been sorted in time order first, but I am on my phone)

This is how banks do it, to allow audits.

1 Like

This app is not a money sharing or not a financial app
Iwant an app like simple users points share one user to another
Like this
I want to make an app which sends points that means just suppose user A sends 10 from his app to user B and also suppose user S has 100 number already in his app , when A sends it becomes 110 in B’s app

Anybody share blocks of this app

It does not matter if you share money or only points, the concept @ABG described is the same

Learn how to work with lists and list of lists

Taifun

1 Like

You said above that you had finished with Kodular, but your aia project is built with Kodular, which is incompatible with AppInventor. You will need to create a new project with AppInventor.

TIMAI2
I am facing some errors

This is the AppInventor community. I do not do any work on Kodular app project. As suggested, rewrite your project in Appinventor.

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

I fix the other issues
Pls add point sharing system to that aia
Iam a beginner i dont know the blocks verymuch

Plss reply
Onetoonechat.aia (465.8 KB)
This is one to one chat app how to convert this app to impliment point sharing system
sends points that means just suppose user A sends 10 from his app to user B and also suppose user S has 100 number already in his app , when A sends it becomes 110 in B’s app
Anybody add this system to that aia and sent it to me

Where should the points originate?

Are people born with a set number of points?

Is there place you can buy points?

Is there a Government Points Printing Office?

Do points have to be mined, like Bitcoin?