De su ayuda y espero poder hacerme entender.
Tengo un proyecto, pero al momento de cargarlo al companion y ver los cambios en tiempo real, funciona muy bien. PERO, cuando creo el APK y lo instalo en mi celular, ya no funciona como deberia.
porque sucede eso?
Gracias
ABG
July 23, 2026, 9:55pm
2
That usually happens for two reasons:
The TinyDB of an installed app is stored in a different place from the TinyDB of the Companion
The Companion has different file creation authorship of a built app, so there might be lack of permission to read the others' files.
si, pero estoy usando un componente web para enviar datos a firebase, todos se envian bien y organizados cuando estoy en el companion, pero cuando hago el apk no se envian los datos completos
mira asi estan los bloques…. y cuando ejecuto desde el companion sale asi:
pero, cuando creo el APK queda asi:
solo se crea esa linea y no el resto
ABG
July 23, 2026, 11:35pm
5
I have no Spanish skills, so I am going by block color and a little bit of text recognition.
You have a sequence of 3 calls to the same web component, each preceded by the loading of a slightly different URL.
I am going to guess that each of those three calls is meant to write one of the three branches of your Firebase data tree?
Sequencing three calls to the same web component without giving it a chance to complete is unwise.
I recommend using a different web component for each different branch, to keep the web calls from overlapping and interfering with each other.
I also notice that you include ".json" at the end of the text of your 3 URLs.
I am guessing that is part of a file name.
How do you know if that file is ready to be read yet, if it might have been written earlier in the app?
File writes take time, as do web requests.
TIMAI2
July 24, 2026, 9:58am
6
Please follow my guide:
add more key:value blocks to the dictionary, as required.
You should only need to make one call with all your data...