liveview-native / liveview-native/liveview-native-webview

Inquiry about Managing Cookies for Session Persistence in LiveViewNativeWebView

Open
#1 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Issue Description:
In our application, users need to log in to access certain features. We've observed that the login session (managed through cookies) is lost when the app is closed and reopened, leading to a less than ideal user experience.

Question:
Could you please advise on how to properly manage cookies within the LiveViewNativeWebView library to maintain user login sessions? Specifically, I am looking for a way to persistently store and restore specific cookies so that user sessions remain active even after the app restarts.

I would appreciate any documentation, code snippets, or guidance you can provide on this matter. Thank you for your time and assistance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing LiveViewNativeWebView's cookie and session handling, along with the platform WebView persistence behavior. Define how selected cookies should be stored and restored across app restarts, then document the supported usage with a code example. Done means users can follow the guidance to keep login sessions active.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.