iOS Development

iphone – did not load webpage with error unsupported url IOS

Spread the love


I’ve the next downside:

Within the Moodle utility there’s a personalised display screen to entry some programs, for this a “mustache” file was added to the Moodle code with the next code:

 <ion-list >

        <%#Cursos%>

        <%#.%>

        <ion-card type="peak: 50%;">

            <img alt="Silhouette of mountains"  src="<%wwwroot%>/theme/almondb/pix/portada.jpg" />

            <ion-card-header>

              <ion-card-title><%fullname%></ion-card-title>

              <ion-card-subtitle><%shortname%></ion-card-subtitle>

            </ion-card-header>

            <ion-card-content>

                <ion-list>

                    <a href="moodlemobile://<%wwwroot%>?redirect=/course/view.php?id=<%id%>" data-open-in="app" type="text-decoration: none;">

                        <ion-item traces="inset" element="true">

                            <ion-label>

                                <%fullname%>

                            </ion-label>

                        </ion-item>

                    </a>

                </ion-list>

            </ion-card-content>

          </ion-card>

        <%/.%>

    <%/Cursos%>

    </ion-list> 

Customized URLs had been used to realize this. On Android the appliance works accurately, once you click on it takes you to the course display screen, nevertheless, on IOS it offers an error: “did not load webpage with error unsupported url”

error

I’ve tried the next options that I discovered in different boards

<meta http-equiv="Content material-Safety-Coverage" content material="default-src 'self' information: hole: *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' 'unsafe-eval' *; media-src 'self' 'unsafe-inline' 'unsafe-eval' *; img-src 'self' 'unsafe-inline' 'unsafe-eval' * information:;">

choice title="WKPort" worth="8080"
choice title="UseScheme" worth="false"
 <allow-navigation href="moodlemobile:*" />

However none of them have labored.

One thought on “iphone – did not load webpage with error unsupported url IOS

  1. you are in reality a good webmaster The website loading velocity is amazing It sort of feels that youre doing any distinctive trick Also The contents are masterwork you have done a fantastic job in this topic

Leave a Reply

Your email address will not be published. Required fields are marked *