2020-08-11 04:11:42 +01:00
|
|
|
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
2020-08-05 15:39:16 +01:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
|
import { RouteReuseStrategy } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
|
2021-03-01 15:45:30 +01:00
|
|
|
// import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
2021-02-25 11:50:32 +01:00
|
|
|
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
2020-08-05 15:39:16 +01:00
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
|
|
2020-08-25 14:08:13 +01:00
|
|
|
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
|
|
|
|
|
2020-12-09 12:10:19 +01:00
|
|
|
|
2021-02-12 10:16:27 +01:00
|
|
|
//import { File } from '@ionic-native/File/ngx';
|
2020-12-09 12:10:19 +01:00
|
|
|
import { WebView } from '@ionic-native/ionic-webview/ngx';
|
|
|
|
|
import { FilePath } from '@ionic-native/file-path/ngx';
|
2021-02-09 13:16:41 +01:00
|
|
|
import { Camera } from '@ionic-native/camera/ngx';
|
2020-12-09 12:10:19 +01:00
|
|
|
import { IonicStorageModule } from '@ionic/storage';
|
2021-01-22 16:00:37 +01:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
import { FormsModule } from '@angular/forms';
|
2021-01-25 16:18:36 +01:00
|
|
|
|
|
|
|
|
|
2021-01-22 16:00:37 +01:00
|
|
|
import { CalendarModule, DateAdapter } from 'angular-calendar';
|
|
|
|
|
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
|
2021-01-25 16:18:36 +01:00
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
2021-03-11 16:21:09 +01:00
|
|
|
import { MessagesPage } from './pages/chat/messages/messages.page';
|
2021-01-22 16:00:37 +01:00
|
|
|
|
2021-04-08 22:54:15 +01:00
|
|
|
import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx'
|
2021-04-08 11:27:53 +01:00
|
|
|
|
2020-09-10 09:48:37 +01:00
|
|
|
|
2020-08-05 15:39:16 +01:00
|
|
|
@NgModule({
|
2021-03-11 16:21:09 +01:00
|
|
|
declarations: [AppComponent,MessagesPage,],
|
|
|
|
|
entryComponents: [MessagesPage],
|
2020-12-02 16:20:20 +01:00
|
|
|
imports: [BrowserModule,
|
2021-01-22 16:00:37 +01:00
|
|
|
CommonModule,
|
|
|
|
|
FormsModule,
|
|
|
|
|
CalendarModule.forRoot({
|
|
|
|
|
provide: DateAdapter,
|
2021-01-25 16:18:36 +01:00
|
|
|
useFactory: adapterFactory
|
2021-01-22 16:00:37 +01:00
|
|
|
}),
|
2020-12-09 12:10:19 +01:00
|
|
|
IonicModule.forRoot(),
|
|
|
|
|
IonicStorageModule.forRoot(),
|
2020-12-02 16:20:20 +01:00
|
|
|
AppRoutingModule,
|
2021-03-15 15:19:07 +01:00
|
|
|
HttpClientModule,
|
2020-12-09 12:10:19 +01:00
|
|
|
],
|
2020-08-05 15:39:16 +01:00
|
|
|
providers: [
|
2021-02-25 11:50:32 +01:00
|
|
|
StatusBar,
|
2021-03-01 15:45:30 +01:00
|
|
|
//SplashScreen,
|
2020-08-05 15:39:16 +01:00
|
|
|
HttpClientModule,
|
2020-08-25 14:08:13 +01:00
|
|
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
|
2020-08-26 09:42:16 +01:00
|
|
|
InAppBrowser,
|
2021-02-09 13:16:41 +01:00
|
|
|
Camera,
|
2021-02-12 10:16:27 +01:00
|
|
|
//File,
|
2020-12-09 12:10:19 +01:00
|
|
|
WebView,
|
|
|
|
|
FilePath,
|
2021-04-08 11:27:53 +01:00
|
|
|
FCM
|
2020-08-05 15:39:16 +01:00
|
|
|
],
|
2020-08-11 04:11:42 +01:00
|
|
|
bootstrap: [AppComponent],
|
|
|
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
2020-08-05 15:39:16 +01:00
|
|
|
})
|
|
|
|
|
export class AppModule {}
|