Uncaught (in promise): QuotaExceededError

Getting error when I build the app in android device, its work fine in emulator and browser, but when I run the app into the device I get this error and my data could not save in storage.

vendor.js:1 ERROR Error: Uncaught (in promise): QuotaExceededError
    at c (polyfills.js:3)
    at polyfills.js:3
    at polyfills.js:3
    at t.invoke (polyfills.js:3)
    at Object.onInvoke (vendor.js:1)
    at t.invoke (polyfills.js:3)
    at r.run (polyfills.js:3)
    at polyfills.js:3
    at t.invokeTask (polyfills.js:3)
    at Object.onInvokeTask (vendor.js:1)

Here is my dependencies

  "dependencies": {
    "@angular/animations": "5.2.10",
    "@angular/common": "5.2.10",
    "@angular/compiler": "5.2.10",
    "@angular/compiler-cli": "5.2.10",
    "@angular/core": "5.2.10",
    "@angular/forms": "5.2.10",
    "@angular/http": "5.2.10",
    "@angular/platform-browser": "5.2.10",
    "@angular/platform-browser-dynamic": "5.2.10",
    "@ionic-native/camera": "^4.7.0",
    "@ionic-native/core": "4.7.0",
    "@ionic-native/network": "^4.7.0",
    "@ionic-native/onesignal": "^4.7.0",
    "@ionic-native/splash-screen": "4.7.0",
    "@ionic-native/status-bar": "4.7.0",
    "@ionic-native/transfer": "^3.14.0",
    "@ionic/pro": "1.0.20",
    "@ionic/storage": "^2.1.3",
    "cordova-android": "^7.0.0",
    "cordova-ios": "4.5.4",
    "cordova-plugin-camera": "^4.0.3",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-keyboard": "^2.0.5",
    "cordova-plugin-ionic-webview": "^1.2.1",
    "cordova-plugin-network-information": "^2.0.1",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "cordova-sqlite-storage": "^2.3.2",
    "emulator": "0.1.0",
    "ionic-angular": "3.9.2",
    "ionic-cache": "^3.0.1",
    "ionicons": "3.0.0",
    "onesignal-cordova-plugin": "^2.4.1",
    "rxjs": "5.5.10",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.26"
  }

here is my app.module.ts imports array

imports: [
    BrowserModule,
    LoginPageModule,
    SignupPageModule,
    DashboardPageModule,
    TabPageModule,
    IonicModule.forRoot(MyApp, {
      tabsPlacement: 'bottom',
      platforms: {
        ios: {
          tabsPlacement: 'bottom'
        }
      }
    }),
    CacheModule.forRoot(),
    IonicStorageModule.forRoot({
      name: '__mydb',
      driverOrder: ['indexeddb', 'sqlite', 'websql']
    }),
    HttpClientModule,
  ],
  

PWA? I faced that in February too, https://forum.ionicframework.com/t/pwa-domexception-quota-exceeded

no, it works in web also emulator, but when I run it into the real device it
shows that error.

real device…maybe the device you are using for testing is running out of free space? https://stackoverflow.com/questions/45065299/quotaexceedederror-using-ionic-storage-with-a-few-strings?rq=1

I already check it, but this is not my problem, :frowning: I tested it with different device.

:frowning: no more ideas from my side, hope someone could helps you then

Maybe one of these links help?

https://forum.ionicframework.com/t/quotaexceedederror-with-small-data