Teifun2 / nextcloud-cookbook-flutter

Flutter Project for the nextcloud plugin "cookbook"
Creative Commons Zero v1.0 Universal
103 stars 25 forks source link

Null safety #168

Closed Leptopoda closed 1 year ago

Leptopoda commented 1 year ago

Should be ready to go :)

Teifun2 commented 1 year ago

There is an issue with the build.

Supposedly this is due to the gradle version number. It is suggested to increase the version to

classpath "com.android.tools.build:gradle:7.1.3"

In the file build.gradle

Leptopoda commented 1 year ago

Looks more like a nullability error to me https://github.com/Teifun2/nextcloud-cookbook-flutter/actions/runs/3807469951/jobs/6485346462#step:6:20

Although the attribute in question is not nullable and it builds fine on my machine :thinking: On the latest version of flutter_notifications the field is nullable ... I'll upgrade it to 13.0.0 later :)

Leptopoda commented 1 year ago

Ok looks like I accidentally changed the local cache of my dependencies and flutter clean only pruned the build cache so the deps wouldn't be fetched again.

flutter bup clean did the job and I added a null-check in that place. As I already upgraded the deps though It's also included now.

Teifun2 commented 1 year ago

Wow that was fast! Thanks!