Skip to content

fix(formulus): patch RNFS reject to stop attachment-download crashes - #747

Merged
r0ssing merged 1 commit into
OpenDataEnsemble:devfrom
HelloSapiens:crash-debug
Aug 29, 2026
Merged

r0ssing merged 1 commit into
OpenDataEnsemble:devfrom
HelloSapiens:crash-debug

Conversation

@r0ssing

@r0ssing r0ssing commented Aug 29, 2026

Copy link
Copy Markdown
Member

Timeout handling

Fix crash on time-out while downloading attachment data

Description

Failed downloads called promise.reject(null, …), which NPEs on RN's Kotlin PromiseImpl and kills the app mid-attachment sync. This PR fixes this...

Type of Change

  • Bug Fix
  • New Feature / Enhancement
  • Refactor / Code Cleanup
  • Documentation Update
  • Maintenance / Chore
  • Other (please specify):

Component(s) Affected

  • formulus (React Native mobile app)
  • formulus-formplayer (React web app)
  • synkronus (Go backend server)
  • synkronus-cli (Command-line utility)
  • Documentation
  • DevOps / CI/CD
  • Other:

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manually tested
  • Tested on multiple platforms (if applicable)
  • Not applicable

Breaking Changes

  • This PR introduces breaking changes
  • This PR does NOT introduce breaking changes

If breaking changes, please describe migration steps:


Documentation Updates

  • Documentation has been updated
  • Documentation update is not required

Checklist

  • Code follows project style guidelines
  • All existing tests pass
  • New tests added for new functionality
  • PR title follows Conventional Commits format

Thank you for contributing to Open Data Ensemble (ODE)!

Failed downloads called promise.reject(null, …), which NPEs on RN's
Kotlin PromiseImpl and kills the app mid-attachment sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
@r0ssing
r0ssing merged commit aabb2bd into OpenDataEnsemble:dev Aug 29, 2026
10 checks passed
@r0ssing
r0ssing deleted the crash-debug branch August 29, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants