max-prokopenko / react-native-gif

Performant component for GIFs
MIT License
13 stars 1 forks source link

SOS #12

Open tdammy92 opened 2 years ago

tdammy92 commented 2 years ago

Please can anyone help me with, this package done everything according to the documentation, but nothing is displaying...

`import {StyledComponentProps, Text, useStyleSheet} from '@ui-kitten/components'; import React, {useCallback} from 'react'; import {View, TouchableOpacity} from 'react-native';

// @ts-ignore import GifImage from '@lowkey/react-native-gif'; import {Button} from '../../../components/common/Button';

import themedStyles from './styles'; import {MainStackParamList, SCREEN_NAME} from 'src/navigation/constants'; import {NativeStackScreenProps} from '@react-navigation/native-stack'; import Onboard from 'src/assets/images/onboarding.svg'; import SimpuGif from 'src/assets/images/SImpuGif.svg'; interface Props extends StyledComponentProps, NativeStackScreenProps<MainStackParamList, SCREEN_NAME.welcome> {}

const WelcomeScreen = (props: Props): JSX.Element => { const {navigation} = props; const styles = useStyleSheet(themedStyles);

console.log(GifImage);

const navigateToCreate = useCallback(() => { navigation.navigate(SCREEN_NAME.phone); }, [navigation]);

const navigateToLogin = useCallback(() => { navigation.navigate(SCREEN_NAME.phone); }, [navigation]);

return (

Sync all your chats into one powerful inbox!
zeusstl commented 2 years ago

Having the same issue. Nothing loads. I've tried a ton of different formats for the uri. Neither a remote or local image works. Using: "@lowkey/react-native-gif": "^3.1.0", "react-native": "0.65.1", Tried debugging, but it must be something in the native code.

andybui090 commented 2 years ago

using verion 2.2.2 work perfect, same issue with lastest release