Skip to content

Remove location permission - #43

Open
ksemenova wants to merge 2 commits into
mainfrom
remove-location-permission
Open

Remove location permission#43
ksemenova wants to merge 2 commits into
mainfrom
remove-location-permission

Conversation

@ksemenova

Copy link
Copy Markdown

What I have done and why

PR: Clean up location permissions and built-in AppFunctions

Summary

Removes unused location permissions, geocoding APIs, and image generation features to simplify the codebase and reduce the app's permission footprint.

Key Changes

  • Permissions: Removed ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION from AndroidManifest.xml and startup check logic in MainActivity.kt.
  • AppFunctions: Deleted the unused BaseBuiltInAppFunctionService.kt file, removing the getCurrentLocation, geocodeAddress, and generateImage AppFunctions.
  • Configuration: Cleaned up the BuiltInAppFunctionService service registration in the manifest and simplified the description in app_metadata.xml.

@ksemenova
ksemenova requested a review from a team as a code owner July 28, 2026 01:46
* @return A GeneratedImageResult containing the generated remote image URI.
*/
@AppFunction(isDescribedByKDoc = true)
suspend fun generateImage(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep image generation in this PR and focus only on removing the location permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants