Fixed Location Permission issue on Android - 1
This commit is contained in:
@ -15,6 +15,11 @@ class _HomePageState extends State<HomePage> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
/*
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
_checkLocationService(); // 非同期的に呼び出す
|
||||
});
|
||||
*/
|
||||
_checkLocationService();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user