-
Notifications
You must be signed in to change notification settings - Fork 260
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
Colors set in threeDSecureParams
are mostly ignored
#182
Comments
threeDSecureParams
are largely ignoredthreeDSecureParams
are mostlz ignored
threeDSecureParams
are mostlz ignoredthreeDSecureParams
are mostly ignored
to change the navigation bar color you have to set also
but there is also some glitch with setting regarding the submit button I have noticed a bug which I have just fixed. this is what I achieved with above hints and the button fix: |
@arekkubaczkowski This looks way better indeed, if the submit button will be fixed (when will that be released? I know I can just patch it in the interim with your fix), the only remaining thing I have not raised here is the spinning wheel that appears after I submit the card and before this popup appears, that's still purple. Any ways that could be changed? ...and one more thing: when I tap the 'Learn more about authentication' or 'Need help', the text below them is revealed, but those section titles get hidden, they then will show again if I type the down (up) arrow again - is this expected or did I set one of the colours to white where I should have not? |
yes, I think it's caused by changed some text color
@michelleb-stripe any ideas how to change it? |
opened #185 for the loading spinner color bit |
Can you clarify what version of the SDK you are using? There was a related fix in version 16.7.1 |
Is the reference to the spinning wheel this one:
|
Sorry, what SDK do you mean exactly?
Yes |
@michelleb-stripe the spinner also appears when you tap the 'Complete Authentication' button. |
@arekkubaczkowski I just upgraded stripe-react-native locally following your fix and I'm seeing the Visa logo has now lost its colours. It doesn't look like it's your changes, per se, may have been something else elsewhere that I picked up with that upgrade (screenshot below). @michelleb-stripe This also shows the spinner I'm talking about, between the card logo and the 'Processing...' text. |
Great! That is helpful information. What version of stripe-react-native are you using? |
I thought it only had 0.0.1, maybe I'm missing something @michelleb-stripe? |
@michelleb-stripe or @arekkubaczkowski pls tell me if this should go into a separate issue, but using the same set up as what you can see in the description, this is how it looks at the moment on iOS - the header appears to be a darker version of my picked color (appears to be influenced by footer.backgroundColor but it appears to make that color just darker for some reason), the Cancel button and the 'Complete Authentication' button appears to be the standard (iOS) blue: |
To summarize here are the issues still unresolved in this closed issue:
Are there any other issues that I missed? |
@michelleb-stripe I have a couple of tiny corrections to make... I'll report the Android related ones in #185, but for the iOS one, there are 3 issues:
|
@michelleb-stripe on point 1 above, I just tested: the header background colour on iOS appears to be a darkened version of |
|
@davidme-stripe If I set {
backgroundColor: '#22ff00', // iOS only --- WHITE
timeout: 5,
label: {
headingTextColor: themeColors.brandBlue,
headingFontSize: 13
},
navigationBar: {
translucent: false,
barStyle: 1,
headerText: 'Complete card authentication',
statusBarColor: '#FFFFFF', // Android only
backgroundColor: themeColors.brandBlue
},
footer: {
// iOS only
backgroundColor: '#ff0000' // WHITE
},
submitButton: {
backgroundColor: themeColors.brandBlue,
borderRadius: 0,
textColor: '#ffcd00', // WHITE
textFontSize: 14
}
} |
@davidme-stripe adding @michelleb-stripe Is this going to be taken care of in this issue (and thus re-opened?) or shall I open a new one? |
@benomatis, Do we have all the android related items captured in: #185? |
@michelleb-stripe yes, and for iOS, we really only have the issue with the colors of those 2 buttons remaining. |
I filed a new issue for the iOS changes: #201 |
thank you @davidme-stripe |
I tried setting the main color (themeColors.brandBlue) everywhere I could, but the only thing that changed is the text in the middle - that's the colour everything that is now violet should have. How can I achieve that?
The text was updated successfully, but these errors were encountered: