v1.4.1 - Hot fix for LOCATION_ALWAYS
🐛 Bug Fixes
- LOCATION_ALWAYS Flow: Fixed a regression introduced in 1.4.0 where a duplicate background location request caused a 60-second timeout if the app already possessed foreground location permissions (Issue #33).
🧪 Tests
- Added Robolectric regression test
Issue33HotfixDuplicateRequestTest(#36) that pins the v1.4.1 guard. MocksGrantRequestActivity.requestGrantsto count invocations; asserts exactly one call when the request starts fromPARTIAL_GRANTED. Counter-test verifies the legitimate 2-step flow fromNOT_DETERMINEDis not over-restricted. Test was verified locally by temporarily reverting the guard — it correctly fails withGot 2 invocations.
Note: The test was added post-release in #36 (merge commit 8f27527). The v1.4.1 git tag still points to f3a41aa for stability; the published Maven Central artifact is unchanged (tests are not shipped). Future releases will include the regression coverage from
main.