Olá.
Estou tentando fazer com que meu app compare sua versão interna com a versão contida na play store. Já tentei em planilha online onde coloco só o código, em arquivo texto online com o github, mas não consigo. Existe alguma extensão para isso?
What you want to do is not clear."I'm trying to make my app compare its internal version with the version contained in the play store. I've tried using an online spreadsheet where I only put the code, and using an online text file with github, but I can't do it. Is there an extension for this?"
Do you want to compare the apk posted in the Play Store with your code? Is the apk in the Play Store and app your built? What do you mean by the word compare ?
Put in your AppAbout Screen the code version of your App as it:
When the user open your App first read a txt file when before you had put the current verssion.
If the version code (Txt and AboutScreen) not matchs send the user to update the app in the PlayStore or similar.
Exato. Quero fazer com que ao abrir o app, se a versão que ele está usando for diferente da versão da play store, o usuário receba uma notificação que é necessário atualizar o app.
Interessante, mas não entendi como fazer em relação a esse arquivo txt.
Agrardeço se puder me dar dias mais específicas.
This is the content of my txt file to manage the app more recently
version of my app. It was hand-uploaded to my server:
And in the app I have these blocks:
Olá.
Estou tentando fazer com que ao abrir o meu app, ele salve em uma legenda o texto contido em uma url que pode ser de um arquivo .txt ou de uma planilha online (o que for mais fácil). Estou tentanto usar o webViewer, mas não consegui.
Obrigado.
Please provide a few example urls and explain, which text you like to extract
Generally you use the split block from the text drawer to convert the url into a list and use select list item blocks to get a specific item from the list
Also a parse procedure could help...
Taifun
Vou explicar o que exatamente eu pretendo fazer: Vou criar uma variável (global) com o número da versão do app. Quero fazer com que ao iniciar o app, essa variável seja comparada com o número da url que pode igual aos exemplos:
https://raw.githubusercontent.com/MJAJR/Versao_Farmacia_Fartura/refs/heads/main/Farmacia_Plantao_fartura.txt
ou
https://docs.google.com/spreadsheets/d/1ImZTbSrnP3835yRkMMGgvNxRqqc5voCqC3DHURCtfso/edit?pli=1&gid=0#gid=0
ou
https://docs.google.com/document/d/1F3dDr-YHOQ8dMOR2BeoQs5NiHxrZsLHALDU-wpCdUZU/edit?usp=sharing
Conforme eu atualizar, uma versão, eu mudo o arquivo online (url) e na variável também
Dessa forma eu não precisaria de um servidor
I unfortunately can't find a number in that url
I now edited your post to see your raw urls. Please elaborate
Taifun
Olá. Vou tentar explicar de outra forma:
Pretendo usar uma fonte online, (uma página, site, etc) que contenha um simples número que é o número da versão mais recente do app. Quando o usuário abrir o app, esse número online através do endereço online é baixado em uma lable, que será comparado com uma variável dentro do app que vai conter outro número (que é o número da versão do app). A partir daí eu vou comparar os dois números. Se for diferente, o usuário receberá uma notificação para atualizar o app.
The Google Docs is the same as my hosting-server. You need read the txt file in your personal-hosting or in your Google Docs where you have the last app version. Your personal hosting or your Google Docs is the same and you need read their file as a normal external web access with the respective URL.
Here you have a tutorial with good details (Spanish).
http://kio4.com/appinventor/52nuevaversion.htm