Skip to content

Failed to snapshot view tag XXXX #545

@FernandoAOborges

Description

@FernandoAOborges
 @gorhom/bottom-sheet@4.6.4
│ ├─┬ @gorhom/portal@1.0.14
│ │ └── react-native@0.76.1 deduped
│ └── react-native@0.76.1 deduped
├─┬ @miblanchard/react-native-slider@2.6.0
│ └── react-native@0.76.1 deduped
├─┬ @notifee/react-native@9.1.2
│ └── react-native@0.76.1 deduped
├─┬ @react-native-async-storage/async-storage@2.0.0
│ └── react-native@0.76.1 deduped
├─┬ @react-native-community/blur@4.4.1
│ └── react-native@0.76.1 deduped
├─┬ @react-native-community/geolocation@3.4.0
│ └── react-native@0.76.1 deduped
├─┬ @react-native-community/hooks@3.0.0
│ └── react-native@0.76.1 deduped
├─┬ @react-native-firebase/app@20.5.0
│ └── react-native@0.76.1 deduped
├─┬ @react-native-google-signin/google-signin@13.1.0
│ └── react-native@0.76.1 deduped
├─┬ @react-native-menu/menu@1.1.6
│ └── react-native@0.76.1 deduped
├─┬ @react-navigation/bottom-tabs@6.6.1
│ ├─┬ @react-navigation/elements@1.3.31
│ │ └── react-native@0.76.1 deduped
│ └── react-native@0.76.1 deduped
├─┬ @react-navigation/drawer@6.7.2
│ └── react-native@0.76.1 deduped
├─┬ @react-navigation/native-stack@6.11.0
│ └── react-native@0.76.1 deduped
├─┬ @react-navigation/native@6.1.18
│ └── react-native@0.76.1 deduped
├─┬ @react-navigation/stack@6.4.1
│ └── react-native@0.76.1 deduped
├─┬ @testing-library/jest-native@5.4.3
│ └── react-native@0.76.1 deduped
├─┬ @testing-library/react-native@12.7.2
│ └── react-native@0.76.1 deduped
├─┬ react-native-error-boundary@1.2.4
│ └── react-native@0.76.1 deduped
├─┬ react-native-fast-image@8.6.3
│ └── react-native@0.76.1 deduped
├─┬ react-native-gesture-handler@2.20.2
│ └── react-native@0.76.1 deduped
├─┬ react-native-gifted-charts@1.4.41
│ ├─┬ gifted-charts-core@0.1.41
│ │ └── react-native@0.76.1 deduped
│ └── react-native@0.76.1 deduped
├─┬ react-native-google-places-autocomplete@2.5.6
│ └── react-native@0.76.1 deduped
├─┬ react-native-image-crop-picker@0.41.2
│ └── react-native@0.76.1 deduped
├─┬ react-native-image-selfie-segmentation@0.2.3
│ └── react-native@0.76.1 deduped
├─┬ react-native-linear-gradient@2.8.3
│ └── react-native@0.76.1 deduped
├─┬ react-native-maps@1.18.0
│ └── react-native@0.76.1 deduped
├─┬ react-native-pager-view@6.4.1
│ └── react-native@0.76.1 deduped
├─┬ react-native-permissions@4.1.5
│ └── react-native@0.76.1 deduped
├─┬ react-native-reanimated@3.16.1
│ └── react-native@0.76.1 deduped
├─┬ react-native-safe-area-context@4.12.0
│ └── react-native@0.76.1 deduped
├─┬ react-native-screens@3.35.0
│ └── react-native@0.76.1 deduped
├─┬ react-native-svg@15.8.0
│ └── react-native@0.76.1 deduped
├─┬ react-native-tab-view@3.5.2
│ └── react-native@0.76.1 deduped
├─┬ react-native-timeline-flatlist@0.8.0
│ └── react-native@0.76.1 deduped
├─┬ react-native-toast-message@2.2.1
│ └── react-native@0.76.1 deduped
├─┬ react-native-view-shot@3.8.0
│ └── react-native@0.76.1 deduped
├─┬ react-native-vision-camera@4.5.3
│ └── react-native@0.76.1 deduped
├─┬ react-native@0.76.1
│ └─┬ @react-native/virtualized-lists@0.76.1
│   └── react-native@0.76.1 deduped
├─┬ reactotron-react-native@5.1.8
│ ├─┬ react-native-flipper@0.164.0
│ │ └── react-native@0.76.1 deduped
│ └── react-native@0.76.1 deduped
└─┬ toggle-switch-react-native@3.3.0
  └── react-native@0.76.1 deduped
react-native@0.76.1
react-native-view-shot": "^3.8.0"

Platform: Android

Expected Behavior
The captureScreen function in react-native-view-shot should capture an image of the screen and return the URI of the captured image.

Actual Behavior
When calling captureScreen, the following error occurs: Failed to snapshot view tag 2730.

Steps to Reproduce the Behavior
Install the latest version of react-native-view-shot.
Set up and implement screen capture with captureScreen.

Run the app on Android with React Native version 0.76.1.
The error Failed to snapshot view tag 2730 appears when trying to capture the screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions