App doesn't start in airplane mode
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
## The Issue
### Steps to reproduce
1. close lbry
2. turn on airplane mode
3. start lbry
### Expected behaviour
The app should start up and for example allow me to watch videos I've downloaded to my library
### Actual behaviour
I get a screen saying
```
Oops! Something went wrong
App startup failed. Please check your data connection and try again.
✓ Loaded installation ID.
✓ Loaded local known and followed tags.
❌ Loaded LBC/USD exchange rate.
❌ User authenticated.
❌ Installation registered.
❌ Loaded subscriptions.
❌ Resolved subscriptions.
```
I know I can find the videos in the downloads folder and watch them from there, so there is a workaround. But I think it would be nice if I could watch my downloaded videos in LBRY even if I'm offline.
## System Configuration
- Device: Pixel 2 XL
- Android version: 10
## Anything Else
App version: 0.15.14
LBRY SDK: 0.76.0
## Screenshots
## Internal Use
### Acceptance Criteria
1.
2.
3.
### Definition of Done
- [ ] Tested against acceptance criteria
- [ ] Tested against the assumptions of the user story
- [ ] The project builds without errors
- [ ] Unit tests are written and passing
- [ ] Tests on devices/browsers listed in the issue have passed
- [ ] QA performed & issues resolved
- [ ] Refactoring completed
- [ ] Any configuration or build changes documented
- [ ] Documentation updated
- [ ] Peer Code Review performed
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce startup in airplane mode on Android 10 using the reported steps, then trace the app startup path around the failed exchange-rate, authentication, installation, and subscription checks. Done means the app starts offline and downloaded library videos remain playable, with tests covering the offline startup behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100