Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
104e9bf
[In_App_Purchase]queryPastPurchases() shouldn't block transaction upd…
LHLL Jun 22, 2020
a0e8806
[e2e] Fix e2e pixel ratio (#2842)
CareF Jun 23, 2020
88319a9
Update README for plugin list (#2843)
CareF Jun 24, 2020
388c66e
[connectivity_for_web] Introduce connectivity_for_web package. (#2820)
ditman Jun 30, 2020
940c10c
[url_launcher_web] Adds "tel" and "sms" URL support (#2847)
Vanethos Jun 30, 2020
e08b09c
[shared_preferences_linux] Add support for Linux (#2836)
robert-ancell Jun 30, 2020
71cc865
[e2e] Use SettableFuture instead of CompletableFuture (#2854)
jiahaog Jul 1, 2020
a3dbe73
[connectivity] Endorse connectivity_for_web. (#2853)
ditman Jul 1, 2020
40db092
[e2e] Bump version to 0.6.0 (#2855)
jiahaog Jul 1, 2020
d3ccc34
[multiple] Improve video playback in image_picker example (#2819)
ditman Jul 1, 2020
a5db6e0
[image_picker] updated VALID_ARCHS to support iPhone simulator (#2761)
jlalvarez18 Jul 6, 2020
65e7bdb
[url_launcher_linux] Add Linux url_launcher plugin (#2857)
robert-ancell Jul 7, 2020
8db69f3
[url_launcher] Endorse url_launcher_linux (#2863)
stuartmorgan-g Jul 7, 2020
f3f7e8c
[shared_preferences_linux] Add iOS stub (#2865)
stuartmorgan-g Jul 8, 2020
3b931d0
[shared_preferences] Shared preferences linux endorsement (#2864)
stuartmorgan-g Jul 8, 2020
d6435f0
[connectivity_for_web] Fix JS Interop in release mode. (#2869)
ditman Jul 13, 2020
5971e2f
[google_sign_in] Bridge google_sign_in and googleapis. (#2824)
ditman Jul 14, 2020
fbd6510
[e2e] add support to report extra information (#2873)
CareF Jul 16, 2020
7d4a918
[path_provider] Use the application ID in the application support pat…
robert-ancell Jul 21, 2020
7434e41
Revert "[path_provider] Use the application ID in the application sup…
dnfield Jul 24, 2020
116b37d
Make package:e2e a relative reference (#2889)
dnfield Jul 24, 2020
14608ca
[e2e] Fix incorrect test results when one test passes then another fa…
jiahaog Jul 25, 2020
f6660a9
Clarify e2e readme for running on firebase test lab (#2898)
CareF Jul 29, 2020
f903d4c
Fixed typo manuelly for manually (#2902)
MauScheff Aug 1, 2020
b4b6e9e
[google_maps_flutter + platform] Tweaks to enable a web implementatio…
ditman Aug 5, 2020
9d77f5d
[e2e] Add new e2e_driver for handling response data and performance w…
CareF Aug 5, 2020
740481e
[google_maps_flutter_platform_interface] Add dispose method. (#2908)
ditman Aug 10, 2020
1c9529a
[camera] Improving handling when camera permissions are not granted. …
panmari Aug 11, 2020
3ae30be
[e2e] Revert performance tracker utilities (#2917)
CareF Aug 11, 2020
5c5f79a
[google_maps_flutter] Pin GoogleMaps cocoapod dep to last good known …
ditman Aug 12, 2020
0d5dd3a
[google_maps_flutter] Call platform.dispose from widget. (#2909)
ditman Aug 12, 2020
10966b7
[video_player_platform_interface] Add interface changes for audio mix…
wwwdata Aug 12, 2020
42b33ec
[device_info] Moved device_info to a subdir (#2923)
yash1200 Aug 12, 2020
235283b
Fix unguarded availability in Camera plugin (#2928)
dnfield Aug 13, 2020
6f6b786
[url_launcher_web] Fix link in README (#2932)
TahaTesser Aug 14, 2020
77fbfcd
[video_player] Set audio mix options (#2922)
wwwdata Aug 17, 2020
0e46769
[versions] increase package:platform constraint (#2934)
Aug 17, 2020
d4750ea
Revert "[video_player] Set audio mix options (#2922)" (#2938)
Aug 18, 2020
db329d7
Revert "Revert "[video_player] Set audio mix options (#2922)" (#2938)…
Aug 18, 2020
d93d408
Fix sharding and shard count on apk tests (#2936)
dnfield Aug 18, 2020
e3ffd87
[device_info_platform_interface] Introduce package (#2929)
yash1200 Aug 18, 2020
027827f
[google_maps_flutter_web] First version of the plugin. (#2933)
ditman Aug 19, 2020
bb562dd
[e2e] Update code onwer. (#2915)
digiter Aug 19, 2020
89794a6
Rename e2e -> integration_test (#2918)
dnfield Aug 19, 2020
0b156b2
[device_info] Port device_info to use platform interface (#2942)
yash1200 Aug 19, 2020
a9ac52f
[google_maps_flutter_web] Move e2e tests to integration_test. (#2945)
ditman Aug 19, 2020
4360a23
[shared_preferences_linux] update `file` package dep version to be co…
Aug 22, 2020
481e8c2
[android_intent] fix platform package dep (#2948)
Aug 22, 2020
e0a49a7
[path_provider, video_player] Tweak pubspecs to pass bulk analysis. (…
ditman Aug 24, 2020
68ce35e
[integration_test] Minor cleanup (#2956)
jiahaog Aug 25, 2020
3a992ac
Updating documentation to use isEmpty check. (#2955)
panmari Aug 25, 2020
6eda8db
Avoid walleye 26
dnfield Aug 26, 2020
f8f666f
Rebase previous commits (#2966)
jiahaog Aug 26, 2020
7227263
Add README instructions for enablePendingPurchases (#2921)
matthew-carroll Aug 26, 2020
3b6ddc8
[video_player_platform_interface] fix `setMixIWithOthers` test channe…
Aug 26, 2020
4a727fa
[video_player] Fix `setWithOthers` test (#2970)
Aug 26, 2020
f8341ef
[integration_test] Show stack trace of widget test errors on the plat…
jiahaog Aug 27, 2020
e4b55a4
[integration_test] Fix channel name for iOS, docs (#2972)
jiahaog Aug 27, 2020
9d1f131
[battery] Moved battery to its own subdir (#2969)
yash1200 Aug 27, 2020
e8306b5
[integration_test] add support to get timeline (#2947)
CareF Aug 28, 2020
c62afee
[share] Add sharing file support (android & ios) (#970)
pboos Aug 28, 2020
2f33166
[url_launcher_platform_interface] Add webOnlyWindowName parameter to …
balvinderz Aug 28, 2020
161aed2
[battery_platform_interface] Introduce package. (#2975)
yash1200 Aug 28, 2020
7c49361
[url_launcher, url_launcher_web]Added webOnlyWindowName parameter to …
balvinderz Aug 28, 2020
b93268e
[url_launcher, url_launcher_web] Fix API dependencies. (#2984)
ditman Aug 31, 2020
ce2c155
[web] Adding capability to e2e to take screenshot for web tests. (#2904)
Aug 31, 2020
90924b5
[google_maps_flutter] Fix Android unit test. (#2985)
xster Sep 1, 2020
ae806de
[google_maps_flutter] Geodesic Polyline support in iOS (#2964)
kattaliraees Sep 1, 2020
854cfd5
[battery] Port battery to use platform interface (#2980)
yash1200 Sep 1, 2020
7027e9d
Support Windows in incremental_build.sh (#2989)
stuartmorgan-g Sep 1, 2020
ee4b263
Add LUCI try builders json config file (#2993)
keyonghan Sep 3, 2020
2d94727
Standardize LICENSE body text formatting (#2992)
stuartmorgan-g Sep 3, 2020
5d869c4
[flutter_plugin_android_lifecycle] add no-op v2 plugin (#2977)
ened Sep 4, 2020
00d85b0
[url_launcher] Suppress deprecation warning in WebViewActivity (#3008)
mvanbeusekom Sep 8, 2020
8cdb21d
[device_info_platform_interface] Typo in doc fixed (#3006)
yash1200 Sep 9, 2020
0007ce3
[image_picker_for_web] Safari now can pick more video formats (3gp, m…
Makapre Sep 9, 2020
d6fdbbd
[google_maps_flutter] Fix typo in User Interface example (#3011)
Vitaly-V Sep 9, 2020
ba09b7f
[in_app_purchase] Fix the bug that prevent restored subscription tran…
ziggycrane Sep 9, 2020
1ac2978
[url_launcher_web] Fix a typo in a test name and fix quote consistenc…
jamesderlin Sep 9, 2020
da1ecff
[in_app_purchase] Fix typo on `simulatesAskToBuyInSandBox` (#3016)
Sep 11, 2020
b453d8f
[google_maps_flutter_web] Allow Markers with icon:null (#2998)
ditman Sep 11, 2020
4611936
[in_app_purchase] Removed maintaining own cache of transactions (#2911)
kinex Sep 11, 2020
fd6d45c
[integration_test] Recommend tests to be in `integration_test/`, fix …
jiahaog Sep 12, 2020
97429bd
Fix formatting (#3023)
jiahaog Sep 12, 2020
c194de2
Add url_launcher_windows (#3015)
stuartmorgan-g Sep 12, 2020
7e0fc94
[in_app_purchase]fix version (#3022)
Sep 12, 2020
4eb849a
[android_alarm_manager] Android Code Inspection and Clean up (#3020)
hamdikahloun Sep 14, 2020
56410f5
[google_sign_in_web] Ensure plugin throws PlatformExceptions (#2943)
ditman Sep 14, 2020
0d17f5f
[android_alarm_manager] version fix (#3028)
Sep 14, 2020
81023e7
[url_launcher] Endorse Windows implementation (#3024)
stuartmorgan-g Sep 15, 2020
faed100
remove android folders (#3030)
Sep 16, 2020
26bf10f
Update CODEOWNERS (#3034)
creativecreatorormaybenot Sep 16, 2020
17d7548
[share] MethodCallHandler.java uses unchecked or unsafe operations (#…
hamdikahloun Sep 17, 2020
dc15a36
[camera] CameraPlugin.java uses or overrides a deprecated API (#3018)
hamdikahloun Sep 17, 2020
40d2070
[video_player] VideoPlayerPlugin.java uses or overrides a deprecated …
hamdikahloun Sep 17, 2020
d16fd7a
[image_picker] Updated docs getImage() about preference rear front no…
anniek-valk Sep 17, 2020
1685a28
[path_provider] Add Windows support (#2818)
Sep 18, 2020
2d35643
badges for pub.dev scores (#3026)
bruno-garcia Sep 18, 2020
a83f684
[path_provider] Path provider windows updates (#3049)
stuartmorgan-g Sep 18, 2020
f17376f
[shared_preferences] Add shared_preferences_windows (#2988)
stuartmorgan-g Sep 18, 2020
b5b88f6
[image_picker] changed ExifInterface to AndroidX version, including d…
Sep 18, 2020
8faaed5
[path_provider] Add missing pluginClass: none to path_provider_window…
stuartmorgan-g Sep 19, 2020
772a57f
[shared_preferences] Add iOS stub to shared_preferences_windows (#3058)
stuartmorgan-g Sep 21, 2020
b6a42c2
[Connectivity] Fix mistake in license headers (#3054)
mehmetf Sep 21, 2020
127344f
[image_picker] Updated README.md with new example (#3044)
hs2361 Sep 21, 2020
052a915
[path_provider] Fix mistake in license headers (#3055)
mehmetf Sep 21, 2020
e80865a
[webview_flutter] [url_launcher] Handle Multiwindows in WebViews (#2…
bparrishMines Sep 21, 2020
2595703
[path_provider] Move Windows FFI behind a conditional import (#3056)
stuartmorgan-g Sep 21, 2020
0d7a605
[webview_flutter] Add new entrypoint that uses hybrid composition on …
bparrishMines Sep 21, 2020
fdbae3f
Revert "[webview_flutter] Add new entrypoint that uses hybrid composi…
bparrishMines Sep 21, 2020
861eae9
[path_provider_windows] Add missing method to fake (#3068)
stuartmorgan-g Sep 22, 2020
eb4af2e
[integration_test] Test drivers should end with `_test.dart` (#3063)
jiahaog Sep 22, 2020
85abce5
[path_provider] Update endorsed Windows version (#3065)
stuartmorgan-g Sep 22, 2020
fce1eee
[shared_preferences] Endorse Windows (#3059)
stuartmorgan-g Sep 22, 2020
5a183ac
[flutter_plugin_android_lifecycle] update to android 29 (#3050)
Sep 22, 2020
0e27dc2
Add deprecation suppression for plugins marked with -Werror (#3072)
xster Sep 23, 2020
b96c847
Move files to match the conventions of `package:integration_test` (#3…
jiahaog Sep 23, 2020
c59ea16
[url_launcher_web] Remove package:platform_detect (#3071)
ditman Sep 23, 2020
ee2df8e
[url_launcher_web] Improve attribution of package:platform_detect's c…
ditman Sep 23, 2020
705ae77
[path_provider_android] Move Path operations to background thread (#3…
mehmetf Sep 23, 2020
88acaf4
[url_launcher] Document why canLaunch can return false on Android API…
mvanbeusekom Sep 24, 2020
cd1d2af
[video_player_platform_interface] Add setPlaybackSpeed method (#3032)
creativecreatorormaybenot Sep 25, 2020
b611445
[file_selector_platform_interface] Add platform interface for new fil…
jasonpanelli Sep 25, 2020
d701961
[video_player] Fix tests on master (#3082)
creativecreatorormaybenot Sep 25, 2020
90c8ed4
[video_player_web] Implement playback speed (#3081)
creativecreatorormaybenot Sep 26, 2020
f778027
[video_player] Set playback speed (#3084)
creativecreatorormaybenot Sep 26, 2020
d82940f
[in_app_purchase] Update typo in example main.dart (#3073)
LewisHobden Sep 29, 2020
2471d75
[connectivity_for_web] Fix homepage in pubspec.yaml (#3089)
kevmoo Sep 29, 2020
ede370e
[plugin_platform_interface] Fix homepage in pubspec.yaml (#3088)
kevmoo Sep 29, 2020
dac9bc0
[url_launcher_web] Move third_party under src. (#3080)
ditman Sep 30, 2020
156ec5e
[google_maps_flutter] Out of developers preview, bump to 1.0.0 (#3091)
amirh Sep 30, 2020
6d8b156
[webview_flutter] Add new entrypoint that uses hybrid composition on …
bparrishMines Sep 30, 2020
9b04cf9
[google_maps_flutter] Fix headline in the readme (#3100)
Oct 1, 2020
18771ff
Remove `io.flutter.embedded_views_preview` from README
Oct 1, 2020
cc9bf02
[android_intent] Android Code Inspection and Clean up (#3043)
hamdikahloun Oct 2, 2020
c696333
[connectivity] Android Code Inspection and Clean up (#3051)
hamdikahloun Oct 2, 2020
3a5d9ed
in_app_purchase: started supported null as a parameter for the sandbo…
gaaclarke Oct 5, 2020
a3f7e69
[webview_flutter] add public documentation. (#3114)
Oct 5, 2020
755a73c
[multiple] Opt-out tests of null-safety (#3113)
ditman Oct 5, 2020
2077363
[google_maps_flutter_web] Fix convert.dart issues (#3093)
ditman Oct 5, 2020
05b1010
[in_app_purchase] Fix finishing purchases upon payment cancellation (…
dennis-tra Oct 6, 2020
8c9908e
Android Code Inspection and Clean up (#3117)
hamdikahloun Oct 6, 2020
c8e3aa1
[in_app_purchase] Android Code Inspection and Clean up (#3120)
hamdikahloun Oct 8, 2020
53e8f47
[video_player] Fix SSLProtocolException for low API version (#3122)
hamdikahloun Oct 8, 2020
66a4b8b
[camera] Set audio encoding bitrate when recording video (#3124)
mvanbeusekom Oct 8, 2020
bb4d584
Fix links in package example readmes (#3130)
kevmoo Oct 8, 2020
65f7260
[integration_test] Add watchPerformance (#3116)
CareF Oct 9, 2020
a346783
[wifi_info_flutter] [wifi_info_flutter_platform_interface] Initial co…
bparrishMines Oct 9, 2020
454658b
[video_player] fix Timer Leak (#3119)
creativecreatorormaybenot Oct 12, 2020
ea353a7
[in_app_purchase] Add example test target to Podfile, add OCMock depe…
jmagman Oct 12, 2020
b0cd474
Add linux directory to examples (#3064)
stuartmorgan-g Oct 13, 2020
6400b8e
[wifi_info_flutter_plugin_interface] implement wifi platform interfac…
bparrishMines Oct 13, 2020
2866574
[share] Replace deprecated Environment.getExternalStorageDirectory() …
hamdikahloun Oct 14, 2020
b07fe42
Update android sdk version to 29 for all mobile plugins. (#3042)
Oct 14, 2020
fe9dc22
[google_sign_in] fix merge error in CHANGELOG (#3153)
Oct 14, 2020
e7d84cf
[google_maps_flutter_web] Fix InfoWindow snippets. (#3156)
ditman Oct 15, 2020
fdc75a9
[url_launcher] Improved documentation of the `headers` parameter. (#3…
Sempakonka Oct 15, 2020
9560b2a
Prepare url_launcher for the Link widget (#3154)
mdebbar Oct 19, 2020
9d93e97
[web] Implement Link for web (#3155)
mdebbar Oct 20, 2020
ec6a392
Fix deprecation warning in ci failure (#3174)
Oct 20, 2020
48a393c
[wifi_info_flutter] Wifi plugin implementation (#3143)
bparrishMines Oct 21, 2020
e7184c2
Fix example in readme (#3169)
Oct 21, 2020
896bd8a
[url_launcher] suppress a `uses or overrides a deprecated API` warnin…
Oct 21, 2020
3ac426d
[camera] Add null check before starting preview (#3127)
mvanbeusekom Oct 21, 2020
61799d7
[url_launcher_linux] Add missing #include (#3184)
stuartmorgan-g Oct 21, 2020
30ee306
[connectivity] announce 1.0, deprecate wifi APIs (#3183)
Oct 22, 2020
0870628
Implement Link for native platforms (#3177)
mdebbar Oct 22, 2020
87ea6da
[wifi_info_flutter_platform_interface] Ready to publish (#3190)
Oct 22, 2020
b96da45
[google_maps_flutter_web] Fix InfoWindows and getLatLng. (#3163)
ditman Oct 22, 2020
611c304
[path_provider] Depend on guava-android instead of full guava library…
ened Oct 23, 2020
0fbf417
[url_launcher] Handling the ActivityNotFoundExeption. (#3125)
Sempakonka Oct 23, 2020
4d7de6c
[wifi_info_flutter] make it ready for initial 1.0.0 release (#3191)
Oct 23, 2020
f608743
[Connectivity] wifi removal (#3173)
Oct 23, 2020
11244cf
[android_alarm_manager] Removed deprecated display1 (#3200)
Abhishek01039 Oct 26, 2020
0aecd1f
[video_player] Upgrade ExoPlayer (#3204)
hamdikahloun Oct 27, 2020
f36b055
Add windows directory to examples (#3149)
stuartmorgan-g Oct 27, 2020
89b6efb
Remove unnecessary work around from test in prep for vm_service migra…
dnfield Oct 27, 2020
844e8d7
broaden the constraint on package:vm_service (#3208)
dnfield Oct 27, 2020
64d7334
Exclude generated_plugin_registrant.cc (#3198)
Oct 27, 2020
81bbcd4
[google_maps_flutter] Clean up google_maps_flutter plugin (#3206)
math1man Oct 27, 2020
642290b
[share] Fix bug on iPad where `origin` is null and enable XCUITests i…
Oct 27, 2020
ef42308
[wifi_info_flutter] Method channel name fixed for android (#3207)
yash1200 Oct 28, 2020
56d3ca1
update api
Oct 28, 2020
a674fce
Revert "update api"
Oct 28, 2020
1a38ddf
[camera] Added documentation about video not working correctly on And…
anniek-valk Oct 28, 2020
edfaa43
[video_player]Fixes Playing video from asset on Android (#3123)
ponnamkarthik Oct 28, 2020
d3bbef8
[in_app_purchase] Remove the custom analysis options, fix failing lin…
amirh Oct 29, 2020
8a613b9
[google_maps_flutter] Overhaul lifecycle management in GoogleMapsPlug…
math1man Oct 29, 2020
5471420
[in_app_purchase] Bump version (#3227)
amirh Oct 29, 2020
3a4e307
[google_maps_flutter_web] Show one InfoWindow at a time. (#3224)
balvinderz Oct 30, 2020
3665c9f
[video_player] Add toString() to Caption (#3233)
Oct 30, 2020
8413efe
[camera] Add missing Dartdocs (#3229)
amirh Oct 30, 2020
a9da133
Update documentation to include information about support HEIC images…
Nov 2, 2020
8ec679c
Changed the order of the setters for mediaRecorder in MediaRecorderBu…
Nov 2, 2020
22754b8
Remove unused `test` dependencies add missing environment constraints…
Nov 3, 2020
e014c20
[google_sign_in] fix deprecated member use (#3243)
Nov 3, 2020
3d97852
[video_player][device_info] announce 1.0 (#3221)
Nov 4, 2020
6fe38b6
Update contribution guide for xcuitests (#3237)
Nov 4, 2020
c7062dc
[webview_flutter] iOS: Make `webViewWebContentProcessDidTerminate` in…
Nov 4, 2020
27f5cba
[multiple] Remove custom analysis_options.yaml from web plugins. (#3238)
ditman Nov 4, 2020
b597aba
[video_player] Android: Dispose video players when app is closed (#3245)
hamdikahloun Nov 5, 2020
da36984
[connectivity] Fix IllegalArgumentException (#3235)
hamdikahloun Nov 6, 2020
4e8f8ed
[image_picker] Set up XCUITests (#3254)
Nov 9, 2020
d256f56
[webview_flutter] update documentation to indicate gesture handling i…
Nov 10, 2020
ee1dbfa
[Camera] Made CameraController.isDisposed publicly accessible. Added …
Sempakonka Nov 10, 2020
97d36e7
[camera] Move camera to camera/camera (#3258)
mvanbeusekom Nov 10, 2020
06530f9
[file_selector] Allow empty type groups (#3261)
stuartmorgan-g Nov 11, 2020
63b3e7e
[google_maps_flutter_platform_interface] Add BitmapDescriptor.fromJso…
ditman Nov 17, 2020
0506742
[cross_file] An abstraction to allow working with files across multip…
mvanbeusekom Nov 18, 2020
869f211
[google_maps_flutter_web] Render custom Marker icons. (#3273)
ditman Nov 18, 2020
e4a0642
[path_provider] Log errors in the linux example (#3146)
jiahaog Nov 19, 2020
f15a800
[google_maps_flutter] Android Code Inspection and Clean up (#3112)
hamdikahloun Nov 20, 2020
576f04a
[file_selector] Initial implementation (#3140)
tugorez Nov 20, 2020
592b5b2
Fix broken link (#3280)
johnpryan Nov 20, 2020
862a551
[file_selector_platform_interface] Migrate to cross_file package (#3286)
mvanbeusekom Nov 24, 2020
ba035e9
Use testWidgets instead of test to fix failures not surfacing on CI (…
jiahaog Nov 25, 2020
488b946
[android_alarm_manager] fix AndroidManifest.xml for android lint issu…
rh-id Nov 30, 2020
a5510eb
bump integration test to 1.0.0 (#3295)
dnfield Dec 2, 2020
b3e6d1d
[camera] Support Android 30 (#3299)
Dec 3, 2020
9fef1c7
[camera] Add `camera_platform_interface` package (#3253)
mvanbeusekom Dec 4, 2020
f9d5525
[Espresso] Android Code Inspection and Clean up (#3111)
hamdikahloun Dec 4, 2020
a7c4929
[camera] Expanded platform interface to support setting flash mode (#…
BeMacized Dec 10, 2020
a35f830
[image_picker] [integration_test] Fixes to make the tree green (#3317)
Dec 10, 2020
284ad5d
[camera] Suppress unchecked cast warning in java test (#3316)
mvanbeusekom Dec 10, 2020
2f708d7
update analysis options for nnbd (#3319)
amirh Dec 10, 2020
7d39247
[camera] Add zoom support to platform interface (#3312)
mvanbeusekom Dec 11, 2020
298fb23
[documentation] [url_launcher] fix for readme code sample (#3308)
Dec 11, 2020
6870b08
Exclude null-safe plugins from testing on stable (#3318)
Dec 11, 2020
163e7c2
[image_picker_platform_interface] Pass Uri to package:http APIs (#3309)
natebosch Dec 11, 2020
6473b5c
[a-c] Update Flutter SDK constraint (#3320)
mit-mit Dec 11, 2020
af9d38b
[d-g] Update Flutter SDK constraint (#3321)
mit-mit Dec 11, 2020
2cca4fe
[i-p] Update Flutter SDK constraint (#3322)
mit-mit Dec 11, 2020
0251017
[q-w] Update Flutter SDK constraint (#3323)
mit-mit Dec 11, 2020
85dbace
Merge branch 'upstream-share-final-null-release' into pull-in-upstrea…
samandmoore Apr 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .ci/Dockerfile-LinuxDesktop
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ RUN sudo apt-get install -y xvfb libegl1-mesa
RUN sudo apt-get install -y clang cmake ninja-build file pkg-config
# Install necessary libraries.
RUN sudo apt-get install -y libgtk-3-dev

# Add repo for Google Chrome and install it, for url_launcher tests.
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends google-chrome-stable
# Make it the default so http: has a handler.
RUN sudo apt-get install -y xdg-utils
RUN xdg-settings set default-web-browser google-chrome.desktop
19 changes: 19 additions & 0 deletions .ci/dev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This directory contains resources that the Flutter team uses during
the development of plugins.

## Luci builder file
`try_builders.json` contains the supported luci try builders
for plugins. It follows format:
```json
{
"builders":[
{
"name":"yyy",
"repo":"plugins",
"enabled":true
}
]
}
```
This file will be mainly used in [`flutter/cocoon`](https://github.com/flutter/cocoon)
to trigger/update pre-submit luci tasks.
9 changes: 9 additions & 0 deletions .ci/dev/try_builders.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"builders":[
{
"name":"Windows Plugins",
"repo":"plugins",
"enabled":true
}
]
}
26 changes: 15 additions & 11 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task:
cpu: 8
memory: 16G
env:
E2E_PATH: "./packages/e2e"
INTEGRATION_TEST_PATH: "./packages/integration_test"
upgrade_script:
- flutter channel stable
- flutter upgrade
Expand Down Expand Up @@ -47,9 +47,9 @@ task:
- if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi
- flutter channel $CHANNEL
- ./script/build_all_plugins_app.sh apk
- name: e2e_web_smoke_test
# Tests e2e example test in web.
only_if: "changesInclude('.cirrus.yml', 'packages/e2e/**') || $CIRRUS_PR == ''"
- name: integration_web_smoke_test
# Tests integration example test in web.
only_if: "changesInclude('.cirrus.yml', 'packages/integration_test/**') || $CIRRUS_PR == ''"
install_script:
- flutter config --enable-web
- git clone https://github.com/flutter/web_installers.git
Expand All @@ -58,13 +58,15 @@ task:
- dart lib/web_driver_installer.dart chromedriver --install-only
- ./chromedriver/chromedriver --port=4444 &
test_script:
- cd $E2E_PATH/example/
- flutter drive -v --target=test_driver/example_e2e.dart -d web-server --release --browser-name=chrome
- cd $INTEGRATION_TEST_PATH/example/
- flutter drive -v --driver=test_driver/integration_test.dart --target=integration_test/example_test.dart -d web-server --release --browser-name=chrome
- name: build-apks+java-test+firebase-test-lab
env:
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 4"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 4"
PLUGIN_SHARDING: "--shardIndex 2 --shardCount 4"
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
matrix:
CHANNEL: "master"
CHANNEL: "stable"
Expand All @@ -91,7 +93,7 @@ task:
- echo "This user does not have permission to run Firebase Test Lab tests."
- else
- echo $GCLOUD_FIREBASE_TESTLAB_KEY > ${HOME}/gcloud-service-key.json
- ./script/incremental_build.sh firebase-test-lab
- ./script/incremental_build.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
- fi
- export CIRRUS_CHANGE_MESSAGE=`cat /tmp/cirrus_change_message.txt`
- export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt`
Expand All @@ -105,7 +107,7 @@ task:
cpu: 8
memory: 16G
env:
E2E_PATH: "./packages/e2e"
INTEGRATION_TEST_PATH: "./packages/integration_test"
upgrade_script:
- flutter channel stable
- flutter upgrade
Expand Down Expand Up @@ -157,10 +159,11 @@ task:
- find . -name "*.podspec" | xargs grep -l "osx" | xargs rm
# Skip the dummy podspecs used to placate the tool.
- find . -name "*_web*.podspec" -o -name "*_mac*.podspec" | xargs rm
- ./script/incremental_build.sh podspecs --no-analyze camera --ignore-warnings camera
- ./script/incremental_build.sh podspecs
- name: build-ipas+drive-examples
env:
PATH: $PATH:/usr/local/bin
PLUGINS_TO_SKIP_XCTESTS: "battery/battery,camera/camera,connectivity/connectivity,device_info/device_info,espresso,google_maps_flutter/google_maps_flutter,google_sign_in/google_sign_in,in_app_purchase,integration_test,ios_platform_images,local_auth,package_info,path_provider/path_provider,quick_actions,sensors,shared_preferences/shared_preferences,url_launcher/url_launcher,video_player/video_player,webview_flutter,wifi_info_flutter/wifi_info_flutter"
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 4"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 4"
Expand All @@ -177,6 +180,7 @@ task:
- flutter channel $CHANNEL
- ./script/incremental_build.sh build-examples --ipa
- ./script/incremental_build.sh drive-examples
- ./script/incremental_build.sh xctest --target RunnerUITests --skip $PLUGINS_TO_SKIP_XCTESTS
task:
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
only_if: $CIRRUS_TAG == ''
Expand Down
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BasedOnStyle: Google
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ gradle-wrapper.jar
generated_plugin_registrant.dart
GeneratedPluginRegistrant.h
GeneratedPluginRegistrant.m
generated_plugin_registrant.cc
GeneratedPluginRegistrant.java
GeneratedPluginRegistrant.swift
build/
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ Théo Champion <contact.theochampion@gmail.com>
Kazuki Yamaguchi <y.kazuki0614n@gmail.com>
Eitan Schwartz <eshvartz@gmail.com>
Chris Rutkowski <chrisrutkowski89@gmail.com>
Juan Alvarez <juan.alvarez@resideo.com>
Jorge Galvão <jmfgalvao@gmail.com>
40 changes: 21 additions & 19 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,24 @@
# These names are just suggestions. It is fine to have your changes
# reviewed by someone else.

packages/android_alarm_manager/* @bkonyi
packages/android_intent/* @mklim @matthew-carroll
packages/battery/* @amirh @matthew-carroll
packages/camera/* @bparrishMines
packages/connectivity/* @cyanglaz @matthew-carroll
packages/device_info/* @matthew-carroll
packages/e2e/* @collinjackson @digiter
packages/espresso/* @collinjackson @adazh
packages/google_maps_flutter/* @cyanglaz
packages/google_sign_in/* @cyanglaz @mehmetf
packages/image_picker/* @cyanglaz
packages/in_app_purchase/* @mklim @cyanglaz @LHLL
packages/ios_platform_images/* @gaaclarke
packages/package_info/* @cyanglaz @matthew-carroll
packages/path_provider/* @matthew-carroll
packages/shared_preferences/* @matthew-carroll
packages/url_launcher/* @mklim
packages/video_player/* @iskakaushik @cyanglaz
packages/webview_flutter/* @amirh
packages/android_alarm_manager/** @bkonyi
packages/android_intent/** @mklim @matthew-carroll
packages/battery/** @amirh @matthew-carroll
packages/camera/** @bparrishMines
packages/connectivity/** @cyanglaz @matthew-carroll
packages/cross_file/** @ditman @mvanbeusekom
packages/device_info/** @matthew-carroll
packages/espresso/** @collinjackson @adazh
packages/file_selector/** @ditman
packages/google_maps_flutter/** @cyanglaz
packages/google_sign_in/** @cyanglaz @mehmetf
packages/image_picker/** @cyanglaz
packages/integration_test/** @dnfield
packages/in_app_purchase/** @mklim @cyanglaz @LHLL
packages/ios_platform_images/** @gaaclarke
packages/package_info/** @cyanglaz @matthew-carroll
packages/path_provider/** @matthew-carroll
packages/shared_preferences/** @matthew-carroll
packages/url_launcher/** @mklim
packages/video_player/** @iskakaushik @cyanglaz
packages/webview_flutter/** @amirh
42 changes: 42 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,28 @@ USB and debugging enabled on that device.
* `cd packages/battery/example`
* `flutter run`

## Setting up XCUITests

Sometimes, XCUITests are useful when integration testing a plugin that has native UI on iOS (e.g image_picker, in_app_purchase, camera, share, local_auth etc). Most of the time, XCUITests are not necessary, consider using [integration_test](https://pub.dev/packages/integration_test) if the tests are not focused on iOS system UI.

If XCUITests has always been set up for the plugin, a RunnerUITests folder under `<the_plugin>/example/ios` directory can be found.
If XCUITests has not been set up for the plugin, follow these steps to set it up:

1. Open <path_to_plugin>/example/ios/Runner.xcworkspace using XCode.
1. Create a new "UI Testing Bundle".
1. In the target options window, populate details as following, then click on "Finish".
* In the "product name" field, type in "RunnerUITests" (this is the test target name our CI looks for.).
* In the "Team" field, select "None".
* In the Organization Name field, type in "Flutter". This should usually be pre-populated.
* In the organization identifer field, type in "com.google". This should usually be pre-populated.
* In the Language field, select "Objective-C".
* In the Project field, select the xcodeproj "Runner" (blue color).
* In the Target to be Tested, select xcworkspace "Runner" (white color).
1. A RunnerUITests folder should be created and you can start hacking in `RunnerUITests.m`.
1. To enable the test on CI, the plugin needs to be removed from the "skip" list:
* Open `./cirrus.yml` and find PLUGINS_TO_SKIP_XCTESTS.
* Remove the plugin name from the list.

## Running the tests

### Integration tests
Expand Down Expand Up @@ -84,6 +106,26 @@ cd android
./gradlew test
```

### XCTests (iOS)

XCUnitTests are typically configured to run with cocoapods in this repo. To run all the XCUnitTests for a plugin:

```console
cd ios
pod lib lint --allow-warnings
```

XCUITests aren't usually configured with cocoapods in this repo. They are configured in a xcode workspace target named RunnerUITests.
To run all the XCUITests in a plugin, follow the steps in a regular iOS development workflow [here](https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/05-running_tests.html)

For convenience, a [flutter_plugin_tools](https://pub.dev/packages/flutter_plugin_tools) command `xctest` could also be used to run all the XCUITests in the repo:

```console
pub global activate flutter_plugin_tools
cd <path_to_plugins>/packages
pub global run flutter_plugin_tools xctest --target RunnerUITests --skip <plugins_to_skip>
```

## Contributing code

We gladly accept contributions via GitHub pull requests.
Expand Down
44 changes: 21 additions & 23 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
Copyright 2017 The Chromium Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading