Hello community, I have created a small application to access the data from my server. It has a login system, and when a user logins with his username and password a cookie is generated with a JWT token in it. And that cookie is return to the client.
I also have a section where the client can see only his posts. So I made a GET request where the cookie is sent as a header. So the server can unpack it and get the user ID from the JWT token.
When I created the application (front-end) in AppInventor, I used the web component to manage the requests. When I login, it created the cookie and I was able to access the posts. But when I close the application and reopen, I was not able to access the posts and it said that the cookie is not to be found.
Hey tried to use custom web view and i pretty much did something wrong,
I don't want to share the blocks because they are terrible,
P
Can you please show much the arrangement for,
I set a link in webview,
I opened app
App login screen comes, i loggin into app, and cookies get saved,
Next time i open app,
Automatically it gets logged in, i
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.