I have created my website when they login or register everything is ok but when they close the app such as safari or chrome all of the cookies being deleted It works fine with android but not in IOS
Here is how i set cookies in my website
let exp = new Date(new Date().valueOf() + 1000 * 60 * 60 * 1000);
document.cookie = `userInfo=${data.token} ; expires=${exp} ;path=/ ;secure;SameSite=Lax;`;
Thanks a lot :)