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

Setting server hostame in capacitor config throws an error in IOS #697

Open
3 tasks
diegoanvilla opened this issue Nov 29, 2023 · 0 comments
Open
3 tasks

Comments

@diegoanvilla
Copy link

To reproduce this error it is needed to set a server and hostname in the capacitor.config.json file:

{
	...
	"server": {
		"hostname": "e.example.com",
		"allowNavigation": [
			"example.com",
			"m-example.app",
			"example.app",
			...,
		]
	},
	"limitsNavigationsToAppBoundDomains": true
}

It is expected for the app to render normally after the animation ends

The animation ends but the screen remains white not rendering the capacitor app

In the xcode the following error is shown:

Error: Attempted to navigate away from an app-bound domain or navigate after using restricted APIs

  • If there is a (potential) plugin conflict, I've identified the conflicting plugin
  • I have added a valid version output
  • I have attached necessary information like a screenshot, example project or videos
@diegoanvilla diegoanvilla changed the title Setting server hostame in capacitor confi throws an error in IOS Setting server hostame in capacitor config throws an error in IOS Nov 29, 2023
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

1 participant