Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Safari can not open the page because the address is invalid #7610

Unanswered
levgenprog asked this question in Q&A
Discussion options

I've build the application for ios following the steps in the documentation, and also configured deep (universal links) as also guided in the documentation here: https://capacitorjs.com/docs/v5/guides/deep-links. The application opens, but when I try to redirect for the authorization, I get this error on the screen:
IMG_364915D4A3A5-1

Can anyone tell me what is wrong or how can it be resolved?

You must be logged in to vote

Replies: 2 comments

Comment options

did you ever found a solution?

You must be logged in to vote
0 replies
Comment options

For the moment I managed to do it with InAppBrowser:

import { InAppBrowser, DefaultWebViewOptions } from "@capacitor/inappbrowser";
// Build web login URL
const webLoginUrl = new URL('/login', 'http://localhost/etc');
webLoginUrl.searchParams.set('redirectUri, 'my-app://etc');
await InAppBrowser.openInWebView({
 url: webLoginUrl.toString(),
 options: DefaultWebViewOptions,
});
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /