Hola de su ayuda...
tengo productos con sus precios y codigos, pero he creado 2 variables por producto, osea ejemplo:
producto 1 precio - producto 1 codigo
producto 2 precio - producto 2 codigo
y eso me ha generado demasiadas variables como 80 o mas, pero siento que se podria optimizar eso, pero no se como
esa informacion la obtengo de firebase para que se coteje con app inventor y se lean en listas....
si alguien tiene una mejor idea me salvaria la vida
gracias
si, pero, esa lista debo ingresarla cada que hay una variacion de precios por ejemplo, el problema radica en que cada vez que hay una modificacion de valores, tengo que ingresar a la pagina, cargar el nuevo archivo, luego actualizar y a esa actualizacion en play console sabe tardar dias !!!
lo que necesito es que se actualicen los valores en tiempo real, si me comprendes?
Taifun
July 18, 2025, 5:12pm
4
Use your spreadsheet as an online database. Update your prices there and your app downloads the data directly from the spreadsheet.
No need to manually download the data, upload it to the app, create a new version of the app etc
If I understand you correctly:
Google refer to standalone and bound scripts. The bound scripts are...bound to a spreadsheet and they cannot be unbound, the standalone scripts are....standalone. (is this what you mean by embedded/not embedded?)
A bound script can allow for some methods in the script that relate directly to the spreadsheet with which it is bound. The one we tend to use the most is:
var ss = SpreadsheetApp.getActive();
which gets the spreadsheet to which the script is bound.
W…
Taifun
ABG
July 18, 2025, 5:12pm
5
The prices must be kept separate from the app code, to avoid having to go back to the Play Store every time a price changes.
That's why your own online table of prices is needed, and why your app has to look up the price from that source every time it needs a price.
So study up on the various forms of online storage.