My application is an e-commerce web app, for the payment I am using the third-party bank payment mobile application, so when the customer pays it opens the app, but when the payment completed and the user clicks on the back to the website, it opens a new web browser. which actually comes with a new session and the user has to login again. this problem is only in iOS mobiles with Safari browsers. for android it works.
Have you faced this problem before?
note: not a duplicate of this, because in this solution is for iOS mobile application. iOS - Return to Safari from Native App without Opening New Tab
Thanks for your time.