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

    quasar-logo.svg doesn't display on cordova after clean

    Help
    2
    3
    118
    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.
    • djcaesar9114
      djcaesar9114 last edited by djcaesar9114

      Hello,
      I ran

      cordova clean
      

      in the src-cordova folder and now when I run the cordova build, the logo won’t display although there is no problem with the SPA:

      quasar dev
      

      shows me the logo.
      What have I done wrong? Why can’t my app fetch https://cdn.quasar.dev/logo/svg/quasar-logo.svg anymore?

      Thanks 🙂

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        It’s best not to use external links when writing a Cordova app, otherwise your users will also be dependant on an Internet connection.

        However should you still want to pursue this path, check the remote debugger and see what the problem is: https://quasar.dev/quasar-cli/developing-cordova-apps/troubleshooting-and-tips#Android-remote-debugging or https://quasar.dev/quasar-cli/developing-capacitor-apps/troubleshooting-and-tips#iOS-remote-debugging
        You probably need some permissions added in /src-cordova/config.xml ?

        1 Reply Last reply Reply Quote 0
        • djcaesar9114
          djcaesar9114 last edited by

          Actually this external link was already set by Quasar, and at first it worked. What is strange is that I didn’t change anything in the config.xml:

          <?xml version='1.0' encoding='utf-8'?>
          <widget id="fr.nc.delegue.referendum" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
              <name>XXX</name>
              <description>XXX</description>
              <author email="dev@cordova.apache.org" href="http://cordova.io">
                  Apache Cordova Team
              </author>
              <content src="index.html" />
              <plugin name="cordova-plugin-whitelist" spec="1" />
              <access origin="*" />
              <allow-intent href="http://*/*" />
              <allow-intent href="https://*/*" />
              <allow-intent href="tel:*" />
              <allow-intent href="sms:*" />
              <allow-intent href="mailto:*" />
              <allow-intent href="geo:*" />
              <platform name="android">
                  <allow-intent href="market:*" />
              </platform>
              <platform name="ios">
                  <allow-intent href="itms:*" />
                  <allow-intent href="itms-apps:*" />
              </platform>
              <allow-navigation href="about:*" />
          </widget>
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post