Save data to cloud db and view in Listpicker

I'm not sure. the two devices should have to share the same token based on this;

Token This field contains the authentication token used to login to the backed Redis server. For the “DEFAULT” server, do not edit this value, the system will fill it in for you. A system administrator may also provide a special value to you which can be used to share data between multiple projects from multiple people. If using your own Redis server, set a password in the server’s config and enter it here.

https://ai2.appinventor.mit.edu/reference/components/storage.html#CloudDB

I've never tried what you suggest with the default CloudDB. Have you an example aia to share that exhibits this behaviour when loaded on two devices without having the 'special value for Token?

No, I don not want to share the database.

I believe that laoding the identical apk with same email account will be possible only when the app is live on stores, otherwise,
According to my trial scanning the QR for apk with same email will still be like two different accounts
Am I right?

When you say "saving the list to clouddb on one device I checked the app on other device with the same account, then I am retreving a empty list, may be this is not saving the tags in clouddb,"

What you describe is an example of 'sharing' the database to work on two devices. I am not taling about sharing with everyone but only sharing using the identical apk on several of your devices. To do that, I believe you need to follow the guidance in the chat example. @TIMAI2 suggests you may not need to do that. He might be right.

I don't think so. :cry: but I do not understand what you mean using the same email. What you tried doesn't work the way you want your app to work; so perhaps that is your answer.

Just tested, by compiling my example blocks to an app, installed on two devices. Stored data with one device, then was able to call back the same data with the other device.

If the OP does not want to do this, then use tinydb to store the data on the device, then consider what data should be shared with other users?

If this is working on both devices then thats good and I will not make any changes to the blocks,

Just one thing I am still getting this error, How to fix this?

flowersTaglist.aia (2.5 KB)

I have some Tags saved in tinydb Listpicker, so how can I get them to clouddb Listpicker?

Like so ?

image

I will try this and revert,
Thank you

Hi,
My Listpicker is retrieving only tag and the rest texboxes are empty,
Is there any solution for this?

Pls explain with blocks

Found the solution

This is working great :blush: :blush: :blush: :blush:

Please share your solution so that others may learn...

Here is the solution,

If two devices or clients from two different countries install this app from play store, will they retrieve the same data or they will have two different servers?

See above

Does cloudb pass the same data with only installing the identical apk?

My question is by installing the live app from Playstore, will there be same data fetched by two different devices,
As my users will be saving sensetive financial data, but if the Phone is been changed or damaged then my users shall be able to fetch the data again.

Why don't you create a test app, and test it, before submitting an app for sensitive data usage. ( I thought this was a flower database sharing app?)

If users will be submitting sensitive data cloudDB is NOT the place to store this.