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

Fix datetimepicker not opening on versions below iOS 14 #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AnthonyLenglet
Copy link

Fix #78

Tested and confirmed working on a simulation iPhone 6s on iOS 12.4 and 14.0

@project-bot project-bot bot added this to PRs in Plugins Team Oct 5, 2020
@cla-bot
Copy link

cla-bot bot commented Oct 5, 2020

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @AnthonyLenglet.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

@AnthonyLenglet
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla: yes label Oct 5, 2020
@cla-bot
Copy link

cla-bot bot commented Oct 5, 2020

The cla-bot has been summoned, and re-checked this pull request!

@@ -189,7 +189,7 @@ export class DateTimePicker extends DateTimePickerBase {
}
if (color) {
if (this.SUPPORT_TEXT_COLOR) {
nativePicker.setValueForKey(color, 'textColor');
nativePicker.setValueForKey(color.ios, 'textColor');

This comment was marked as abuse.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are on NS 6.5.20 actually !
The application crashes instantly, but sentry does catch an error for us:

[TNSDictionaryAdapter set]: unrecognized selector sent to instance 0x28239bdc0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was my fault. I removed ".ios" on my last PR.
I'm sorry.

@Hugofromfrance
Copy link

Hello there !

Any update on this ?
Maybe @AnthonyLenglet need to do something for pull request being approved ?

Many thanks

@alexander-mai
Copy link
Contributor

Could you please merge this PR @NathanaelA ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

Crash on selection on iOS versions below 14 after latest iOS 14 hotfix
4 participants