awslabs / awslabs/aws-mobile-appsync-sdk-android

app crashes when retrying all subscriptions

Open
#415 1 comment 0 reactions 0 assignees View on GitHub
bug pending-response
Dominant language
Java
Stars
106
Forks
56
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After obtaining the connection, the application crashes when trying to use the websocket while it is null. Seems to happen when trying to retry the subscriptions.

**Expected behavior**
Should subscribe successfully or try subscribing later

**Screenshots**
![image](https://github.com/awslabs/aws-mobile-appsync-sdk-android/assets/71094990/d85be7f4-838f-4ec1-8d3d-5c52741b8ca2)

**Environment(please complete the following information):**
- AppSync SDK Version: 3.3.2

**Device Information (please complete the following information):**
- Android Version: 10

Contributor guide

Open the contributing guide

Research direction

Start with the subscription retry path described in the report and reproduce the websocket-null crash on Android 10 with AppSync SDK 3.3.2. Trace the retry-all-subscriptions flow and verify the expected behavior: subscriptions succeed when possible or retry later when the websocket is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, graphql, java
Domain
api, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.