Skip to content

Commit 022ef2c

Browse files
Add namespace in build gradle (#17)
* add namespace for Android * upgrade version * remove package name in android manifest and create namespace in build.gradle
1 parent acc1e1c commit 022ef2c

File tree

5 files changed

+76
-59
lines changed

5 files changed

+76
-59
lines changed

android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ rootProject.allprojects {
2222
apply plugin: 'com.android.library'
2323

2424
android {
25+
namespace 'com.browserstack.fluttersystemproxy.flutter_system_proxy'
2526
compileSdkVersion 30
2627

2728
defaultConfig {

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.browserstack.fluttersystemproxy.flutter_system_proxy">
2+
>
33
</manifest>

example/pubspec.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ packages:
3737
dependency: transitive
3838
description:
3939
name: collection
40-
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
40+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
4141
url: "https://pub.dev"
4242
source: hosted
43-
version: "1.17.2"
43+
version: "1.18.0"
4444
cupertino_icons:
4545
dependency: "direct main"
4646
description:
@@ -110,10 +110,10 @@ packages:
110110
dependency: transitive
111111
description:
112112
name: meta
113-
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
113+
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
114114
url: "https://pub.dev"
115115
source: hosted
116-
version: "1.9.1"
116+
version: "1.10.0"
117117
path:
118118
dependency: transitive
119119
description:
@@ -139,18 +139,18 @@ packages:
139139
dependency: transitive
140140
description:
141141
name: stack_trace
142-
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
142+
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
143143
url: "https://pub.dev"
144144
source: hosted
145-
version: "1.11.0"
145+
version: "1.11.1"
146146
stream_channel:
147147
dependency: transitive
148148
description:
149149
name: stream_channel
150-
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
150+
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
151151
url: "https://pub.dev"
152152
source: hosted
153-
version: "2.1.1"
153+
version: "2.1.2"
154154
string_scanner:
155155
dependency: transitive
156156
description:
@@ -171,10 +171,10 @@ packages:
171171
dependency: transitive
172172
description:
173173
name: test_api
174-
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
174+
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
175175
url: "https://pub.dev"
176176
source: hosted
177-
version: "0.6.0"
177+
version: "0.6.1"
178178
typed_data:
179179
dependency: transitive
180180
description:
@@ -195,10 +195,10 @@ packages:
195195
dependency: transitive
196196
description:
197197
name: web
198-
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
198+
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
199199
url: "https://pub.dev"
200200
source: hosted
201-
version: "0.1.4-beta"
201+
version: "0.3.0"
202202
sdks:
203-
dart: ">=3.1.0-185.0.dev <4.0.0"
203+
dart: ">=3.2.0-194.0.dev <4.0.0"
204204
flutter: ">=1.20.0"

pubspec.lock

Lines changed: 60 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,50 @@ packages:
55
dependency: transitive
66
description:
77
name: async
8-
url: "https://pub.dartlang.org"
8+
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
9+
url: "https://pub.dev"
910
source: hosted
10-
version: "2.8.2"
11+
version: "2.11.0"
1112
boolean_selector:
1213
dependency: transitive
1314
description:
1415
name: boolean_selector
15-
url: "https://pub.dartlang.org"
16+
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
17+
url: "https://pub.dev"
1618
source: hosted
17-
version: "2.1.0"
19+
version: "2.1.1"
1820
characters:
1921
dependency: transitive
2022
description:
2123
name: characters
22-
url: "https://pub.dartlang.org"
24+
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
25+
url: "https://pub.dev"
2326
source: hosted
24-
version: "1.2.0"
25-
charcode:
26-
dependency: transitive
27-
description:
28-
name: charcode
29-
url: "https://pub.dartlang.org"
30-
source: hosted
31-
version: "1.3.1"
27+
version: "1.3.0"
3228
clock:
3329
dependency: transitive
3430
description:
3531
name: clock
36-
url: "https://pub.dartlang.org"
32+
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
33+
url: "https://pub.dev"
3734
source: hosted
38-
version: "1.1.0"
35+
version: "1.1.1"
3936
collection:
4037
dependency: transitive
4138
description:
4239
name: collection
43-
url: "https://pub.dartlang.org"
40+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
41+
url: "https://pub.dev"
4442
source: hosted
45-
version: "1.16.0"
43+
version: "1.18.0"
4644
fake_async:
4745
dependency: transitive
4846
description:
4947
name: fake_async
50-
url: "https://pub.dartlang.org"
48+
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
49+
url: "https://pub.dev"
5150
source: hosted
52-
version: "1.3.0"
51+
version: "1.3.1"
5352
flutter:
5453
dependency: "direct main"
5554
description: flutter
@@ -64,30 +63,34 @@ packages:
6463
dependency: transitive
6564
description:
6665
name: matcher
67-
url: "https://pub.dartlang.org"
66+
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
67+
url: "https://pub.dev"
6868
source: hosted
69-
version: "0.12.11"
69+
version: "0.12.16"
7070
material_color_utilities:
7171
dependency: transitive
7272
description:
7373
name: material_color_utilities
74-
url: "https://pub.dartlang.org"
74+
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
75+
url: "https://pub.dev"
7576
source: hosted
76-
version: "0.1.4"
77+
version: "0.5.0"
7778
meta:
7879
dependency: transitive
7980
description:
8081
name: meta
81-
url: "https://pub.dartlang.org"
82+
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
83+
url: "https://pub.dev"
8284
source: hosted
83-
version: "1.7.0"
85+
version: "1.10.0"
8486
path:
8587
dependency: transitive
8688
description:
8789
name: path
88-
url: "https://pub.dartlang.org"
90+
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
91+
url: "https://pub.dev"
8992
source: hosted
90-
version: "1.8.1"
93+
version: "1.8.3"
9194
sky_engine:
9295
dependency: transitive
9396
description: flutter
@@ -97,51 +100,66 @@ packages:
97100
dependency: transitive
98101
description:
99102
name: source_span
100-
url: "https://pub.dartlang.org"
103+
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
104+
url: "https://pub.dev"
101105
source: hosted
102-
version: "1.8.2"
106+
version: "1.10.0"
103107
stack_trace:
104108
dependency: transitive
105109
description:
106110
name: stack_trace
107-
url: "https://pub.dartlang.org"
111+
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
112+
url: "https://pub.dev"
108113
source: hosted
109-
version: "1.10.0"
114+
version: "1.11.1"
110115
stream_channel:
111116
dependency: transitive
112117
description:
113118
name: stream_channel
114-
url: "https://pub.dartlang.org"
119+
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
120+
url: "https://pub.dev"
115121
source: hosted
116-
version: "2.1.0"
122+
version: "2.1.2"
117123
string_scanner:
118124
dependency: transitive
119125
description:
120126
name: string_scanner
121-
url: "https://pub.dartlang.org"
127+
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
128+
url: "https://pub.dev"
122129
source: hosted
123-
version: "1.1.0"
130+
version: "1.2.0"
124131
term_glyph:
125132
dependency: transitive
126133
description:
127134
name: term_glyph
128-
url: "https://pub.dartlang.org"
135+
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
136+
url: "https://pub.dev"
129137
source: hosted
130-
version: "1.2.0"
138+
version: "1.2.1"
131139
test_api:
132140
dependency: transitive
133141
description:
134142
name: test_api
135-
url: "https://pub.dartlang.org"
143+
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
144+
url: "https://pub.dev"
136145
source: hosted
137-
version: "0.4.9"
146+
version: "0.6.1"
138147
vector_math:
139148
dependency: transitive
140149
description:
141150
name: vector_math
142-
url: "https://pub.dartlang.org"
151+
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
152+
url: "https://pub.dev"
143153
source: hosted
144-
version: "2.1.2"
154+
version: "2.1.4"
155+
web:
156+
dependency: transitive
157+
description:
158+
name: web
159+
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
160+
url: "https://pub.dev"
161+
source: hosted
162+
version: "0.3.0"
145163
sdks:
146-
dart: ">=2.17.0-0 <3.0.0"
164+
dart: ">=3.2.0-194.0.dev <4.0.0"
147165
flutter: ">=1.20.0"

pubspec.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_system_proxy
22
description: A Flutter Plugin to detect System proxy. When using HTTP client that are not proxy aware this plugin can help with finding the proxy from system settings which then can be used with HTTP Client to make a successful request.
3-
version: 0.1.0
3+
version: 0.1.1
44
homepage: https://github.com/BrowserStackCE/flutter_system_proxy.git
55

66
environment:
@@ -23,5 +23,3 @@ flutter:
2323
pluginClass: FlutterSystemProxyPlugin
2424
ios:
2525
pluginClass: FlutterSystemProxyPlugin
26-
27-

0 commit comments

Comments
 (0)