apache / apache/cordova-plugin-geolocation
PositionError fails to fire on firefox when "Don't Allow" is pressed & "Remember this decision" isn't checked
- Dominant language
- JavaScript
- Stars
- 646
- Forks
- 654
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
PositionError fails to fire on firefox when "Don't Allow" is pressed & "Remember this decision" isn't checked
## Problem
### What is expected to happen?
PositionError should fire with a status of 1. "User denied geolocation prompt" when Don't Allow is pressed regardless of "remember this decision" being checked or not.
### What does actually happen?
No success or error is error sent.
## Information
Gif of issue below

### Command or Code
### Environment, Platform, Device
Windows - Laptop - Firefox v65.0.2
### Version information
Ionic Framework - cordova-plugin-geolocation v^4.0.1"
## Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
Contributor guide
Research direction
Reproduce the missing callback in Firefox 65.0.2 with cordova-plugin-geolocation v4.0.1 by denying the geolocation prompt without selecting “Remember this decision.” Trace the permission-denial path and verify that the completed behavior invokes PositionError with status 1 rather than leaving both callbacks silent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100