You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using Capacitor 3 storage and whenever I am restarting the app. storage seems to be cleared by itself on Android.
On ios it works fine.
I am using storage to save the jwt token for authentication. The user has to log in every time the app is restarted. Please help me my app is in production and I am loosing business because of this. I tried all the storages all of them show the same behavior. Ionic/Storage is also wiped out
Android version: 11
import { Injectable } from '@angular/core';
import { Storage } from '@capacitor/storage';
@Injectable({
providedIn: 'root'
})
export class StorageService {
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using Capacitor 3 storage and whenever I am restarting the app. storage seems to be cleared by itself on Android.
On ios it works fine.
I am using storage to save the jwt token for authentication. The user has to log in every time the app is restarted. Please help me my app is in production and I am loosing business because of this. I tried all the storages all of them show the same behavior. Ionic/Storage is also wiped out
Android version: 11
Beta Was this translation helpful? Give feedback.
All reactions