Clancey / simple_auth

The Simplest way to Authenticate in Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A new release is needed so that UIWebView is no longer used in the packages from pub.dev

MaskyS opened this issue · comments

Please create a new release, currently, it is not possible to upload to the App Store when depending on the pub.dev as it hasn't been updated in a long time.

commented

+1

The new fixes don't work, as now the build fails (also indicated in the README by Build status )

commented

I opened a PR.

Until then, this works:
In your pubspec.yaml file replace your simple_auth_flutter-dependency with

  simple_auth_flutter:
    #TODO set back to ^2.0.7 and remove "git:..." when https://github.com/Clancey/simple_auth/pull/135 got merged
    git:
      url: git@github.com:uwemeier-sclable/simple_auth.git
      path: simple_auth_flutter
      ref: master

and add a dependency override for simple_auth

#TODO remove simple_auth from dependency_overrides when https://github.com/Clancey/simple_auth/pull/135 got merged
dependency_overrides:
  simple_auth:
    git:
      url: git@github.com:uwemeier-sclable/simple_auth.git
      path: simple_auth
      ref: master

This PR (& workaround) is tested and uploads to Apples Appstore Connect work.

Pull request is merged, and published!