How to use Ionic Storage v3 with Ionic Angular

Поделиться
HTML-код
  • Опубликовано: 27 ноя 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!

  • @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

  • @UnknownIdentityDE
    @UnknownIdentityDE 3 года назад +1

    Thanks Simon. Much needed.

  • @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!

  • @HOLAHOLA-rc8yx
    @HOLAHOLA-rc8yx 2 года назад

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

  • @townheadbluesboy
    @townheadbluesboy 9 месяцев назад +1

    Great - works well - thanks Simon

  • @snargol2974
    @snargol2974 Год назад +1

    Merci, très clair comme d'hab !

  • @adwiyadeshpande9683
    @adwiyadeshpande9683 3 года назад +2

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

  • @vajidali9979
    @vajidali9979 3 года назад +1

    Hi Simon please make a tutorial about ionic app performance.

  • @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!

  • @prashant43240
    @prashant43240 3 года назад

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

  • @practical_precision_shooters
    @practical_precision_shooters 2 года назад

    this was very helpful thanks SImon

  • @simplehumancomplexambition9884
    @simplehumancomplexambition9884 2 года назад +1

    Awesome video, thank you!

  • @sample1801
    @sample1801 2 года назад

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

  • @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.

  • @marianoloprete3981
    @marianoloprete3981 3 года назад +1

    Genio! gracias por los ejemplos de uso! Impecable.

  • @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

  • @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!

  • @4wobi
    @4wobi 3 года назад +1

    I'm just getting in that thanks :)

  • @emmanuelchika6603
    @emmanuelchika6603 3 года назад +1

    nice content sir. love this really helpful

  • @jannemanhuman4237
    @jannemanhuman4237 3 года назад

    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  3 года назад

      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 3 года назад

      @@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.

  • @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 ??

  • @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

  • @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!

  • @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!

  • @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.

  • @alanbique2548
    @alanbique2548 3 года назад

    What about the new Ionic Payments? its good?

  • @vajidali9979
    @vajidali9979 3 года назад

    How to improve performance

  • @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!

  • @azan3t44
    @azan3t44 3 года назад +1

    I love you

  • @prasadnarayana7257
    @prasadnarayana7257 3 года назад +1

    Your awesome

  • @qzll333
    @qzll333 2 года назад

    min 12:45 literal xD

  • @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