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

renderTitle image not shown on all device #2111

Closed
PumpkinSeed opened this issue Jul 25, 2017 · 2 comments
Closed

renderTitle image not shown on all device #2111

PumpkinSeed opened this issue Jul 25, 2017 · 2 comments

Comments

@PumpkinSeed
Copy link

"react-native-router-flux": "3.38.0"

I rendered the title as an image:

const logo = require('../media/logo.png');
const NavBarImage = () => {
    return (
        <View style={{ alignItems: 'center', marginTop: 16 }}>
            <Image
                style={{ width: 200, height: 24 }}
                source={logo}
            />
        </View>
    );
};

But there is few phone where the image not shown. I tested on Sony Xperia XZ, OnPlus 3G and it was there, but on OnePlus 2 it isn't. The other images which is loaded on the same way to the application (like const logo = require('../media/logo.png');) working properly only the renderTitle have this error.

Do you have any idea why is it happening?

@aksonov
Copy link
Owner

aksonov commented Jul 25, 2017

v3 is not supported, sorry. Please try v4.

@aksonov aksonov closed this as completed Jul 25, 2017
@PumpkinSeed
Copy link
Author

I didn't found any stable version under v4. I got the BackHandler error like the #1894 and I think it is using newer React Native which is breaking some other dependency.

Thank you, but I think currently my application not supporting the v4.

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

2 participants