Skip to content

Conversation

@JeroenWeener
Copy link
Contributor

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

This is a revert of reverted PR #34.
This PR adds a platform interface for the plugin. This interface is part of the ongoing effort to refactor the code to use the federated plugin architecture. The GooglePlayServicesAvailability model has been copied over, and its original version will be removed in a later PR.

⤵️ What is the current behavior?

The plugin uses a non-federated architecture.

🆕 What is the new behavior (if this is a feature change)?

The plugin will function the same. The platform interface code is contained in the new directory /google-api-availability-platform-interface and is not used outside of it.

💥 Does this PR introduce a breaking change?

No.

🐛 Recommendations for testing

This PR adds tests for the newly added GoogleApiAvailabilityPlatform. These tests can be found in google-api-availability-platform-interface/test/google_api_availability_platform_interface_test.dart.

📝 Links to relevant issues/docs

This PR is part of the ongoing effort to refactor this plugin to use the federated architecture requested in #33.

🤔 Checklist before submitting

  • All projects build
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated
  • Rebased onto current develop

…ement/platform-interface"

This reverts commit 101bf12, reversing
changes made to d828355.
@JeroenWeener JeroenWeener changed the title Enhancement/platform interface Re-add Platform Interface Mar 9, 2023
@JeroenWeener JeroenWeener changed the title Re-add Platform Interface Re-add platform interface Mar 9, 2023
Copy link
Member

@mvanbeusekom mvanbeusekom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, modules one small improvement regarding the analysis_options.yaml file.

@@ -0,0 +1,10 @@
include: package:flutter_lints/flutter.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we put this file in the root of the repository it will be reused by all packages. That way we only have to maintain one file.

Can you move this to the root folder and also remove the google_availability_api/analysis_options.yaml file?

@JeroenWeener JeroenWeener merged commit 905338d into Baseflow:main Mar 10, 2023
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.

3 participants