Skip to content

IOS App is freeze if internet connection was lost #326

@juliayojji

Description

@juliayojji
  • iOS or Android? => IOS
  • Expo or regular React Native? => Expo
  • React Native Version:
  • "react-native": "^0.71.7"
  • "expo-activity-feed": "1.1.0"
  • "getstream": "^8.1.0"

Describe the bug
When internet connection disappear the app is partially freeze (scroll is working but tap actions is not responding) and not responding on tab actions. Need to hard close and open app again.

To Reproduce

  1. The user is located on the Feed page.
  2. Scroll the Feed page and switch off the connection (Error occurred when connection is lost while data is loading).
  3. See the app is freeze and not responding.
  4. Switch on connection.
  5. See the app is still freeze and not responding.

Expected behaviour
App is not freeze and responding to all user actions.
If no internet connection and user scroll the Feed page the list is not load data and user can interact with the app.
If internet connection restored and user scroll the Feed page the list is load new data.

Screenshots
On the video I try to press "User action button" after connection was lost and when it was restored, but button don't respond on the actions. Scroll is working but don't load new data when connection is restored.
https://github.com/GetStream/react-native-activity-feed/assets/84772744/ab1aae70-e29d-4a8f-b02a-9b5b6dded7dc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions