medyas / flutter_qiblah

Flutter Qiblah is a plugin that allows you to display Qiblah direction in you app with support for both Android and iOS.
https://pub.dev/packages/flutter_qiblah
MIT License
139 stars 97 forks source link

Upgrade to Null Safety package #12

Closed iqfareez closed 3 years ago

iqfareez commented 3 years ago

Issue with Geolocator

So, because <myapp> depends on both geolocator ^7.0.1 and flutter_qiblah ^1.0.3+2, version solving failed.
pub get failed 
exit code 1
medyas commented 3 years ago

Currently there is a problem when migrating to Null safety:

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:flutter_compass

so the flutter_compass packages needs to be migrated first. will try to find a solution in the next couple of days, in the meantime you can get the migrated version of the master branch

iqfareez commented 3 years ago

Looks like flutter_compass has been migrated to null safety. :eyes:

medyas commented 3 years ago

@iqfareez thnx, just published V2 of the plugin.