mohebifar / mohebifar/react-native-copilot
The back gesture/button on Android devices closes the walkthrough.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Current Behavior
When using react-native-copilot to integrate a walkthrough on a specific screen in my application, I encountered an issue: if the user presses the back button on Android while the walkthrough is active, the walkthrough closes unexpectedly, and no events from copilotEvents are registered to handle this action.
This is encountered only in android and no such issues are there in iOS.
Expected behavior/code
I want to disable this behaviour, where on back gesture or on back button click in android, the walkthrough quits.
Environment
- Device: Pixel 6
- OS: 14
react-native-copilot: 3.3.2react-native: 0.72.6react-native-svg: 13.14.0
Additional context/Screenshots
Attaching screen recording for ref:
https://github.com/user-attachments/assets/48491e82-735d-4120-a3d6-89f671019081
Contributor guide
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
Start by locating the Android back-button and back-gesture handling in react-native-copilot, then reproduce the issue on the listed React Native and Android versions. Done means the active walkthrough no longer closes from Android back actions, while the existing iOS behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100