mohebifar / mohebifar/react-native-copilot

The back gesture/button on Android devices closes the walkthrough.

Open
#331 3 comments 3 reactions 0 assignees View on GitHub

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.2
  • react-native: 0.72.6
  • react-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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.