Skip to content

Support newer versions of amplify-swift SDK #200

@liamnichols

Description

@liamnichols

Is your feature request related to a problem? Please describe.

Currently the Package.swift has an exact version requirement on the 2.46.1 of the amplify-swift SDK:

.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.46.1")

But the latest version of the amplify-swift SDK is 2.48.1.

With the current setup, we are unable to use both this library and the latest version of amplify-swift.

Describe the solution you'd like

amplify-ui-swift-liveness should follow best practices by remaining flexible and offering support up until the next major version. Assuming that both SDKs adhere to semantic versioning practices correctly, this would not cause any problems because no minor or patch releases of amplify-swift would contain any breaking changes.

- .package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.46.1")
+ .package(url: "https://github.com/aws-amplify/amplify-swift", from: "2.46.1")

Should this SDK need a specific new change from a future version of amplify-swift, it should just bump the minimum version defined in from to account for this.

Describe alternatives you've considered

The alternatives are forking, but this isn't a practical long-term solution

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions