jhomlala / catcher

Flutter error catching & handling plugin. Handles and reports exceptions in your app!
Apache License 2.0
785 stars 177 forks source link

Some library and flutter version updates. #251

Closed JhonaCodes closed 1 year ago

JhonaCodes commented 1 year ago

0.7.1

calcitem commented 1 year ago

Changing the version of flutter_mailer to ^2.0.4 still cannot solve the problem of catcher compilation failure, see https://github.com/taljacobson/flutter_mailer/issues/55#issuecomment-1605788713, this problem needs to be corrected by the upstream package developer OK, otherwise the catcher needs to modify the dependency to remove the ^ symbol and lock it at 2.0.4.

JhonaCodes commented 1 year ago

Changing the version of flutter_mailer to ^2.0.4 still cannot solve the problem of catcher compilation failure, see taljacobson/flutter_mailer#55 (comment), this problem needs to be corrected by the upstream package developer OK, otherwise the catcher needs to modify the dependency to remove the ^ symbol and lock it at 2.0.4.

Thanks for your reply, I made some changes to the library example, so it should now work without problems. Screenshot 2023-06-26 at 12 12 21 PM

Screenshot 2023-06-26 at 12 12 10 PM Screenshot 2023-06-26 at 12 14 17 PM

calcitem commented 1 year ago

This build problem will only be exposed when the upgrade operation is performed, or when the package cache is deleted and rebuilt. If you do not encounter problems, it may be because have not upgrade package, but this way of writing will cause automatic upgrades. It is recommended to remove the ^ symbol.

calcitem commented 1 year ago

In addition, if you set the min sdk version of your android app to 21 or higher, it will not expose the problem.