How to use Ionic Storage v3 with Ionic Angular

  Рет қаралды 15,555

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 68
@masudirachman2324
@masudirachman2324 3 жыл бұрын
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?
@KonstantinStanchev
@KonstantinStanchev 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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
@grandvilletanbunan6435
@grandvilletanbunan6435 Жыл бұрын
Thank you so much Simon! One more question, is it possible to update/edit the data?
@UnknownIdentityDE
@UnknownIdentityDE 3 жыл бұрын
Thanks Simon. Much needed.
@vajidali9979
@vajidali9979 3 жыл бұрын
Hi Simon please make a tutorial about ionic app performance.
@prashant43240
@prashant43240 3 жыл бұрын
Thanks Simon😍.. Please make quick win for background location application
@townheadbluesboy
@townheadbluesboy 10 ай бұрын
Great - works well - thanks Simon
@galaxies_dev
@galaxies_dev 9 ай бұрын
No problem 👍
@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!
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Welcome aboard!
@snargol2974
@snargol2974 Жыл бұрын
Merci, très clair comme d'hab !
@galaxies_dev
@galaxies_dev Жыл бұрын
You are welcome :)
@practical_precision_shooters
@practical_precision_shooters 2 жыл бұрын
this was very helpful thanks SImon
@galaxies_dev
@galaxies_dev 2 жыл бұрын
No problem 👍
@HOLAHOLA-rc8yx
@HOLAHOLA-rc8yx 2 жыл бұрын
thanks. I have the error: Cannot find name 'filter'. How can I solve it? please
@adwiyadeshpande9683
@adwiyadeshpande9683 3 жыл бұрын
A much needed one! The termite like errors had just eaten my head almost, u saved me, thanks simon!
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Glad it helped!
@emmanuelchika6603
@emmanuelchika6603 3 жыл бұрын
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.
@simplehumancomplexambition9884
@simplehumancomplexambition9884 2 жыл бұрын
Awesome video, thank you!
@galaxies_dev
@galaxies_dev 2 жыл бұрын
My pleasure!
@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!
@4wobi
@4wobi 3 жыл бұрын
I'm just getting in that thanks :)
@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
@sample1801
@sample1801 2 жыл бұрын
can you make a tutorial on how to make crud operation with Forms input on Ionic?
@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.
@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!
@emmanuelchika6603
@emmanuelchika6603 3 жыл бұрын
nice content sir. love this really helpful
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Glad to hear that!
@sample1801
@sample1801 2 жыл бұрын
Can I use this method for Ionic version 6 ??
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Yes.
@sample1801
@sample1801 2 жыл бұрын
@@galaxies_dev pls can I have a github link ?
@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.
@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
@marianoloprete3981
@marianoloprete3981 3 жыл бұрын
Genio! gracias por los ejemplos de uso! Impecable.
@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
@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 жыл бұрын
You would have to check it every X seconds and validate the time to live, or just do it whenever your app starts!
@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!
@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!
@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?
@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.
@azan3t44
@azan3t44 3 жыл бұрын
I love you
@prasadnarayana7257
@prasadnarayana7257 3 жыл бұрын
Your awesome
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Thank you Prasad!
@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
How to Cache Image Files with Ionic & Capacitor
23:10
Simon Grimm
Рет қаралды 12 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 17 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 34 МЛН
How to Pass Data Between Pages in Ionic Apps using Angular
27:00
Simon Grimm
Рет қаралды 16 М.
How to use Swiper with Ionic (instead of ion-slides)
19:09
Simon Grimm
Рет қаралды 32 М.
Angular Resource API - Everything You Have To Know (so far)
27:58
Decoded Frontend
Рет қаралды 16 М.
How to use Ionic Storage v3 with Ionic Angular v6
11:20
TechBinomial
Рет қаралды 880
How to Build a Native App from Angular Projects with Capacitor
29:39
How to use SQLite in Ionic with Capacitor
15:17
Simon Grimm
Рет қаралды 19 М.
How to Cache API Responses with Ionic & Capacitor
30:10
Simon Grimm
Рет қаралды 9 М.
Building a Gmail Clone with Ionic & Angular
56:09
Simon Grimm
Рет қаралды 8 М.
Angular v19 Developer Event
22:54
Angular
Рет қаралды 66 М.