Dismiss "GPS not enabled" toast on click?

LKHO shared this question 12 months ago
Answered

Hi,

I have the setting "always turn on GPS on startup", but my location setting of the phone is usually off. Thus the "GPS is off"notification is always shown on startup. Is there a way to dismiss it sooner (e.g. clicking on it)?

Comments (1)

photo
1

Hello,

this is currently not possible. Toast visibility is defined for 7 seconds. It is because a) text itself is longer and b) toast contains a clickable button that allows opening system "location" settings. And I believe current behavior makes perfect sense.

Anyway if you want to disable this notification completely, there should be working settings in config.cfg file gps_notify_if_disabled_during_start , that should work.

Menion

photo
1

thanks, that works.

photo