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

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?

A button clicks points add
That points we can share to another user

This post was flagged by the community and is temporarily hidden.

How to share in app coins another device option using firebase db

How to give coins to another device
Like user can share their coins to another user
How to create this using firebase db

As originally requested, here is an app that uses CloudDB, and its ability to store and update lists.

It depends on the atomic list updates to maintain list validity across user updates.

Each user's points are the sum of all list values added to or subtracted to that user's username/points tag/value in CloudDB.

image


cloudDB_points.aia (6.8 KB)

Each device remembers its own user name from startup, and gets 50 points at birth.

Giving another user points reduces your own points.

You can't give more points than you own.

This is the bare bones minimum functionality.

P.S. Oops, you asked for Firebase, not CloudDB. No matter, Firebase also has list value blocks, so it should be no problem for you to add a Firebase DB and switch the CloudDB blocks to FirebaseDB blocks.

2 Likes

Thank you soo much💛

This errors are showing


The cloud DB error is interfering with retrieval of points.

Investigate what is interfering with the cloud DB access.

Are you still mooching off the free MIT cloud DB service?