Git Product home page Git Product logo

Comments (10)

nikoTM avatar nikoTM commented on May 24, 2024

This might help.

from ionic-cache.

Nodonisko avatar Nodonisko commented on May 24, 2024

Wow, thanks it will help me a lot!

from ionic-cache.

nikoTM avatar nikoTM commented on May 24, 2024

Just a note, WebSQL is deprecated and being removed slowly, you will need better error handling there.

from ionic-cache.

Nodonisko avatar Nodonisko commented on May 24, 2024

I know, WebSQL should be used only when you debugging app in browser. On device cordova SQLlite plugin will be used.

from ionic-cache.

YasirSherzad avatar YasirSherzad commented on May 24, 2024

Hi, I also didn't understand this part Add cordova-sqlite-storage plugin support again
does it mean we have to initialize a database... isn't it already been done in cache.service.ts
I followed the instruction... its working while im testing live on device with chromeDev... but when I install the apk , on startup the app crashes Unfortunately app has stopped

from ionic-cache.

Nodonisko avatar Nodonisko commented on May 24, 2024

It use browser API for WebSQL, there is also Cordova plugin that do same thing but "more native".

from ionic-cache.

YasirSherzad avatar YasirSherzad commented on May 24, 2024

So is this the reason why it doesn't work.... ?

from ionic-cache.

Nodonisko avatar Nodonisko commented on May 24, 2024

No, it should work on all devices now. Did it throw any error before crash?

from ionic-cache.

YasirSherzad avatar YasirSherzad commented on May 24, 2024

No. The app builds fine as I said... But crashes on startup. Not to forget to mention that i am also using ionic storage... Im not sure if there is a conflict/ problem in that regard. I tested when running the app with device connected chromdev console and it was fine.. but with apk nope... I logcat...please see this http://stackoverflow.com/questions/42324113/app-stops-working-after-adding-cordova-sqlite

from ionic-cache.

Nodonisko avatar Nodonisko commented on May 24, 2024

Did you tried it without Cordova sqllite? maybe it crash because of this plugin, not because of Ionic cache lib

from ionic-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.