演示如何使用现有的flutter插件实现应用内的版本更新功能

Overview
You might also like...
Comments
  • Having some errors with the library

    Having some errors with the library

    This line of code:

    static UpdateInfo fromJson(String source){
        return fromMap(json.decode(source));
      }
    

    It return the error Unhandled Exception: FormatException: Unexpected character (at character 2)

    opened by Tarhex 1
  • Configure Renovate

    Configure Renovate

    Mend Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • android/gradle.properties (gradle)
    • android/settings.gradle (gradle)
    • android/build.gradle (gradle)
    • android/app/build.gradle (gradle)
    • android/gradle/wrapper/gradle-wrapper.properties (gradle-wrapper)
    • pubspec.yaml (pub)

    Configuration Summary

    Based on the default config's presets, Renovate will:

    • Start dependency updates only once this onboarding PR is merged
    • Enable Renovate Dependency Dashboard creation.
    • If Renovate detects semantic commits, it will use semantic commit type fix for dependencies and chore for all others.
    • Ignore node_modules, bower_components, vendor and various test/tests directories.
    • Autodetect whether to pin dependencies or maintain ranges.
    • Rate limit PR creation to a maximum of two per hour.
    • Limit to maximum 10 open PRs at any time.
    • Group known monorepo packages together.
    • Use curated list of recommended non-monorepo package groupings.
    • A collection of workarounds for known problems with packages.

    🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


    What to Expect

    With your current configuration, Renovate will create 11 Pull Requests:

    Update dependency gradle to v5.6.4
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-5.x
    • Merge into: master
    • Upgrade gradle to 5.6.4
    Update dependency com.android.tools.build:gradle to v3.6.4
    • Schedule: ["at any time"]
    • Branch name: renovate/com.android.tools.build-gradle-3.x
    • Merge into: master
    • Upgrade com.android.tools.build:gradle to 3.6.4
    Update kotlin monorepo to v1.7.22
    Update dependency com.android.tools.build:gradle to v7
    • Schedule: ["at any time"]
    • Branch name: renovate/com.android.tools.build-gradle-7.x
    • Merge into: master
    • Upgrade com.android.tools.build:gradle to 7.3.1
    Update dependency cupertino_icons to v1
    • Schedule: ["at any time"]
    • Branch name: renovate/cupertino_icons-1.x
    • Merge into: master
    • Upgrade cupertino_icons to ^1.0.0
    Update dependency dio to v4
    • Schedule: ["at any time"]
    • Branch name: renovate/dio-4.x
    • Merge into: master
    • Upgrade dio to ^4.0.0
    Update dependency flutter_update_dialog to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/flutter_update_dialog-2.x
    • Merge into: master
    • Upgrade flutter_update_dialog to ^2.0.0
    Update dependency gradle to v7
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-7.x
    • Merge into: master
    • Upgrade gradle to 7.6
    Update dependency oktoast to v3
    • Schedule: ["at any time"]
    • Branch name: renovate/oktoast-3.x
    • Merge into: master
    • Upgrade oktoast to ^3.0.0
    Update dependency package_info to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/package_info-2.x
    • Merge into: master
    • Upgrade package_info to ^2.0.0
    Update dependency path_provider to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/path_provider-2.x
    • Merge into: master
    • Upgrade path_provider to ^2.0.0

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Owner
薛翔
微信公众号:我的Android开源之旅。 知行合一,上善若水
薛翔