My ionic app doesn't work on IOS, but it works on android and browsers like chrome and safari. The only error reported is when starting the application regarding storage creation. Why can't I use storage on IOS? How can I solve it?
Error:
core.js:6014 ERROR Error: Uncaught (in promise): Error: No available storage method found.
NgModule:
@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [
BrowserModule,
IonicModule.forRoot(),
IonicStorageModule.forRoot({
dbKey: '_ionickey',
driverOrder: ['IndexedDB', 'WebSQL', 'localstorage'],
name: '_ionicstorage',
storeName: '_ionickv'
}),
AppRoutingModule,
HttpClientModule,
FormsModule,
ReactiveFormsModule,
],
providers: [
StatusBar,
SplashScreen,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
],
bootstrap: [AppComponent]
})