-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[connectivity] - add network speed info #1727
Conversation
|
please help me on format |
|
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. It might make sense to expose network type and subtype as separate properties on the Dart side. |
|
@sante85 please let us know if you want to continue working on this PR or abandon it |
|
Please continue.
Thanks you very much
Il Lun 8 Lug 2019, 16:27 Collin Jackson <[email protected]> ha
scritto:
… @sante85 <https://github.com/sante85> please let us know if you want to
continue working on this PR or abandon it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTN7EB2KT357B7ZKVU2DP6NFGFA5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNIEWI#issuecomment-509248089>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTN3CPIHGDEHHGIDCF6LP6NFGFANCNFSM4HXGMUBQ>
.
|
|
PR is complete, but i m not able to compile for osx. Can you finish and
complete feature as you write? With new field
Best regards
Il Lun 8 Lug 2019, 17:05 Sante Stanisci <[email protected]> ha scritto:
… Please continue.
Thanks you very much
Il Lun 8 Lug 2019, 16:27 Collin Jackson ***@***.***> ha
scritto:
> @sante85 <https://github.com/sante85> please let us know if you want to
> continue working on this PR or abandon it
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1727?email_source=notifications&email_token=ADLHTN7EB2KT357B7ZKVU2DP6NFGFA5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNIEWI#issuecomment-509248089>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADLHTN3CPIHGDEHHGIDCF6LP6NFGFANCNFSM4HXGMUBQ>
> .
>
|
|
I can do a new method for return specific mobile subtype? |
|
New method sounds fine to me. |
|
Ok, I complete with a new method, but you can reformat and PR finish?
Thanks
Il giorno lun 8 lug 2019 alle ore 18:43 Collin Jackson <
[email protected]> ha scritto:
… New method sounds fine to me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTN42NFPP2MA7DEPEEFDP6NVD7A5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNVKLY#issuecomment-509302063>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTN357GJUPFHA22TKS63P6NVD7ANCNFSM4HXGMUBQ>
.
|
add method getMobileConnectionType
add call at getNetworkSubType
add method getMobileConnectionType
|
Please you can verify formatting. I have separate in a new method. Best Regards |
|
How many time Is needed for merge? Thanks |
|
I have a question. Can you explain how to configure Mac for develop flutter plugins? Thanks |
sante85
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thanks
|
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. |
|
Yes you can change my code in any Time.
In next time i won't add New method to calculate Internet Speed.
Il Gio 11 Lug 2019, 19:12 Chris Yang <[email protected]> ha scritto:
… 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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTN6IO6RIOS7P2ZSE52LP65SY7A5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXLYGI#issuecomment-510573593>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTN6E7QUS44NDQG5B63DP65SY7ANCNFSM4HXGMUBQ>
.
|
|
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 |
|
please we can format and approve? thanks |
|
@cyanglaz can you explain because build ipas raise in error? thanks |
|
Ho, when we able to merge my pull request?
Il Ven 12 Lug 2019, 21:41 Chris Yang <[email protected]> ha scritto:
… 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
<https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md#the-review-process>
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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTN5BOJQPMITYQEKDJPLP7DM73A5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2WGXA#issuecomment-511009628>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTN7UMYXQR2WX3LMF4ULP7DM73ANCNFSM4HXGMUBQ>
.
|
|
@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. |
|
The state of changes Is finished
If you want you can reformat and approve. I have a question. How to
configure cirrus to compile and test for iOS? Because i not understood how
to.
Best Regards
Il Lun 5 Ago 2019, 12:31 Bubunyo Nyavor <[email protected]> ha
scritto:
… @sante85 <https://github.com/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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTN7NMIJK3A7QT4KGAODQC76Q5A5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RM53I#issuecomment-518180589>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTN6IIZXMGSQAU3DST5DQC76Q5ANCNFSM4HXGMUBQ>
.
|
|
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. |
cyanglaz
left a comment
There was a problem hiding this 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 | |||
There was a problem hiding this comment.
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 | ||
|
|
There was a problem hiding this comment.
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 | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another extra line here.
|
yes, remove
Il giorno lun 5 ago 2019 alle ore 18:26 Chris Yang <[email protected]>
ha scritto:
… ***@***.**** commented on this pull request.
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
------------------------------
In packages/connectivity/CHANGELOG.md
<#1727 (comment)>:
> @@ -2,6 +2,7 @@
* [Android] Updated logic to retrieve network info.
+
I am still seeing this extra line. Could you remove it?
------------------------------
In packages/connectivity/CHANGELOG.md
<#1727 (comment)>:
> @@ -1,7 +1,11 @@
+## 0.4.3+5
need an extra line after the version number and before the description.
------------------------------
In packages/connectivity/lib/connectivity.dart
<#1727 (comment)>:
> @@ -93,6 +93,10 @@ class Connectivity {
Future<String> getWifiIP() async {
return await methodChannel.invokeMethod<String>('wifiIPAddress');
}
+
+ Future<String> getMobileConnectionType() async {
dart doc is still missing.
See
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#documentation-dartdocs-javadocs-etc
for more details please.
------------------------------
In packages/connectivity/pubspec.yaml
<#1727 (comment)>:
> @@ -3,8 +3,10 @@ description: Flutter plugin for discovering the state of the network (WiFi &
mobile/cellular) connectivity on Android and iOS.
author: Flutter Team ***@***.***>
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity
+
extra line here, could you remove it?
------------------------------
In packages/connectivity/pubspec.yaml
<#1727 (comment)>:
> @@ -3,7 +3,9 @@ description: Flutter plugin for discovering the state of the network (WiFi &
mobile/cellular) connectivity on Android and iOS.
author: Flutter Team ***@***.***>
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity
-version <https://github.com/flutter/plugins/tree/master/packages/connectivity-version>: 0.4.3+4
+
+version: 0.4.3+5
+
another extra line here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTNYOF7UAROJSSV6JT4TQDBICXA5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCASRWTI#pullrequestreview-270867277>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTN7HNWPETC24H53L4FDQDBICXANCNFSM4HXGMUBQ>
.
|
|
@sante85 I fixed some issues, tracked upstream and did a few modifications. you can find the changes here. https://github.com/bubunyo/plugins |
|
ok, but what do I doing?
Il giorno lun 5 ago 2019 alle ore 21:32 Bubunyo Nyavor <
[email protected]> ha scritto:
… @sante85 <https://github.com/sante85> I fixed some issues, tracked
upstream and did a few modifications. you can find the changes here.
https://github.com/bubunyo/plugins
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTNYJF57I3EM2WF2WPVLQDB53FA5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3S2X7Q#issuecomment-518368254>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTNYJ7LO2L64KUKETUMLQDB53FANCNFSM4HXGMUBQ>
.
|
|
i have readed modification and are ok.
you go to merge.
thank you
Il giorno lun 5 ago 2019 alle ore 22:19 Sante Stanisci <[email protected]>
ha scritto:
… ok, but what do I doing?
Il giorno lun 5 ago 2019 alle ore 21:32 Bubunyo Nyavor <
***@***.***> ha scritto:
> @sante85 <https://github.com/sante85> I fixed some issues, tracked
> upstream and did a few modifications. you can find the changes here.
> https://github.com/bubunyo/plugins
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1727?email_source=notifications&email_token=ADLHTNYJF57I3EM2WF2WPVLQDB53FA5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3S2X7Q#issuecomment-518368254>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADLHTNYJ7LO2L64KUKETUMLQDB53FANCNFSM4HXGMUBQ>
> .
>
|
|
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. |
|
for me your PR is all ok, you can proceed to merge request
Il giorno lun 5 ago 2019 alle ore 22:38 Chris Yang <[email protected]>
ha scritto:
… @sante85 <https://github.com/sante85> maybe you can check @bubunyo
<https://github.com/bubunyo> 's PR here see if you want to add anything
to it? And we can all work on @bubunyo <https://github.com/bubunyo> 's PR
since his is newer and more update to date with the upstream?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1727?email_source=notifications&email_token=ADLHTNZAGKUSDE2EWM476WDQDCFVRA5CNFSM4HXGMUB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3TAEBA#issuecomment-518390276>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLHTNYU4U3OYLRT7D3WFEDQDCFVRANCNFSM4HXGMUBQ>
.
|
Description
///).flutter analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?