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

Logo is not showing #37

Closed
Sterlingryan opened this issue Jul 28, 2018 · 3 comments
Closed

Logo is not showing #37

Sterlingryan opened this issue Jul 28, 2018 · 3 comments

Comments

@Sterlingryan
Copy link

Code
<QRCode value={this.props.renterref} size={200} logo={require('../assets/images/tick.png')} logoBackgroundColor='transparent' />

react-native-qrcode-svg version: 5.1.0
react-native-svg version:5.5.1

@Sterlingryan
Copy link
Author

To whoever has the same problem, update the react-native-svg version. I set mine to 6.3.1 and it was solved

@fanmaoyu0871
Copy link

i resolve this my problem as you see, but we need to use the newest version. i don't know the reason is react-native-qrcode-svg or react-native-svg ? if have this issue, author should not to update the denpends. @awesomejerry @Sterlingryan

@awesomejerry
Copy link
Owner

The reason is that react-native-svg should be in newer version.
The peerDependencies has been updated as below:

  "peerDependencies": {
    "react-native": ">=0.46.0",
    "react": "*",
    "react-native-svg": "^6.5.2"
  }

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

3 participants