-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[path_provider] Allow getDownloadsPath for Windows #2849
Conversation
@stuartmorgan could I please ask for this to get merged? It's just a very minor change that allows using |
...ges/path_provider/path_provider_platform_interface/lib/src/method_channel_path_provider.dart
Outdated
Show resolved
Hide resolved
Add README instructions for enablePendingPurchases. If a developer attempts to access this plugin on Android without invoking enablePendingPurchases, an exception is thrown. Related StackOverflow post: https://stackoverflow.com/questions/60046903/flutter-in-app-purchase-enablependingpurchases-enablependingpurchases-must
…form side (#2967) * [integration_test] Show stack trace of widget test errors on the platform side We keep things simple for now, because this might change once we have a proper test reporter.
This is the first step in the federation of the plugin.
Co-authored-by: Kifah Meeran <23234883+MaskyS@users.noreply.github.com> Co-authored-by: Aloïs Deniel <alois.deniel@gmail.com> Co-authored-by: Colin Stewart <colin@owlfish.com>
* screenshot taking works * squash commits. addressing reviewer comments. making drivercommandmanager->callback manager * addressing reviewer comment. mostly name changes * major rename on all files webdriveraction->webdrivercommand * remove files. use implements * remove timeout. add onScreenshot callback * remove remaning timeouts. add an error message for screenshots. use an object instead of strings for status messages * created a new issue * remove example screenshot saving since it's failing on android. examples in integration_test package is common * changing the version and the change log
Allow running incremental_build.sh on Windows under Git Bash. Longer term this script should be re-written in Dart (#64025), but for now this allows running the script on Windows bots.
* add json config * mv to .ci
This cleans up a number of unnecessary differences in the LICENSE files: - Removes C++ comments ("// ") from the beginnings of all the lines in license files that had them. - Standardizes on having a blank line after the copyright line. - Standardizes on having the final newline in the file. - Standardizes on the indentation of the bulleted conditions. - Standardizes on the locations of line breaks (re-wrapping the text) This makes the license bodies--not including the copyright line--in almost all files the same, and matches the exact formatting already used in flutter/flutter and flutter/engine. The only remaining non-copyright-line differences should now be: - packages/image_picker/image_picker/LICENSE has an extra license - packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/LICENSE use "Google LLC" rather than "Google Inc." in the third condition.
* Implement FlutterPlugin interface on the no-op plugin
The url_launcher overrides the deprecated shouldOverrideUrlLoading(WebView view, String url) method to be backwards compatible with versions before Android API 24. This however currently displays the warning "WebViewActivity.java uses or overrides a deprecated API." when building for Android. This is causing some problems for developers who treat these warnings as errors as part of their build configuration. This PR addresses this issue by annotating the shouldOverrideUrlLoading(WebView view, String url) method with the @SuppressWarnings("deprecation") attribute. This PR also adds the @RequiresApi(Build.VERSION_CODES.N) annotation to the shouldOverrideUrlLoading(WebView view, WebResourceRequest request) method, which gives the Android/ Java tooling an indication this method should only by used from API 24 and higher.
…p4, possibly others...) (#3007)
…sactions from being completed (#2872) * Fix the bug that prevent restored subscription transactions from being completed * Update changelog * increased version * fixed removing transactions from transactionsSetter * Fixed CHANGELOGS conflicts * transactionsSetter code formating updates * fixed formating
#3010) Fix a typo in a test name and fix quote consistency.
…plugins into pathprovider-windows
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. ℹ️ Googlers: Go here for more info. |
Googlebot complained:
I simply rebased my branch with the commits from master that had been added after I created this PR initially. Can someone please explain? |
I'm not sure how exactly you did your rebasing, but your branch is in a bad state; as you can see, GitHub is showing your PR as changing 208 files. You'll need to fix your branch and then re-push. |
Is it necessary to rebase a branch to master at all when providing a PR? |
I am closing this pull request and create a new one. |
@technolion fyi you can always use |
The new PR can be found here: #3017 |
Description
The path_provider_plugin for Windows is still in the FDE repository and works well but it misses the
getDownloadsPath
call on Windows which is already available on macOS.I created a PR that adds the missing call in flutter-desktop-embedding: google/flutter-desktop-embedding#765
PR 765 has to land first.
This PR is about allowing the call on Windows. Code changes here are trivial, which is why I incremented the version number only on the minor.
Related Issues
flutter/flutter#41715
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).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?