Deprecated API usage updates - #958
Open
mdanylov-sigma wants to merge 1 commit into
Open
mdanylov-sigma wants to merge 1 commit into
mdanylov-sigma wants to merge 1 commit into
Conversation
mdanylov-sigma
force-pushed
the
feature/956-device-and-user-info-deprecated-API
branch
from
September 10, 2026 21:07
8da16d7 to
779c1bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#956
Summary
Updated location handling to respect coarse vs fine permissions:
ACCESS_FINE_LOCATION.Tightened network connectivity detection on API 23+:
NET_CAPABILITY_VALIDATEDin addition toNET_CAPABILITY_INTERNET.OFFLINE, soRequesterfails the load with "No internet connection detected" instead of sending a bid request.Added unit tests for coarse-only location permission and for an unvalidated network.
Relation to #992 and #993
This PR originally also migrated network detection to
NetworkCapabilities(API 23+) and screen size detection toWindowMetrics(API 30+). Those changes landed on master separately in #992 and #993, so after rebasing:NET_CAPABILITY_VALIDATEDrequirement added on top.🤖 Generated with Claude Code