diff --git a/angular.json b/angular.json index 042364a39..28356ab3f 100644 --- a/angular.json +++ b/angular.json @@ -198,4 +198,4 @@ "styleext": "scss" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 070074b23..01324bc68 100644 --- a/package.json +++ b/package.json @@ -186,13 +186,7 @@ "cordova-plugin-ionic-webview": {}, "cordova-plugin-screen-orientation": {}, "cordova-plugin-network-information": {}, - "cordova-plugin-camera": { - "ANDROID_SUPPORT_V4_VERSION": "27.+" - }, - "cordova-plugin-media": { - "KEEP_AVAUDIOSESSION_ALWAYS_ACTIVE": "NO" - }, - "uk.co.workingedge.cordova.plugin.sqliteporter": {} + "cordova-plugin-camera": {} }, "platforms": [ "browser", diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 530cfa87b..ca634fade 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -195,6 +195,10 @@ const routes = [ path: 'document-viewer', loadChildren: () => import('./modals/document-viewer/document-viewer.module').then( m => m.DocumentViewerPageModule) }, + { + path: 'view-document', + loadChildren: () => import('./modals/view-document/view-document.module').then( m => m.ViewDocumentPageModule) + }, diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index fd5e91998..484ff71f8 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -193,8 +193,8 @@ export class HomePage implements OnInit { }) - synchro.registerCallback('Offline', () => { - console.log('Offlineee') + synchro.registerCallback('Offline',()=>{ + }) synchro.conected @@ -203,7 +203,7 @@ export class HomePage implements OnInit { this.webNotificationPopupService.sendNotification(DataArray) - this.storageService.get('Notifications').then((data: any) => { + this.storageService.get('Notifications').then((data:any)=>{ data.push(DataArray) this.storageService.store("Notifications", data) }).catch(() => { diff --git a/src/app/modals/chat-options-features/chat-options-features.page.html b/src/app/modals/chat-options-features/chat-options-features.page.html index 40c40b512..75ac2594a 100644 --- a/src/app/modals/chat-options-features/chat-options-features.page.html +++ b/src/app/modals/chat-options-features/chat-options-features.page.html @@ -7,7 +7,7 @@