apache / apache/cordova-plugin-geolocation

PositionError fails to fire on firefox when "Don't Allow" is pressed & "Remember this decision" isn't checked

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
platform: browser Requires Triage
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
![9FF87977-9C9A-4F9F-A192-FF689AC7827A](https://user-images.githubusercontent.com/2967721/54638620-b8339600-4a48-11e9-9d3b-433f9ea78ee9.GIF)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.