cordova-plugin-lottie-splashscreen icon indicating copy to clipboard operation
cordova-plugin-lottie-splashscreen copied to clipboard

Setting server hostame in capacitor config throws an error in IOS

Open diegoanvilla opened this issue 1 year ago • 0 comments

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 avatar Nov 29 '23 14:11 diegoanvilla