Web preview ok apk not ok

hi
I don’t understand after trying my application so many times in web preview mode
I create an apk and it doesn’t work from the login page made with data stored in google sheet

2 Likes

I didn’t get what you mean. Can you explain more?

1 Like

hi

I use my application in preview mode on my pc and on my phone
it works
on the other hand, when I make an apk that I download to the phone, it doesn’t work
my first screen is a login screen and I can’t connect any user to the same users I managed to connect in preview mode use my application in preview mode on my pc and on my phone
it works
on the other hand, when I make an apk that I download to the phone, it doesn’t work
my first screen is a login screen and I can’t connect any user to the same users I managed to connect in preview mode

2 Likes

Are you using stored variables?

If yes, have you initialized them properly?

1 Like

in my login screen i use only app variables

2 Likes

In this case, I can only give you advices after seeing your login screen blocks.

1 Like

my initialization sequence is long and not very elegant

2 Likes

Is your Google sheet shared or not?

1 Like

it is not

update

after sharing?

it works
: o)

2 Likes

Can you share it and make sure you select anyone with the link and try the APK?

1 Like

it’s true, however, it works even in preview mode to connect a user I have to do it twice when the email and password are correct

more the create row blocks do not seem to work all the time I have to think about replacing them with a script of preference according to you?

2 Likes

Yes, because Preview mode is part of the browser and you are logged in to the browser by your Google mail this is why it works.

1 Like

I think I understood this aspect, however, what I find surprising is that I have to re-enter the identifiers several times it does not work the first time when the identifiers are correct

here are the blocks that manage the connection:

at the first connection, users must change their password which is initially “default”

2 Likes

If the email is unique in the table then the blocks work but they do extra work for no reason.

Just imagine if you have 50 users and the user signing in is No. 2, the loop will find the correct email and password in the second round but will continue going round and round for all users in the table.

What is the code in Screen6 that changes the default password and where does it go afterwards?

1 Like

every user has is own email witch is unique

2 Likes

So, when you find the correct email Exit from the loop.
image

2 Likes

the process does not exit the loop when it finds the right email?

2 Likes

No.
It will continue in the background.

1 Like

it’s not that yet
I have to reconsider my login page

2 Likes

nothing goes

I don’t get out of this loop

I compare the entered email to the long list of emails to extract the user id and I have to press the button several times to achieve my ends

1 Like