Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant use takeScreenshot (Android 13 or later) #309

Open
vueDev-k opened this issue Oct 15, 2024 · 0 comments
Open

Cant use takeScreenshot (Android 13 or later) #309

vueDev-k opened this issue Oct 15, 2024 · 0 comments

Comments

@vueDev-k
Copy link

vueDev-k commented Oct 15, 2024

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Windows 10 pro
  2. Device OS & Version: Android 14
  3. Version: ViroReact version 2.41.6, react native version 0.74.5
  4. Device(s): Galaxy Z Fold 5, Redmi note 10, Foco F1

Description

I am using ViroARSceneNavigator and the takeScreenshot function.
However, this function requests the WRITE_EXTERNAL_STORAGE permission, which is no longer available on devices running Android 13 or later.
So, I want to clone the project and build a local module.
I modified the ARSceneNavigatorModule.java file and ran the command npm build, but I encountered the following error: "Could not find com.facebook.react:react-android:. Required by: project viro_bridge."

@vueDev-k vueDev-k changed the title Cant use takeScreenshot (up to Android 13) Cant use takeScreenshot (Android 13 or later) Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant