You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be unrelevant issue I am rasing.I am currently working on ionic.I was trying to do some background service.Did u figured it out.How to do in ionic.If you share details that will be helpful for me.
Thanks.
The text was updated successfully, but these errors were encountered:
You can use https://github.com/blittle/bridged-worker script to build a web worker and create script which will be ran in separate thread. This example is pure javascript so you'll have to adjust it for Angular apps.
This example shows how to insert some data into local database using Cordova sqlite plugin. As you can see you can inject other services as well (e.g. DataStoreService is a service which returns some data which you can iterate over and build an SQL query)
In order to run a worker you have to inject InsertDataWorke service in your file and call start function. Worker will broadcast data-inserted event which will indicate that operation is finished.
Hy netmedia,
This may be unrelevant issue I am rasing.I am currently working on ionic.I was trying to do some background service.Did u figured it out.How to do in ionic.If you share details that will be helpful for me.
Thanks.
The text was updated successfully, but these errors were encountered: