Ionic React SQLite - Working With Ionic Framework And Capacitor

Поделиться
HTML-код
  • Опубликовано: 4 июл 2023
  • Ionic React SQLite - Working With Ionic Framework And Capacitor
    #ionic #react #sqlite
    I delve into integrating the Capacitor SQLite plugin with Ionic and React. I share my experience with the plugin's documentation and sample applications and explain why I used simple API calls instead of React hooks. I also provide insights into the installation process, including using the Ionic Visual Studio Code plugin and copying the SQL Wasm file. If you're interested in making the plugin work on the web, I also cover that topic. So, join me as we explore the ins and outs of integrating the Capacitor SQLite plugin with Ionic and React! Don't forget to like, subscribe, and let's get started!
    /// Sign Up For Our Newsletter​ buff.ly/3lAk2jL
    💥 Source Code - github.com/aaronksaunders/ion...
    💥 Vue Video with more detail on the setup - • Ionic Vue SQLite With ...
    💥 Links
    --------------------------
    Ionic Visual Studio Code Plugin - marketplace.visualstudio.com/...
    Ionic React - ionicframework.com/docs/react...
    Capacitor - capacitorjs.com/
    SQLite Plugin - github.com/capacitor-communit...
    #ionicframework #vuejs #ionic #tutorial

Комментарии • 24

  • @AaronSaundersCI
    @AaronSaundersCI  11 месяцев назад

    *SOURCE CODE* - github.com/aaronksaunders/ionic7-react-sqlite

  • @wsajjadh
    @wsajjadh 8 месяцев назад +1

    This is what I am looking for

    • @AaronSaundersCI
      @AaronSaundersCI  8 месяцев назад +1

      Glad it was helpful, please like, subscribe and share

  • @gabrielamaralpassos9537
    @gabrielamaralpassos9537 Месяц назад

    There's just a little problem i'm facing that when i make more inserts in the same page, i have to chained useEffects or it just doesn't work. Not quite sure why still. I just observed this when building to Android by now, when using it in the browser it works fine.

  • @thepudgealicious
    @thepudgealicious 5 месяцев назад

    Quick question with create connection.. If i have database versioning, would i have to input the latest version number instead of one, or is this handled? If so would store the latest version elswhere or grab it via a different connection first?

  • @prenaysaidiska9603
    @prenaysaidiska9603 10 месяцев назад

    good explanation perfectyle understood , can u plzz make a video with same Ionic React SQLite - Working With Ionic Framework And Capacitor using how to register user and login by generating tokens

    • @AaronSaundersCI
      @AaronSaundersCI  10 месяцев назад

      thanks for coming through, appreciate it and please sub if you haven't yet. Are you trying to authenticate on the local device?

    • @prenaysaidiska9603
      @prenaysaidiska9603 9 месяцев назад

      @@AaronSaundersCI thankyou for the reply . yes i want to authenticate user registration and login using jwt tokens store in localstorage with the help of ionic sqlite capacitor in reactjs

  • @sanatansam8424
    @sanatansam8424 7 месяцев назад

    Is there a sample sqlite integration with ionic and angular, i.e. for the sqlite wasm integration ?

    • @AaronSaundersCI
      @AaronSaundersCI  2 месяца назад

      I have one for react that I am working on, will post something soon

  • @RoseMiller-tv9jz
    @RoseMiller-tv9jz 10 месяцев назад

    hi! will you please make a similar thing with Angular??

  • @shafiqciku
    @shafiqciku 7 месяцев назад

    Where does the db in this project stored?sqlite file (.db)

  • @davisdimalen3912
    @davisdimalen3912 9 месяцев назад

    Hi. I'm a getting a CapacitorSQLitePlugin: null error.

    • @davisdimalen3912
      @davisdimalen3912 9 месяцев назад

      it happens when I call your custom hook useSQLiteDB

    • @AaronSaundersCI
      @AaronSaundersCI  9 месяцев назад

      Does the source code I provided work? If you are have an error, you will need to reproduce it in a minimal project, thanks

  • @fuwamage1290
    @fuwamage1290 9 месяцев назад

    All works in browser, but why in real android device not working?

    • @AaronSaundersCI
      @AaronSaundersCI  9 месяцев назад

      Did you download the code from the original project and run it? You can see from the repo there is an android folder so I know it was tested and running on device… did you watch the entire video you might have missed something

    • @fuwamage1290
      @fuwamage1290 9 месяцев назад

      I found the problem. It's because I didn't put the loadData() function in a useEffect (I put it in IonViewWillEnter). thank you anyway.

    • @AaronSaundersCI
      @AaronSaundersCI  9 месяцев назад

      @@fuwamage1290 glad you got it working

  • @divpolitics9520
    @divpolitics9520 11 месяцев назад +1

    Thank you, the documentation is a hot mess

    • @AaronSaundersCI
      @AaronSaundersCI  11 месяцев назад

      I think they are just trying to do way to much in one sample app and assuming a lot of domain knowledge

    • @aksharparmar6599
      @aksharparmar6599 2 месяца назад

      @@AaronSaundersCI yes Documentation of sqlite needs to improve. I'm having a hard time doing task