Skip to content

Realtime not working after app was in background (Expo 53) #1477

@haeniya

Description

@haeniya

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

After upgrading from Expo 52 to Expo 53, there is an issue with Realtime after the app was in background for a while (around 1 minute). New messages are not retrieved anymore.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:
https://github.com/haeniya/supabase-realtime-issue-53

Expected behavior

Realtime should work after app was in background.

Screenshots

https://youtube.com/shorts/FXduFr-rqVc?feature=share

System information

  • Version of supabase-js: 2.50.3
  • Version of Node.js: 20.19.1
  • Version Expo: 53.0.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions