How do I make http.get requests sequential?
hi create array of promises to the function u want to download in series then: let promisesArray=[]; downloadinSeries(promisesArray).then(() => { }).catch((error) => { console.log(error); });...
View ArticleHow to generate a unique random value for a mobile transaction?
sorry @anespa i don’t know about this issue.
View ArticleApp slow start up
bundle size and assets are boot time worst enemy. that’s one of the reason why for Ionic 4 the Ionic team is rewriting everything with web component (= Stencil built) you could find some investigation...
View ArticleDownloading with File Transfer nothing happens
i want to download a file and run it on android. but nothing happens when i use File Transfer download in --prod mode. even no errors! constructor(public transfer: FileTransfer, private file: File,...
View Article[Stencil] Importing Stencil components into Ionic-Angular
I did decide to don’t use shadowRoot for the moment, that probably explain why it’s working for me I guess
View Article[Stencil] Importing Stencil components into Ionic-Angular
I didn’t use it on purpose. Is there some flag where I can say “don’t use this” ?
View Article[Stencil] Importing Stencil components into Ionic-Angular
I think it’s in the decorator…let me check
View Article[Stencil] Importing Stencil components into Ionic-Angular
Do you have the following in your decorator: @Component({ tag: 'my-component', styleUrl: 'my-component.scss', shadow: true // <------------------ Here use shadowRoot })
View Article[Stencil] Importing Stencil components into Ionic-Angular
No. Maybe I should explicitly set it to false, just to be safe. I knew about that, but thought it wasn’t the issue, because I wasn’t using it. I should test.
View Article[Stencil] Importing Stencil components into Ionic-Angular
Maybe yes, but in my case I don’t explicitly set it to false. Also right now I use version 0.6.6. Note: once I removed shadow:true I remember I had to modify something like this.el.querySelector or...
View Article[Stencil] Importing Stencil components into Ionic-Angular
So I found, if no shadow root, you should modifiy this.el.shadowRoot.querySelector... to this.el.querySelector...
View ArticleInsert data into SQLite Database using ionic
Hello, I want to build an application that asks users to enter their data using this app. The data entered will be stored in the database. How to connect input data from ionic to database? Can anyone...
View ArticleCamera image resize/compression
am taking image through camera and display that image on canvas…when am adding targetwidth and target height option in my camera option…it does not effect on image …any solution ???
View Article[Capacitor] Newbie questions
Running windows 10 D:\Data\Coding Projects\ionic\capitest>npx cap add ios D:\Data\Coding Projects\ionic\capitest\node_modules\@capacitor\cli\bin\capacitor [error] Not running Mac OS X, can't add...
View ArticleSmaller Images from gallery
same case …target width and target height not produce any effect on image
View ArticleAJAX Call ANGULAR 5
any error response from server?. .subscribe(data=>{ console.log(data); }, err => { console.log(err); });
View Article[Capacitor] Newbie questions
Same for me Capture d’écran 2018-03-04 à 09.22.07.png756x818 84.6 KB
View Article[Capacitor] Newbie questions
reedrichards: Mmmmh I think you should open an issue about that one https://github.com/ionic-team/capacitor/issues Done github.com/ionic-team/capacitor Issue: Testing Camera plugin in Android Studio...
View Article