You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`import {Image, StyleSheet, Text, TouchableOpacity, View} from 'react-native';
import React from 'react';
import {RFValue} from 'react-native-responsive-fontsize';
import {captureRef} from 'react-native-view-shot';
`import {Image, StyleSheet, Text, TouchableOpacity, View} from 'react-native';
import React from 'react';
import {RFValue} from 'react-native-responsive-fontsize';
import {captureRef} from 'react-native-view-shot';
const SettingScreen = () => {
const imageRef = React.useRef(null);
const onSaveImageAsync = async () => {
try {
const localUri = await captureRef(imageRef, {
height: 440,
quality: 1,
});
};
return (
<View style={{justifyContent: 'center', alignItems: 'center', flex: 1}}>
<Image
source={{uri: 'https://i.pravatar.cc/300'}}
style={{
height: 200,
width: 200,
borderRadius: 100,
resizeMode: 'cover',
}}
/>
);
};
export default SettingScreen;
const styles = StyleSheet.create({});
`
its not working i also add collapsable={false} but it seems to be broke
version ==> "react-native-view-shot": "^4.0.3",
The text was updated successfully, but these errors were encountered: