/shareScreenshot

Take a screenshot of component and share that screenshot like bank receipt

Primary LanguageTypeScript

React Native Screenshot App

This is a simple React Native mobile application that allows users to take a screenshot of a receipt-like view and share it.

Features

  • Capture screenshot of a receipt-like view
  • Share the captured screenshot

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository: git clone

  2. Install dependencies: cd react-native-screenshot-app npm install

  3. Run the application: npx react-native run-ios or npx react-native run-android

  4. Open the app in your simulator or on your device using the Expo Go app.

Usage

  • When you open the app, you'll see a receipt-like view.
  • Tap the "Take Screenshot" button to capture a screenshot of the receipt.
  • After capturing the screenshot, you can tap the "Share Screenshot" button to share it with others.
  • If you want to capture a new screenshot, you can go back by tapping the "Back" button.

Dependencies

  • react: ^17.0.2
  • react-native: ^0.66.4
  • react-native-view-shot: ^3.3.0
  • @react-native-community/clipboard: ^5.0.3

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

Author

Imdad Hussain