No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    CAPBridgeViewController.swift not found or content is unrecognized - Please disable HTTPS from quasar.conf.js > devServer > https

    CLI
    2
    3
    466
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jadedRepublic last edited by

      Can anyone help with the below error?

      Disabling HTTPS In quasar.conf hides the terminal error but I’m just stuck on the splashscreen (I think It’s loading scrips via https).

      895afaa7-12bd-4b49-ab55-fb80289ec51c-image.png

      Below works fine with PWA mode, and initially worked without any issues when running dev on IOS with capacitor. Quasar creates an external dev server when I run quasar dev -m capacitor -T ios which when I open, does not show any SSL errors.

      devServer: {
        https: {
          key: fs.readFileSync('ssl/server.key'),
          cert: fs.readFileSync('ssl/server.crt'),
        },
        port: 8080,
        open: true // opens browser window automatically
      },
      

      In Xcode, I get the following errors:

      ⚡️ WebView failed provisional navigation
      ⚡️ Error: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “192.168.1.117” which could put your confidential information at risk.

      1 Reply Last reply Reply Quote 0
      • J
        jadedRepublic last edited by jadedRepublic

        So In node_modules -> @quasar -> app -> lib -> capacitor -> capacitor-config.js, there Is a function called __handleSSLonIOS() that resolves the file “node_modules/@capacitor/ios/ios/Capacitor/Capacitor/CAPBridgeViewController.swift” however on @capacitor 2.4.0, the path Is “node_modules/@capacitor/ios/Capacitor/Capacitor/CAPBridgeViewController.swift”

        Current quasar version is 1.12.13

        e7882229-9252-48aa-8b9c-c62ae520c497-image.png

        1 Reply Last reply Reply Quote 0
        • D
          diadal last edited by

          where you able to fix this am fixing same issue

          1 Reply Last reply Reply Quote 0
          • First post
            Last post