Skip to content

Commit c3f5fd7

Browse files
Update android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java
Co-authored-by: João Loureiro <[email protected]> Signed-off-by: Kylan Hurt <[email protected]>
1 parent d4bf3b0 commit c3f5fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermiss
253253
URI parsedUri = new URI(uri);
254254
// create URL string of origin and path
255255
String formattedUrl = parsedUri.getHost() + parsedUri.getPath();
256-
String alertMessage = String.format("Allow this %s to use your location?", formattedUrl);
256+
String alertMessage = String.format("Allow %s to use your location?", formattedUrl);
257257
AlertDialog.Builder builder = new AlertDialog.Builder(this.mWebView.getContext());
258258
builder.setMessage(alertMessage);
259259
builder.setCancelable(false);

0 commit comments

Comments
 (0)