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

Conversation

@sante85
Copy link

@sante85 sante85 commented Jun 12, 2019

Description

  • [x ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • [x ] The analyzer (flutter analyze) does not report any problems on my PR.
  • [ x] I read and followed the Flutter Style Guide.
  • [ x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [connectivity]
  • [ x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • [ x] I updated CHANGELOG.md to add a description of the change.
  • [ x] I signed the CLA.
  • [ x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
  • [ x] No, this is not a breaking change.

sante85 and others added 4 commits June 12, 2019 09:43
add network info speed
add network speed info
add version info
@sante85 sante85 requested a review from cyanglaz as a code owner June 12, 2019 08:09
@sante85
Copy link
Author

sante85 commented Jun 18, 2019

please help me on format

@collinjackson collinjackson self-requested a review June 21, 2019 21:17
@collinjackson
Copy link
Contributor

I reformatted and merged in the latest. I am not sure this PR is complete. It seems like you should be doing something on the Dart side to expose the various connectivity results now that the native side isn't just sending "mobile" for every network type.

https://github.com/sante85/plugins/blob/master/packages/connectivity/lib/connectivity.dart#L98

It might make sense to expose network type and subtype as separate properties on the Dart side.

@collinjackson
Copy link
Contributor

@sante85 please let us know if you want to continue working on this PR or abandon it

@sante85
Copy link
Author

sante85 commented Jul 8, 2019 via email

@sante85
Copy link
Author

sante85 commented Jul 8, 2019 via email

@sante85
Copy link
Author

sante85 commented Jul 8, 2019

I can do a new method for return specific mobile subtype?

@collinjackson
Copy link
Contributor

New method sounds fine to me.

@sante85
Copy link
Author

sante85 commented Jul 8, 2019 via email

sante85 added 3 commits July 8, 2019 23:16
add method getMobileConnectionType
add call at getNetworkSubType
add method getMobileConnectionType
@sante85
Copy link
Author

sante85 commented Jul 8, 2019

Please you can verify formatting. I have separate in a new method.

Best Regards

@sante85
Copy link
Author

sante85 commented Jul 9, 2019

How many time Is needed for merge? Thanks

@sante85
Copy link
Author

sante85 commented Jul 9, 2019

I have a question. Can you explain how to configure Mac for develop flutter plugins? Thanks

Copy link
Author

@sante85 sante85 left a comment

Choose a reason for hiding this comment

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

ok, thanks

@sante85
Copy link
Author

sante85 commented Jul 11, 2019

I not have understand if I approve your changes, or i make this changes.

Please can you specify?

Thanks

@cyanglaz
Copy link
Contributor

I not have understand if I approve your changes, or i make this changes.

Please can you specify?

Thanks

If you'd like to make the change according to my comments, that'd be great. If you don't have time to work on this, giving permission, I can shepherd it from here as well.

@sante85
Copy link
Author

sante85 commented Jul 11, 2019 via email

@sante85
Copy link
Author

sante85 commented Jul 12, 2019

how many time is required for merge?

best regards

@cyanglaz
Copy link
Contributor

how many time is required for merge?

best regards

Did you mean how soon this can be merged? I probably don't have time to work on it anytime soon as we have other priorities. The general process is to prioritize the PR based on the priority of the related issue. see: initial PR review policy
If you'd like to have your PR prioritized, I encourage you to create an issue and link this PR to it. I am going to label it with "backlog" for now.

@sante85
Copy link
Author

sante85 commented Jul 15, 2019

please we can format and approve?

thanks

@sante85
Copy link
Author

sante85 commented Jul 16, 2019

@cyanglaz can you explain because build ipas raise in error?

thanks

@cyanglaz cyanglaz removed their assignment Jul 23, 2019
@sante85
Copy link
Author

sante85 commented Jul 24, 2019 via email

@bubunyo
Copy link

bubunyo commented Aug 5, 2019

@sante85 what is the states of the changes you are to make? If you would like me to help with the reviews to get it approved, I will be happy to help.

@sante85
Copy link
Author

sante85 commented Aug 5, 2019 via email

@bubunyo
Copy link

bubunyo commented Aug 5, 2019

I will work on the reformat. on how to compile and test for iOS, I have no idea but I can look around and see if I can find anything out.

Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

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

Left some comments. It seems there are some formatting issues so a lot of extra diff shows up in the java implementation. It makes the code hard to review.
To format it correctly. You should first point your flutter to master.
and refer to https://github.com/flutter/plugin_tools
The command is pub global run flutter_plugin_tools format

@@ -1,7 +1,11 @@
## 0.4.3+5
Copy link
Contributor

Choose a reason for hiding this comment

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

need an extra line after the version number and before the description.

mobile/cellular) connectivity on Android and iOS.
author: Flutter Team <[email protected]>
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity

Copy link
Contributor

Choose a reason for hiding this comment

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

extra line here, could you remove it?

version: 0.4.3+4

version: 0.4.3+5

Copy link
Contributor

Choose a reason for hiding this comment

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

another extra line here.

@sante85
Copy link
Author

sante85 commented Aug 5, 2019 via email

@bubunyo
Copy link

bubunyo commented Aug 5, 2019

@sante85 I fixed some issues, tracked upstream and did a few modifications. you can find the changes here. https://github.com/bubunyo/plugins

@sante85
Copy link
Author

sante85 commented Aug 5, 2019 via email

@sante85
Copy link
Author

sante85 commented Aug 5, 2019 via email

@bubunyo
Copy link

bubunyo commented Aug 5, 2019

I can't really tell because when I checked your code it was far back from the upstream, so I just rewrote it as I saw fit.

@cyanglaz
Copy link
Contributor

cyanglaz commented Aug 5, 2019

@sante85 maybe you can check @bubunyo 's PR here see if you want to add anything to it? And we can all work on @bubunyo 's PR since his is newer and more update to date with the upstream?

@sante85
Copy link
Author

sante85 commented Aug 6, 2019 via email

@cyanglaz
Copy link
Contributor

cyanglaz commented Aug 6, 2019

I am going to close this PR then. Let's all follow up and review @bubunyo 's PR here: #1945

@cyanglaz cyanglaz closed this Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants