Skip to content

This plugin is API based instead of functionality based #56

@alexcmgit

Description

@alexcmgit

Note
Issue created in favor of the Flutter docs and their recommended post by Mehmet Fidanboylu.

The issue is in the core of this plugin:

In 2021 I created this plugin just to allow access to one, two methods available on Android APIs, so I thought that's was fine to create a plugin fully-based on native APIs. But since the package grown and people wanted to add support to another features I noticed two issue:

  • It's impossible to a plugin follow all Android APIs maintained only by one developer.
  • Kotlin != Dart and Flutter != Android. That is:

APIs don’t match across platforms and you are forced to expose an intersection of the API often with crippling consequences…
- Mehmet Fidanboylu.

  • Missing tests. This one is probably the critical one.

So the following actions will be taken to the next major release:

  • Deprecate all mirror APIs.
  • Keep/add feature-based APIs.
  • Add support for iOS.

Requirements/Recommended technical fixes:

That's it, this issue is just a wrapper issue to provide some context to create another minor and more specific issues.


That's all folks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions