How to use Ionic Storage v3 with Ionic Angular

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 68

  • @masudirachman2324
    @masudirachman2324 3 ปีที่แล้ว +1

    This is what I'am expected for long... Thank you Simon... Many thumbs up...

  • @fbellod86
    @fbellod86 ปีที่แล้ว

    Beautiful, thanks for the video, u have a video with the edit data?

  • @grandvilletanbunan6435
    @grandvilletanbunan6435 ปีที่แล้ว

    Thank you so much Simon! One more question, is it possible to update/edit the data?

  • @KonstantinStanchev
    @KonstantinStanchev 2 ปีที่แล้ว +1

    Simon, you are the best! BehaviourSubject method is the only way to really fix the issue (must call create() first). Thank you!

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      It's certainly the easiest Konstantin!

  • @UnknownIdentityDE
    @UnknownIdentityDE 3 ปีที่แล้ว +1

    Thanks Simon. Much needed.

  • @ynsatspace3692
    @ynsatspace3692 3 ปีที่แล้ว +2

    Hello Simon, thanks for the tutorial. Is it possible or recommended to use SQLite drivers for a web app, or just for native apps?

    • @galaxies_dev
      @galaxies_dev  3 ปีที่แล้ว +1

      There is no SQLite available on the web, only IndexedDB and that will be used by Ionic Storage!

    • @ynsatspace3692
      @ynsatspace3692 3 ปีที่แล้ว

      @@galaxies_dev Thank you Simon

  • @KRYoung_dev
    @KRYoung_dev 2 ปีที่แล้ว

    Thank you so much for this tutorial! I just started with Ionic yesterday, so your video really helped me! Subscribed!

  • @townheadbluesboy
    @townheadbluesboy 8 หลายเดือนก่อน +1

    Great - works well - thanks Simon

    • @galaxies_dev
      @galaxies_dev  8 หลายเดือนก่อน

      No problem 👍

  • @vajidali9979
    @vajidali9979 3 ปีที่แล้ว +1

    Hi Simon please make a tutorial about ionic app performance.

  • @HOLAHOLA-rc8yx
    @HOLAHOLA-rc8yx 2 ปีที่แล้ว

    thanks. I have the error: Cannot find name 'filter'. How can I solve it? please

  • @prashant43240
    @prashant43240 3 ปีที่แล้ว

    Thanks Simon😍.. Please make quick win for background location application

  • @snargol2974
    @snargol2974 ปีที่แล้ว +1

    Merci, très clair comme d'hab !

  • @practical_precision_shooters
    @practical_precision_shooters ปีที่แล้ว

    this was very helpful thanks SImon

  • @AllenIve3
    @AllenIve3 2 ปีที่แล้ว

    Thank you for your tutorials ! One question : you get the data in nhOnInit. What about if you push a data on another page and go back to the main page, it will not be refreshed right ?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Yes that's right. For a better state handling you could keep the date inside a Subject in a service and subscribe to that Subject to get changes. That's usually a better pattern in those cases!

  • @simplehumancomplexambition9884
    @simplehumancomplexambition9884 2 ปีที่แล้ว +1

    Awesome video, thank you!

  • @HackHeyner
    @HackHeyner 3 ปีที่แล้ว

    Always. Always, an amazing material. Thx Simon. Also a quick question for the comunity. I have an app where the updated version cannot access the storage db created by the previous version. Anyone got this issue?

    • @galaxies_dev
      @galaxies_dev  3 ปีที่แล้ว

      You need to make sure you are using the same database name in the config like your old db has - otherwise the access should work!

  • @jannemanhuman4237
    @jannemanhuman4237 2 ปีที่แล้ว

    Hi Simon, great guide thanks. I have a question. I am trying to display the same data on a different page template. So, we create the data on home page, but I also want to display them on the dashboard. When I go to the dashboard, the data is not there. I first have to refresh the page, then the data displays.

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      I'm not exactly sure, maybe your code to initialise the connection to storage isn't finished yet? Or how are you loading the data on that page?

    • @jannemanhuman4237
      @jannemanhuman4237 2 ปีที่แล้ว

      @@galaxies_dev So, saving a string works fine. It is only when I try to save an object that I get the issue. Might be an issue with my install. Not sure why a string will work, but not an object. I have to press F5 before the object updates. I think I have to do a fresh install to make sure everything is installed correctly.

  • @marianoloprete3981
    @marianoloprete3981 3 ปีที่แล้ว +1

    Genio! gracias por los ejemplos de uso! Impecable.

  • @emmanuelchika6603
    @emmanuelchika6603 3 ปีที่แล้ว +1

    Sir, please one request can you make a tutorial on friend request, accept, and decline system, with angular and firebase... will be very much appreciated. haven't seen that on youtube thanks.

  • @4wobi
    @4wobi 3 ปีที่แล้ว +1

    I'm just getting in that thanks :)

  • @sanblackgame796
    @sanblackgame796 2 ปีที่แล้ว

    sos grande !!! el mejor hermno gracias asi nos separe la barrera del idioma te entendi a la perfecion con los subtitulos gracias

  • @sample1801
    @sample1801 2 ปีที่แล้ว

    can you make a tutorial on how to make crud operation with Forms input on Ionic?

  • @adwiyadeshpande9683
    @adwiyadeshpande9683 3 ปีที่แล้ว +2

    A much needed one! The termite like errors had just eaten my head almost, u saved me, thanks simon!

  • @emmanuelchika6603
    @emmanuelchika6603 3 ปีที่แล้ว +1

    nice content sir. love this really helpful

  • @m_andrasch
    @m_andrasch 2 ปีที่แล้ว

    Thanks very much for this helpful video! One small thing didn't work: I implemented this accordingly to the video with "fixing race conditions", but the initial returned value is "null" and not "[]" if there is no storage created yet. 🤔 Am I the only one experiencing this?

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Ah yeah I think it's actually even undefined? So you would have to add a check for that first initial value!

    • @m_andrasch
      @m_andrasch 2 ปีที่แล้ว

      @@galaxies_dev Thanks very much for reply! I'll try it next time (and maybe I'll create a demo repo) , first time was no success. Thx for providing the videos!

  • @sankatsiddhartha2649
    @sankatsiddhartha2649 3 ปีที่แล้ว

    Sir please guide me, i was using proxy.conf.json for rest api redirects while i was in dev mode for web app and also ionic cap run android -livereload --external. But now i only want my app to use ionic cap run android and should commincate with rest api server using the exact same proxy.conf.json for rest api db communications. How to achieve this? Pleaae help. Internet has no solutions for this.

  • @NSMetaLpig
    @NSMetaLpig 3 ปีที่แล้ว

    hi Simon is this applicable in routeguard?

    • @galaxies_dev
      @galaxies_dev  3 ปีที่แล้ว

      Yes you can also access Storage within a guard! It can return a bool, Observable or Promise so accessing Ionic Storage in there is fine :)

    • @NSMetaLpig
      @NSMetaLpig 3 ปีที่แล้ว

      @@galaxies_dev thanks simon

  • @quickmaths4762
    @quickmaths4762 ปีที่แล้ว

    I think I experienced nasty bugs since I didnt go with the Subject approach for db.init( ). Now debugging this probably gonna change

  • @sample1801
    @sample1801 2 ปีที่แล้ว

    Can I use this method for Ionic version 6 ??

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      Yes.

    • @sample1801
      @sample1801 2 ปีที่แล้ว

      @@galaxies_dev pls can I have a github link ?

  • @alanbique2548
    @alanbique2548 3 ปีที่แล้ว

    What about the new Ionic Payments? its good?

    • @galaxies_dev
      @galaxies_dev  3 ปีที่แล้ว

      I haven't used it so far!

  • @kamzel8825
    @kamzel8825 2 ปีที่แล้ว

    is there a way to make the data expire automatically after some time? (like cookies do)

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว +1

      You would have to check it every X seconds and validate the time to live, or just do it whenever your app starts!

  • @sajadaghajani1716
    @sajadaghajani1716 2 ปีที่แล้ว

    Hi I follow the instructions and every thing works fine in web browser but in real android device its not working.

    • @galaxies_dev
      @galaxies_dev  2 ปีที่แล้ว

      Is there any error message inside the log?

  • @toxaq
    @toxaq 3 ปีที่แล้ว

    Surely it would've been simpler to store the promise returned from storage.create, then chain that with storage.get and then convert that to an observable?

    • @galaxies_dev
      @galaxies_dev  3 ปีที่แล้ว

      Sure that would work as well I guess!

  • @vajidali9979
    @vajidali9979 3 ปีที่แล้ว

    How to improve performance

  • @prasadnarayana7257
    @prasadnarayana7257 3 ปีที่แล้ว +1

    Your awesome

  • @qzll333
    @qzll333 2 ปีที่แล้ว

    min 12:45 literal xD

  • @azan3t44
    @azan3t44 2 ปีที่แล้ว +1

    I love you

  • @amani_art
    @amani_art 3 ปีที่แล้ว

    It seems like I'm complaining alot but ionic is getting complicated with every new update.
    Things that just works now need multiple steps setup. At this point expo with EAS is looking more appealing.

  • @mohamudhussin7188
    @mohamudhussin7188 3 ปีที่แล้ว

    Why ionic keep changing changing al the theme bugs and bugs all the old guys who come across in the ionic network are now gone moved to react , I love ionic but the environment is not stable