best-flutter / flutter_amap_location

高德地图flutter定位组件
MIT License
277 stars 70 forks source link

A value of type 'PermissionStatus' can't be assigned to a variable of type 'bool'. #5

Open liuchuancong opened 6 years ago

liuchuancong commented 6 years ago

老哥,报了个类型错误!! image

xSILENCEx commented 5 years ago

我有一样的问题,请问解决了吗?

drdevelop commented 5 years ago

感觉是因为作者库用的SImplePermission版本太低了

xSILENCEx commented 5 years ago

换了其它功能相同的库解决了,用这个库permission_handler

drdevelop commented 5 years ago

是的,我用permission_handler库也解决了,只不过真机运行的时候报auth错误