-
Notifications
You must be signed in to change notification settings - Fork 5
Add URL information about geolocation user info request #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: improve alert message wording
android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java
Outdated
Show resolved
Hide resolved
follow-up after full url discussion https://github.com/MetaMask/mobile-planning/issues/1923#issuecomment-2396933239 |
…hromeClient.java Co-authored-by: João Loureiro <175489935+joaoloureirop@users.noreply.github.com> Signed-off-by: Kylan Hurt <kylanhurt@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the function argument origin
on the alert dialog.
@@ -40,6 +40,7 @@ | |||
import java.util.ArrayList; | |||
import java.util.Collections; | |||
import java.util.List; | |||
import java.net.URI; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove import
@@ -232,7 +233,6 @@ private void runDelayed(Runnable function, long delayMillis) { | |||
|
|||
@Override | |||
public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add blank line
android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java
Outdated
Show resolved
Hide resolved
Co-authored-by: João Loureiro <175489935+joaoloureirop@users.noreply.github.com> Signed-off-by: Kylan Hurt <kylanhurt@users.noreply.github.com>
Ah, github suggested changes messed up with the code indentation. |
Fixes: https://github.com/MetaMask/mobile-planning/issues/1923