Skip to content

Commit b9a795e

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

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
@@ -182,7 +182,7 @@ public void onPermissionRequest(final PermissionRequest request) {
182182
Uri originUri = request.getOrigin();
183183
String host = originUri.getHost();
184184
// TODO: RESOURCE_MIDI_SYSEX, RESOURCE_PROTECTED_MEDIA_ID.
185-
String alertMessage = String.format("Allow this " + host + " to use your " + requestPermissionIdentifier + "?");
185+
String alertMessage = String.format("Allow " + host + " to use your " + requestPermissionIdentifier + "?");
186186
if (androidPermission != null) {
187187
if (ContextCompat.checkSelfPermission(this.mWebView.getThemedReactContext(), androidPermission) == PackageManager.PERMISSION_GRANTED) {
188188
AlertDialog.Builder builder = new AlertDialog.Builder(this.mWebView.getContext());

0 commit comments

Comments
 (0)