위치 권한 관련 문의

const permission = await getCurrentLocation.openPermissionDialog();

permission은 allowed로 되지만 다이얼로그를 띄워서 권한을 허용하는 즉시 앱이 죽어버립니다.