Advertisement
Guest User

app.module.ts

a guest
Jul 14th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { NgModule, ErrorHandler } from '@angular/core';
  2. import { BrowserModule } from '@angular/platform-browser';
  3. import { IonicApp, IonicModule, IonicErrorHandler, IonicPage, IonicPageModule } from 'ionic-angular';
  4. import { InAppPurchase2 } from '@ionic-native/in-app-purchase-2/ngx';
  5. import { CommonModule } from '@angular/common';
  6. import { HttpClientModule } from '@angular/common/http';
  7. import { File as IonicFile } from '@ionic-native/file';
  8. import { Camera } from '@ionic-native/camera';
  9. import { ImagePicker } from '@ionic-native/image-picker';
  10. import { IonDigitKeyboard } from '../components/ion-digit-keyboard/ion-digit-keyboard.module';
  11. import {AndroidPermissions} from '@ionic-native/android-permissions';
  12.  
  13.  
  14. // App
  15. import { MyApp } from './app.component';
  16.  
  17. // Native imports
  18. import { StatusBar } from '@ionic-native/status-bar';
  19. import { SplashScreen } from '@ionic-native/splash-screen';
  20.  
  21. // Providers
  22. import { ParseProvider } from '../providers/parse/parse';
  23. import { AuthProvider } from '../providers/auth/auth';
  24.  
  25. // Pages
  26. import { AboutPage } from '../pages/about/about';
  27. import { ContactPage } from '../pages/contact/contact';
  28. import { HomePage } from '../pages/home/home';
  29. import { TabsPage } from '../pages/tabs/tabs';
  30. import { SigninPage } from '../pages/signin/signin';
  31. import { SignupPage } from '../pages/signup/signup';
  32. import { ForgotPasswordPage } from '../pages/forgotpassword/forgotpassword';
  33. import { EditAccountPage } from '../pages/editaccount/editaccount';
  34.  
  35. import { CallNumber } from '@ionic-native/call-number';
  36. import { Contacts } from '@ionic-native/contacts';
  37.  
  38. import {AddgroupinfoPage } from '../pages/addgroupinfo/addgroupinfo';
  39. import {CalllogsPage } from '../pages/calllogs/calllogs';
  40. import {ChatprofilePage } from '../pages/chatprofile/chatprofile';
  41. import {ChatsPage } from '../pages/chats/chats';
  42. import {ChattingPage } from '../pages/chatting/chatting';
  43. import {CreategroupPage } from '../pages/creategroup/creategroup';
  44. import {GropprofilePage } from '../pages/gropprofile/gropprofile';
  45. import {GroupchatPage } from '../pages/groupchat/groupchat';
  46. import {GroupsPage } from '../pages/groups/groups';
  47. import {MediaPage } from '../pages/media/media';
  48. import {OptionsPage } from '../pages/options/options';
  49. import {OtpPage } from '../pages/otp/otp';
  50. import {PhonenumberPage } from '../pages/phonenumber/phonenumber';
  51. import {PrivacyPage } from '../pages/privacy/privacy';
  52. import {SelectcontactPage } from '../pages/selectcontact/selectcontact';
  53. import {VideocallPage } from '../pages/videocall/videocall';
  54. import {VoicecallPage } from '../pages/voicecall/voicecall';
  55. import {KeypadPage } from '../pages/keypad/keypad';
  56. import {NumberaddPage } from '../pages/numberadd/numberadd';
  57. import {SelectphonePage } from '../pages/selectphone/selectphone';
  58. import {MarkreadPage } from '../pages/markread/markread';
  59.  
  60.  
  61.  
  62. @NgModule({
  63.   declarations: [
  64.     SelectphonePage,
  65.     MarkreadPage,
  66.     MyApp,
  67.     AddgroupinfoPage,  
  68.     CalllogsPage,  
  69.     ChatprofilePage,  
  70.     ChatsPage,  
  71.     ChattingPage,  
  72.     CreategroupPage,  
  73.     GropprofilePage,  
  74.     GroupchatPage,  
  75.     GroupsPage,  
  76.     MediaPage,  
  77.     OptionsPage,  
  78.     OtpPage,  
  79.     PhonenumberPage,  
  80.     PrivacyPage,  
  81.     SelectcontactPage,  
  82.     TabsPage,
  83.     VideocallPage,
  84.     VoicecallPage,
  85.     SigninPage,
  86.     SignupPage,
  87.     KeypadPage,
  88.     NumberaddPage,
  89.     ForgotPasswordPage,
  90.     EditAccountPage
  91.    
  92.   ],
  93.   imports: [
  94.     BrowserModule,
  95.     HttpClientModule,
  96.     IonDigitKeyboard,
  97.     IonicModule.forRoot(MyApp),
  98.     IonicPageModule.forChild(SelectphonePage),
  99.     IonicPageModule.forChild(MarkreadPage),
  100.     CommonModule
  101.   ],
  102.   bootstrap: [IonicApp],
  103.   entryComponents: [
  104.     SelectphonePage,
  105.     NumberaddPage,
  106.     MyApp,
  107.     AddgroupinfoPage,
  108.     CalllogsPage,
  109.     ChatprofilePage,
  110.     ChatsPage,
  111.     ChattingPage,
  112.     CreategroupPage,
  113.     GropprofilePage,
  114.     GroupchatPage,
  115.     GroupsPage,
  116.     MediaPage,
  117.     OptionsPage,
  118.     OtpPage,
  119.     PhonenumberPage,
  120.     PrivacyPage,
  121.     SelectcontactPage,
  122.     TabsPage,
  123.     VideocallPage,
  124.     VoicecallPage,
  125.     MarkreadPage,
  126.     SigninPage,
  127.     SignupPage,
  128.     KeypadPage,
  129.     ForgotPasswordPage,
  130.     EditAccountPage
  131.      
  132.   ],
  133.   providers: [
  134.     StatusBar,
  135.     SplashScreen,
  136.     { provide: ErrorHandler, useClass: IonicErrorHandler },
  137.     InAppPurchase2,
  138.     ParseProvider,
  139.     CallNumber,
  140.     Contacts,
  141.     Camera,
  142.     IonicFile,
  143.     ImagePicker,
  144.     AuthProvider,
  145.     AndroidPermissions,
  146.    
  147.   ]
  148. })
  149. export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement