Persisting non-serializable values in react native

33 Views Asked by At

Is there any way to persist non-serialisable values in react native?

I am building a calling app using SIP js, everything works fine. Now i want to implement the call receiving functionality when the app is killed (The thing below is what I think can help me to reach my goal. I don't know whether I am going right or no, so any other ways are accepted too).

Now to achieve this, I want to persist the userAgent session so that I can use the same session in background. So when receiving a notification when the app is killed (notifications are already implemented), i can use the same userAgent session.

0

There are 0 best solutions below