Skip to content
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

PresentationRequest is not defined? #475

Closed
crysta-l opened this issue Oct 25, 2019 · 2 comments
Closed

PresentationRequest is not defined? #475

crysta-l opened this issue Oct 25, 2019 · 2 comments

Comments

@crysta-l
Copy link

there is no problem in my local project, and it works well. but when I build it to the test development environment and the console panel will warn. and then I changed the host add www.test.com like this
image

www.test.com
image

127.0.0.1:8080
image

I can't find any answer, could any one can answer me?
my Chrome version 76.0.3809.100

@crysta-l
Copy link
Author

Here is my code, The framework I am using is vue
image

@markafoltz
Copy link
Contributor

@crysta-l Sorry for the delayed response. Can you make sure that navigator.presentation is defined? Also, what is the value of window.isSecureContext? If it is not true, then the Presentation API is not available for that frame/document.

If you are still having problems with using the Presentation API in Chrome, please file an issue at https://bugs.chromium.org/p/chromium/issues/entry and assign it to mfoltz@chromium.org. (If you set the component to Blink>PresentationAPI, it will end up in the proper bug queue, but as long as I see it, I can fix that for you.) Thanks!

I'm closing this out as it looks like an application/browser issue and not a spec issue.

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

No branches or pull requests

2 participants