My code is wokring perfecting fine in website and in android as well, but when i try to run the same exact code, the code is not working as it is supposed to i get an very wired error,I searched in the internet about this issue and got nothing, the only thing i got was that this has to do something with the http://localhost which is working in android, but when runing the code in ios it chnages to capacitor://localhost and due to which my service worker is throwing an error, here is the error
Warning: -[BETextInput attributedMarkedText] is unimplemented
⚡️ Loading app at capacitor://localhost…
BlobWriter listening at http://localhost:58005/
Failed to request allowed query parameters from WebPrivacy.
⚡️ —— STARTUP JS ERROR ——
⚡️ TypeError: undefined is not an object (evaluating ‘navigator.serviceWorker.addEventListener’)
⚡️ URL: capacitor://localhost/assets/index-AlBXg0s2.js
⚡️ index-AlBXg0s2.js:236:810
⚡️ See above for help with debugging blank-screen issues
⚡️ [error] – {}
⚡️ WebView loaded
This error comes when i try to run this in xcode
I want my code to work in ios as well as it is working in android