Skip to content

Conversation

@snwagbata
Copy link
Owner

Description

Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.

Related Issues

Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.

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.

  • 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 ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I signed the CLA.
  • 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).
  • No, this is not a breaking change.

Chris Yang and others added 30 commits September 11, 2020 09:58
* - Removed maintaining own cache of transactions, it is better to use SKPaymentQueue.transactions where needed
- Removed unnecessary and broken payment validation from addPayment
- Refactored finishTransaction for finishing transactions properly
- Fixed: restoreTransactions did not call result(nil) causing the call never complete

* - Updated changelog

* - Fixed call to finishTransaction: parameter must be transactionIdentifier, not productIdentifier

* - review fixes: verify in addPayment there are no pending transactions for the same product

* - reverted accidental change

* - fixed formatting issues

* - fixed formatting issues

* - fixed test (removed obsolete references to old transactions cache)

* - removed obsolete test testAddPaymentWithSameProductIDWillFail
- fixed sk_methodchannel_apis_test

* - removed testDuplicateTransactionsWillTriggerAnError

Co-authored-by: LHLL <yijiexu@google.com>
…example (#2986)

* [integration_test] Recommend tests to be in `integration_test/`, fix example

In this way, there is a clear distinction between integration tests that run on a device (in `integration_test/`, and widget tests that run with the flutter tester in `test/`.

Fix flutter/flutter#64690
A new version of the formatter or something might have rolled in, causing CI to break
Adds a federated Windows implementation of url_launcher (not yet endorsed).

Since this is the first C++ plugin, this also adds a .clang-format file to the repo root for formatting C++ plugins.

Part of flutter/flutter#41721 (will need follow-up to endorse it in url_launcher)
Instead of throwing JS objects, or attempting to access undefined properties.

This change also migrates tests to the `integration_test` package.
Endorses url_launcher_windows so that Windows is supported automatically.
Implements path_provider for Windows, adding path_provider_windows and endorsing it in path_provider.
- Adds missing iOS podspec to path_provider_windows, which was necessary to publish it (since path_provider doesn't require 1.20+)
- Requires path_provider_windows 0.0.2, not 0.0.1, in path_provider endorsement.
Windows implementation of the shared_preferences plugin, using Dart+FFI.
#3052)

Stable channel still needs a 'pluginClass: none' to avoid
"Invalid plugin specification" errors when parsing a Dart-only desktop
plugin like this one.

Fixes flutter/flutter#66158
shared_preferences supports versions older than 1.18, so this plugin
needs the iOS stub to prevent breaking iOS projects via transitive
dependencies when shared_preferences endorses the Windows implementation.
Moves the real implementation of path_provider_windows behind a
conditional export, instead exporting a stub on platforms that don't
support dart:ffi. This avoids build breakage in web projects that have
transitive dependencies on path_provider (and thus path_provider_windows
due to manual endorsement).

This will no longer be necessary once
flutter/flutter#52267 is fixed, since only
Windows builds will ever need to have code-level dependency on
path_provider_windows.
bparrishMines and others added 25 commits September 21, 2020 14:01
The fake didn't have getFolder, so if a test of something using
path_provider_windows (such as shared_preferences_windows) had a fake
that overrode getFolder, the analyzer would complain about overriding a
non-existent method. This adds it to avoid that analyzer warning.

It also fixes a minor issue introduced in the previous change, where
folder.dart was accidentally made internal rather than public.
This makes globbing by tooling easier.

Also fix the documentation for running them natively with the Android and iOS tool.
path_provider_windows 0.0.2 causes issues both for web projects and for
projects built with Flutter 1.17 or earlier. This requires 0.0.4+ to
ensure fixes for both issues are included.
Adds endorsement, and manual registration, of
shared_preferences_windows.

Fixes flutter/flutter#41719
)

- Test script that runs on the device should go in `integration_test/`, e.g. `integration_test/local_auth_test.dart`
- Driver script that runs on the host should go in `test_driver`, e.g. `test_driver/integration_test.dart`.

The CI script has already been updated in
- flutter/plugin_tools#105.
- flutter/plugin_tools#108.

See https://github.com/flutter/plugins/blob/master/packages/integration_test/README.md for more details.
This change removes the dependency that url_launcher_web has in package:platform_detect to achieve a null-safe gallery app.

It also migrates the unit tests to run with flutter drive, instead of flutter test with --platform.
… 30 (#3040)

This PR adds extra documentation to the canLaunch method, explaining that (from Android API 30) false is returned when the package visibility is not managed properly.

Starting from Android API 30, apps should explicitly list which other apps it wants to query or interact with, by specifying them in the AndroidManifest.xml file. More information can be found in the Manage package visibility article in the Android documentation.
The previous push removed a class used for testing in the video_player package. This PR fixes tests to use the new class.
* Update main.dart

Documentation typo.

* Update CHANGELOG.md

* Update pubspec.yaml
@snwagbata snwagbata merged commit e186fc1 into snwagbata:master Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.