Comments (9)
@gre Very happy i solved this problem using CameraRoll successfully saved pictures that i have not tested yet android but i hope it can help to someone else.
Thank you for your help.
from react-native-view-shot.
from react-native-view-shot.
from react-native-view-shot.
@gre Need your help, thanks
from react-native-view-shot.
sounds like it's a permission issue.
Do you really need to save it to PictureDir ? path
is an advanced feature and i'm not sure i got it right. but takeSnapshot should work if you don't provide a path
, it will be a temporary file but you can use its URI to do things like sharing. (via http://facebook.github.io/react-native/docs/actionsheetios.html for instance )
from react-native-view-shot.
Sorry, I really need to save to the phone album, I use the react native 0.43, I do not know if this is related, but also can provide some other help?
from react-native-view-shot.
sorry but this is a bit beyond my knowledge on the subject, I added a disclaimer on the path
usage and I can't guarantee it works nor to provide any help on that, sorry :'(
I even think this path
feature should not be in the lib because it's a complex topic beyond the scope of this library that "snapshot a view":
I feel this problem of moving a file to a given place with "intent" & permissions should be solved by a more generic react-native library. maybe something like https://github.com/itinance/react-native-fs would do that? Would that solve the problem?
thanks
from react-native-view-shot.
oh great!
from react-native-view-shot.
@gre Very happy i solved this problem using CameraRoll successfully saved pictures that i have not tested yet android but i hope it can help to someone else.
Thank you for your help.
excellent. solved my problem on android.
from react-native-view-shot.
Related Issues (20)
- Image Quality is too low while i am taking view shot of my screen
- White borders when view dimensions are not integers
- Crash error on android HOT 5
- not working on ios RN0.72.4
- newArchEnabled HOT 2
- Viewshot is not capture screen shot of absolute positioned Views/
- Is this package still maintained?, because it doesn't seem to work on android anymore HOT 2
- Run time crash due to use of depricated UI Image apis
- not working on android React-Native 0.7x HOT 1
- In scrollable content when i take a shot end of the content styles not applied example borderRadius and color and border
- Android: Image is coming partially black on Android when used in conjunction with ScrollView! HOT 3
- how to avoid black edges formed after capturing. HOT 3
- Regression in 4.0.0-alpha.2 HOT 1
- In android it does nothing and not showing any error logs. Works fine in iOS HOT 5
- Privacy Manifest file HOT 1
- captureRef webview ref error
- view-shot content will not update when webview changes
- One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts HOT 2
- Need support for android O and above
- The generated screenshot appears blurry on Android devices, as if the resolution is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-view-shot.