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

Nothing is showing #9

Open
c0z0 opened this issue Apr 30, 2017 · 4 comments
Open

Nothing is showing #9

c0z0 opened this issue Apr 30, 2017 · 4 comments

Comments

@c0z0
Copy link

c0z0 commented Apr 30, 2017

I tried to use it like this:

<CreditCard
style={{
marginVertical: 10,
marginHorizontal: 10,
marginBottom: 0,
elevation: 3,
alignSelf: "center"
}}
type={this.state.type}
imageFront={require("./images/card-front.png")}
imageBack={require("./images/card-back.png")}
shiny={true}
bar={false}
focused={this.state.focused}
number={this.state.number}
name={this.state.name}
expiry={this.state.expiry}
cvc={this.state.cvc}
/>

But nothing is showing.

@jesster2k10
Copy link

It's not working for me either 👎

@keblodev
Copy link

not working on android(
nothing is showing basically. view is with 0 width and height

@keblodev
Copy link

managed to fix it for my case.
the issue was with the react-native-flip-card package that react-native-credit-card is using.
so downgrading that to @3.4.0 version and installing it as a dependency for my project -> solved the issue

@MoliseMG
Copy link

Where can I get backgrounds inages

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

4 participants