ionic-framework

Ionic 4 IOS FIRESTORE INTERNAL ASSERTION FAILED: AsyncQueue is already failed: An internal error was encountered in the Indexed Database server [closed]

橙三吉。 提交于 2020-06-27 02:18:38
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . Improve this question I am developing an Ionic application, I am using Firestore as a database, using offline mode. import {AngularFirestoreModule} from '@ angular / fire / Firestore'; AngularFirestoreModule.enablePersistence (), When I open the application everything works very well, even on

Ionic 4 IOS FIRESTORE INTERNAL ASSERTION FAILED: AsyncQueue is already failed: An internal error was encountered in the Indexed Database server [closed]

一个人想着一个人 提交于 2020-06-27 02:17:06
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . Improve this question I am developing an Ionic application, I am using Firestore as a database, using offline mode. import {AngularFirestoreModule} from '@ angular / fire / Firestore'; AngularFirestoreModule.enablePersistence (), When I open the application everything works very well, even on

Swipe through segment tabs - Ionic 3

狂风中的少年 提交于 2020-06-26 11:19:30
问题 The code below uses segments from ionic 3. docs show the use of ngSwitch, ngModel. but I would like to simply swipe on the segment and switch to another segment tab. How can I achieve this? I am not interested in swiping the tabs at the top but by swiping on the content i would like to change the segment tab. <ion-content padding> <div> <ion-segment [(ngModel)]="abc"> <ion-segment-button value="Segment1"> Segment Title </ion-segment-button> <ion-segment-button value="segment2"> Segment Title

Webpack chunks are unable to load on Android. Web and iOS are fine ( ChunkLoadError: Loading chunk pages-home-home-module failed.)

杀马特。学长 韩版系。学妹 提交于 2020-06-26 07:36:53
问题 I have an ionic 4 capacitor app that is working properly on iOS. I am using Angular 8 with lazyloading. However, whenever I want to run the android app, I get a significant amount of errors saying that many chunks failed to load. I do not get any error doing ionic build --prod Here are the error messages: E/Capacitor/Console: File: http://localhost/polyfills-es2015.92885f6bd7b81e5291ae.js - Line 1 - Msg: Unhandled Promise rejection: Cannot read property 'isProxied' of undefined ; Zone: <root>

Webpack chunks are unable to load on Android. Web and iOS are fine ( ChunkLoadError: Loading chunk pages-home-home-module failed.)

流过昼夜 提交于 2020-06-26 07:36:21
问题 I have an ionic 4 capacitor app that is working properly on iOS. I am using Angular 8 with lazyloading. However, whenever I want to run the android app, I get a significant amount of errors saying that many chunks failed to load. I do not get any error doing ionic build --prod Here are the error messages: E/Capacitor/Console: File: http://localhost/polyfills-es2015.92885f6bd7b81e5291ae.js - Line 1 - Msg: Unhandled Promise rejection: Cannot read property 'isProxied' of undefined ; Zone: <root>

How to change the color of custom svg icon in ionic 4?

天大地大妈咪最大 提交于 2020-06-26 03:12:37
问题 I want to change the color of a custom svg icon on clicking a button <ion-item> <ion-icon src="../../assets/img/icon-qr.svg"></ion-icon> <ion-label>Qr Scan</ion-label> </ion-item> 回答1: I was unable to override an svg stroke or fill if it was specified in the svg. Example: bad svg <svg xmlns="http://www.w3.org/2000/svg" width="20" height="16" viewBox="0 0 20 16"> <g fill="#88AACC" fill-rule="evenodd" stroke-linecap="round" stroke="#555555" stroke-linejoin="round" stroke-width="2"> ... </g> <

How to change the color of custom svg icon in ionic 4?

巧了我就是萌 提交于 2020-06-26 03:12:11
问题 I want to change the color of a custom svg icon on clicking a button <ion-item> <ion-icon src="../../assets/img/icon-qr.svg"></ion-icon> <ion-label>Qr Scan</ion-label> </ion-item> 回答1: I was unable to override an svg stroke or fill if it was specified in the svg. Example: bad svg <svg xmlns="http://www.w3.org/2000/svg" width="20" height="16" viewBox="0 0 20 16"> <g fill="#88AACC" fill-rule="evenodd" stroke-linecap="round" stroke="#555555" stroke-linejoin="round" stroke-width="2"> ... </g> <

How to change the color of custom svg icon in ionic 4?

喜欢而已 提交于 2020-06-26 03:11:11
问题 I want to change the color of a custom svg icon on clicking a button <ion-item> <ion-icon src="../../assets/img/icon-qr.svg"></ion-icon> <ion-label>Qr Scan</ion-label> </ion-item> 回答1: I was unable to override an svg stroke or fill if it was specified in the svg. Example: bad svg <svg xmlns="http://www.w3.org/2000/svg" width="20" height="16" viewBox="0 0 20 16"> <g fill="#88AACC" fill-rule="evenodd" stroke-linecap="round" stroke="#555555" stroke-linejoin="round" stroke-width="2"> ... </g> <

How to disable remote android debugging of WebView in Ionic/Cordova

笑着哭i 提交于 2020-06-25 05:55:08
问题 I have an Android app built on top of the Ionic/Cordova platform. By default Remote Android Debugging is enabled. https://developers.google.com/web/tools/chrome-devtools/remote-debugging/ This means that if the device is connected to a computer, one can go open the Chrome browser, go to chrome://inspect find a list of webpages, or app's with webviews, click inspect and see the apps HTML, JS and other resources. This is fine for debugging but I'd like this disabled in the released app. In

module declares component locally, but it is not exported

徘徊边缘 提交于 2020-06-17 14:39:08
问题 i have created a shared module and declared & exported the component i need in other modules. import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DateslideComponent } from './dateslide/dateslide.component'; import { IonicModule } from '@ionic/angular'; import { TimeslideComponent } from './timeslide/timeslide.component'; import { AddtimeComponent } from './addtime/addtime.component' @NgModule({ declarations: [DateslideComponent,