Open prabhat00155 opened 4 years ago
Did you enable location permission? We can have a call anytime this week.
On Sun, Jul 12, 2020 at 12:54 AM Prabhat notifications@github.com wrote:
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: PlatformException(PERMISSION_DENIED, Access to location data denied, null)
0 Geolocator._handleInvalidPermissions
(package:geolocator/geolocator.dart:215:7)
1 https://github.com/prabhat00155/vote/pull/1
Geolocator.getCurrentPosition (package:geolocator/geolocator.dart:120:7)
2 https://github.com/prabhat00155/vote/pull/2
_HomeScreenState.getCurrentLocation (package:vote/home_screen.dart:87:10)
3 https://github.com/prabhat00155/vote/pull/3
_HomeScreenState.initState (package:vote/home_screen.dart:30:5)
4 https://github.com/prabhat00155/vote/pull/4
StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4640:58)
5 https://github.com/prabhat00155/vote/pull/5 ComponentElement.mount
(package:flutter/src/widgets/framework.dart:4476:5)
6 https://github.com/prabhat00155/vote/pull/6 Element.inflateWidget
(package:flutter/src/widgets/framework.dart:3446:14)
7 https://github.com/prabhat00155/vote/pull/7 Element.updateChild
(package:flutter/src/widgets/framework.dart:3214:18)
8 https://github.com/prabhat00155/vote/pull/8
SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
9 https://github.com/prabhat00155/vote/pull/9 Element.inflateWidget
(package:flutter/src/widgets/framework.dart:3446:14)
10 https://github.com/prabhat00155/vote/pull/10 Element.upd<…>
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prabhat00155/vote/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVQS7CGIZWRS6LNCCVWZJDR3C35XANCNFSM4OXN7DNQ .
-- Regards, Am!t
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: PlatformException(PERMISSION_DENIED, Access to location data denied, null)
0 Geolocator._handleInvalidPermissions (package:geolocator/geolocator.dart:215:7)
1 Geolocator.getCurrentPosition (package:geolocator/geolocator.dart:120:7)