Send Push Notifications with Database Webhooks

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

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

    Man, after fighting some days with the code I finally can send a push notification with all the steps of the tutorial, I'm so excited 😭, I want to say thank you so much dear Thor and all the team of Supabase, God and LORD Jesus bless you!!

  • @EscapadasCreativas
    @EscapadasCreativas 27 дней назад

    It would be great if you could create a tutorial to send schedule notifications.

  • @Spacer-l3j
    @Spacer-l3j 2 месяца назад

    Why there is no Swift examples but only Flutter and React. Isn't Swift officially supported?

  • @chaozhang3943
    @chaozhang3943 8 месяцев назад

    hi , may I ask a question about how to make it with multiple conditions while doing query in supabase ?
    Like select * from table where a=1 or b=1. I cannot find there filter function from documentation..

    • @gabrieleorro6397
      @gabrieleorro6397 8 месяцев назад

      If you need to do this kind of query with Supabase, the filter one is simply "eq". So based on your example this may be: supabase.from('your_table').select('*').eq('a', 1).eq('b',1)
      The greatest thing is that on a query you can concat more pieces!

    • @chaozhang3943
      @chaozhang3943 8 месяцев назад

      @@gabrieleorro6397 hi, thanks for reply but here is the example where I'm handling for multipule conditions, and there is only can use one eq() or inFilter()..
      I can't add more eq() in it. do you have any ideas? thanks
      supabase.client
      .from(MessageTable.tableName)
      .stream(primaryKey: [MessageTable.primaryKey])
      .eq(MessageTable.roomId, roomId)
      .listen...

  • @seanaguinaga
    @seanaguinaga Год назад

    I need capacitor push notifications please

    • @nashboisvert9234
      @nashboisvert9234 8 месяцев назад

      It is just javascript code, implement the same thing and capacitor can compile it down.

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

    I can't be the only this didn't work for. I was with him in the first video and everything was working well but after this it doesn't work and idk why

    • @armandasvaicikauskas4856
      @armandasvaicikauskas4856 4 месяца назад

      When creating a webhook, he added an expo access token as a bearer in the authorization header. Instead, you must put the JWT that you can find in the edge functions, command line access section. You'll see several commands on how to invoke your function and manage secrets. Once you copy the invoke part, you'll see that the authorization anon key is prefilled with a random key, if you copy that key and insert it in your webhook authorization header, everything starts to work!

    • @Spacer-l3j
      @Spacer-l3j 2 месяца назад

      @@armandasvaicikauskas4856 what a mess... Supabase documentation sucks for real