4 Replies Latest reply on Sep 29, 2016 1:35 PM by rejeb01 Branched from an earlier discussion.

    I want load external https url in my application

    rejeb01 Level 1

      Hello,

      I have question :  I want load external https url in my application

      my config.xml :

          <content src="https://domaine.net" />

          <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:*" />

          <allow-navigation href="http://*/*" />

          <allow-navigation href="https://*/*" />

          <allow-navigation href="data:*" />

          <allow-navigation href="*" />

          <allow-navigation href="*://*/*"/>

          <access origin="http://*/*" />

          <access origin="https://*/*" />

          <access origin="content:///*" />

          <access origin="cdvfile://*" />

      when I install my app in my iPhone automatically  https://domaine.net/

      I have this function

      renderer:function(_value, _metadata, _rec){

      ...

      var url ='https://othersubdomaine.net/';

      var target='_self';

      return '<span> <a href="'+url+'" target="'+target+'">'+clic here+</a></span<

      }

       

      when I clic in my link other view is opened above last view with url bar and action in bottom bar (it's problem for me, because I want still  in the same view (I mean in default webview))

       

      when I'm in second view I cant access to device (ex: camera, file, etc)

       

      any idea ?

      thanks in advance