Demo: Flutter offline-first app syncing with Supabase

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2023
  • Shows a Flutter To Do List app that's syncing data in real-time, going offline, and then automatically syncing offline changes when online again.

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

  • @gularz1982
    @gularz1982 3 หลายเดือนก่อน +1

    Lovely, exactly what I'm looking for. Now, please, make it work with Expo Go.

    • @powersync_
      @powersync_  3 หลายเดือนก่อน +1

      Unfortunately not feasible with the stock Expo Go, but you can create your own dev build including powersync using EAS: docs.expo.dev/develop/development-builds/create-a-build/

    • @gularz1982
      @gularz1982 3 หลายเดือนก่อน +1

      @@powersync_ Yup, making my baby steps with it :)
      Cheers!

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

    Please share the project!

    • @powersync_
      @powersync_  3 หลายเดือนก่อน

      Here it is: github.com/powersync-ja/powersync.dart/tree/master/demos/supabase-todolist

  • @0000z2
    @0000z2 8 หลายเดือนก่อน +2

    How it's work without network??

    • @eduardchavez
      @eduardchavez 6 หลายเดือนก่อน +1

      Using local database on phone, you save in database then you check with a library if you have access to internet to finally send to database cloud. That is very important add a field on local database to check when info are synchronized to avoid sending twice.

    • @powersync_
      @powersync_  3 หลายเดือนก่อน +1

      @@eduardchavez PowerSync is a complete sync layer that guarantees consistency for you, so you don't need to worry about implementing anything like that.