react-native-line
react-native-line copied to clipboard
fix: resolve hanging JavaScript promises on Android
PR Title
🔄 Type of change:
- [ ] ✨Feature/chore
- [ ] :recycle: Refactor
- [x] :wrench: Bugfixes
:pencil2: Description:
The current implementation ignores a JavaScript promise on Android, resulting in an infinite wait for a result from Line.setup().
:movie_camera: Screen record:
:pushpin: Notes:
- Include pending tasks, TODOs, assumptions, or comments like 'Needs migrating', or 'Requires ENV vars: [..]'
:heavy_check_mark:Tasks:
- Include a medium-level tasking that summarizes the changes in the code
:warning: Warnings:
- Include a list of considerations for reviewers or future developers. For example:
- The feature in production triggers a service call so it will charge the account credit card
- The service X is mocked so this part is not tested