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

    How can I connect Quasar-Cordova ios app to the existing tomcat service at local computer?

    Help
    1
    1
    343
    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.
    • T
      Tao last edited by Tao

      The Quasar works fine for SPA at localhost:port# hosted by tomcat.

      To test the mobile app, I ran the “quasar dev -m cordova -T ios” with my iphone connected with my laptop through USB, the app was installed and also opened with the index.html. The problem is I cannot connect it to the tomcat backend running @ localhost:port#, when I make a post or get request.

      The config.xml is like this:

      <?xml version=‘1.0’ encoding=‘utf-8’?>
      <widget id=“com.xprotocol.quasar.app” version=“1.0.0” xmlns=“http://www.w3.org/ns/widgets” xmlns:cdv=“http://cordova.apache.org/ns/1.0”>
      <name>Quasar App</name>
      <description>A Quasar App</description>
      <author email="dev@cordova.apache.org" href=“http://cordova.io”>
      Apache Cordova Team
      </author>
      <content src=“index.html” />
      <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>
      <plugin name=“cordova-plugin-whitelist” spec="^1.3.3" />
      <engine name=“ios” spec="^4.5.4" />
      </widget>

      What steps I need to take to make it work?

      Thanks a lot.

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