Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PreLoadedPlugin mixin for pre-initialized plugins #19

Merged
merged 8 commits into from
Sep 18, 2024

Commits on Sep 15, 2024

  1. Add PreLoadedPlugin mixin for pre-initialized plugins

    Revamped the handling of preloaded plugins by introducing the PreLoadedPlugin mixin. Applied this mixin to DIPlugin, AnalyticsPlugin, and NetworkPlugin to ensure they are initialized before the platform. Removed the static list of preloadedPlugins from VyuhPlatform.
    vishal-kr-barnwal committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    b2ccc19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6724b13 View commit details
    Browse the repository at this point in the history
  3. Refactor VyuhPlatform plugin management

    Convert plugin storage mechanism to a cacheable list for better performance. Change abstract class to use getters instead of final fields, and update methods to work with the new plugin handling structure.
    vishal-kr-barnwal committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    b039eae View commit details
    Browse the repository at this point in the history
  4. Add logic to clear lookup cache in addAll method

    This update modifies the addAll method in default_platform.dart to clear the lookup cache whenever new plugins are added. This ensures that the cache remains consistent with the latest set of plugins.
    vishal-kr-barnwal committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    9daf9f0 View commit details
    Browse the repository at this point in the history
  5. Refactor plugin architecture to remove PluginType enumeration

    Replaced the PluginType enumeration with a PluginDescriptor class to handle plugin dependency management. Simplified plugin initialization and retrieval logic, and streamlined the code by removing redundant checks for required plugins.
    vishal-kr-barnwal committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    82bbdef View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    cb045bd View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    92bec0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b8d6d4 View commit details
    Browse the repository at this point in the history