Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@Evsio0n
Copy link

@Evsio0n Evsio0n commented Nov 15, 2019

textContentType implentation need to be updated in text_input.dart in Flutter SDK

textContentType implentation need to bu updated in text_input.dart in Flutter SDK
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@Evsio0n
Copy link
Author

Evsio0n commented Nov 15, 2019

@googlebot I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@Evsio0n Evsio0n closed this Nov 15, 2019
@Evsio0n
Copy link
Author

Evsio0n commented Nov 15, 2019

Some error, wait a minute.

@ArtemMartus
Copy link

So how's autofill implementation going?

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

Just a quick review. It seems like this may be still in progress, so sorry for the early feedback. Feel free to mention me for help or review later. Thanks for taking this on!

static UITextContentType ToUITextContentType(NSDictionary* type){
NSString* contentType = type[@"textType"];
if ([contentType isEqualToString:@"TextContent.username"])
return UITextContentTypeUsername;
Copy link
Contributor

Choose a reason for hiding this comment

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

The above 3 lines have indentation problems. Indentation should be 2 spaces.

@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@ArtemMartus
Copy link

@googlebot I consent

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@Evsio0n
Copy link
Author

Evsio0n commented Nov 21, 2019

Copy link
Author

@Evsio0n Evsio0n left a comment

Choose a reason for hiding this comment

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

You needs to sign Google CLA at https://cla.developers.google.com/

@ArtemMartus
Copy link

@googlebot I fixed it.

@Evsio0n Evsio0n requested a review from justinmc November 22, 2019 07:11
@LongCatIsLooong
Copy link
Contributor

LongCatIsLooong commented Dec 2, 2019

@Evsio0n it looks like these two commits: 785699a and 7ca9e4e are created under a different email address (that hasn't signed the CLA). Could you rebase these commits using the email address that you signed the CLA with?

Update FlutterTextInputPlugin.mm

flutter ci formatting

fix syntax error

Set limitation to iOS 11 due to UITextContentTypeUsername is Up at iOS 11

	modified:   shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm

Set limitation to iOS 11 due to UITextContentTypeUsername is Up at iOS 11

	修改:     shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes and removed cla: no labels Dec 3, 2019
@Evsio0n Evsio0n closed this Dec 3, 2019
@Evsio0n Evsio0n reopened this Dec 3, 2019
@Evsio0n
Copy link
Author

Evsio0n commented Dec 3, 2019

@Evsio0n it looks like these two commits: 785699a and 7ca9e4e are created under a different email address (that hasn't signed the CLA). Could you rebase these commits using the email address that you signed the CLA with?

Fixed, Thanks.

@cbenhagen
Copy link
Contributor

@Evsio0n you might also want to fix the formatting issues mentioned in https://cirrus-ci.com/task/6514581622489088

This file is to make ios 11 or higher device using autofill
Reference to github.com/flutter/flutter/issues/33040
**/
Copy link
Member

Choose a reason for hiding this comment

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

Remove this doc comment since it doesn't add anything that the reader can't look up from UITextContentType or the commit comment from git blame.

_enablesReturnKeyAutomatically = NO;
_keyboardAppearance = UIKeyboardAppearanceDefault;
_keyboardType = UIKeyboardTypeDefault;
if(@available iOS (11.0,*))
Copy link
Member

Choose a reason for hiding this comment

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

The syntax above should be: if (@available(iOS 11.0, *))


- (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configuration {
NSDictionary* inputType = configuration[@"inputType"];
if(@available iOS (11.0,*))
Copy link
Member

Choose a reason for hiding this comment

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

The syntax above should be: if (@available(iOS 11.0, *))

}

_activeView.keyboardType = ToUIKeyboardType(inputType);
if(@available iOS (11.0,*))
Copy link
Member

Choose a reason for hiding this comment

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

The syntax above should be: if (@available(iOS 11.0, *))

- (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configuration {
NSDictionary* inputType = configuration[@"inputType"];
if(@available iOS (11.0,*))
NSDictionary* contentType = configuration[@"contentType"];
Copy link
Member

Choose a reason for hiding this comment

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

It looks like this is an unused variable.

Copy link
Author

Choose a reason for hiding this comment

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

This variable is referred by flutter/flutter#33040

Copy link
Author

Choose a reason for hiding this comment

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

It looks like this is an unused variable.

Maybe I will check CI After Exam Month

@cbracken
Copy link
Member

cbracken commented Feb 3, 2020

Thanks for your contribution. Since we haven't seen any further progress on this, and it currently does not compile, we're going to reluctantly close this PR for now, but if you get time to address the comments, we'd be more than happy to take a look at a new PR. If you do send a new PR, it would be very useful to reference this one in the description in order to help reviewers see the previous context.

@cbracken cbracken closed this Feb 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants