Skip to content

fix(expo): avoid logging Android license keys - #2657

Open
Waiel5 wants to merge 1 commit into
transistorsoft:masterfrom
Waiel5:fix/expo-license-log
Open

fix(expo): avoid logging Android license keys#2657
Waiel5 wants to merge 1 commit into
transistorsoft:masterfrom
Waiel5:fix/expo-license-log

Conversation

@Waiel5

@Waiel5 Waiel5 commented Sep 10, 2026

Copy link
Copy Markdown

Problem

The Android Expo config plugin logs the entire props object when modifying AndroidManifest.xml. That object includes the application's license key and can also include legacy add-on keys. Running Expo native configuration therefore copies those values into terminal or CI logs.

Change

Remove the props log. Keep the manifest metadata insertion and the existing key-free add-on migration messages unchanged. Generated plugin files are not tracked in this repository and should be regenerated for the next package release.

Verification

Reproduced with react-native-background-geolocation 5.6.0 in an Expo 57 project using a synthetic license value and expo config --type introspect: the plugin printed the synthetic Android key before the equivalent compiled-plugin patch, and no longer printed it afterwards. Introspected Android manifest still contained the exact synthetic key under com.transistorsoft.locationmanager.license; the iOS license entry was unchanged.

No real license values are included in this PR. This verifies Expo config-plugin behavior, not a native SDK build or the repository's full test suite.

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.

1 participant