1. Home
  2. Website, User, Delivery &...
  3. Help

Help

If you are facing issue with existing setup. there are couple of issue may be in your setup. here are comman issues

  1. Apple Reject UIWebView Issue
  2. APIs are not working
  3. Twillio messages are not sent
  4. Emails are not sent
  5. ERR_CLEARTEXT_NOT_PERMITTED error
  6. 404 URL not found error

If you have one of those issues? then please check below steps to fix this

1) Apple Reject UIWebView

In current build we have fixed this issue, but still if you are facing this issue please check steps below

    1. rm -rf platform
      rm -rf plugins
    2. add the following to the config.xml file
< feature name="CDVWKWebViewEngine">
					< param name="ios-package" value="CDVWKWebViewEngine" />
				
				< preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
				< preference name="WKWebViewOnly" value="true" />
  1. update cordova-ios to latest or to version 5.1.0, (npm install cordova-ios@5.1.0 or latest)
  2. ionic cordova plugin add cordova-plugin-ionic-webview --save
  3. ionic cordova prepare ios
  4. ionic cordova build ios

2) APIs are not working

If your APIs is not working then there will be few issues while setup or in configurations

  1. Check Database and username password in application/config/database.php
  2. APIs endpoints in mobile app must be like this
    API EndPoint Must be

    http://yourapi.abc.com/index.php/

    MediaURL Must be

    http://yourapi.abc.com/uploads/

3) Twillio messages are not sent

If messages are not being sent, there are few issue listed below

  1. Low Balance in account
  2. From Number. you have to purchase from number
  3. API keys

4) Emails are not sent

If mail is not sent from apps or from admin panel then there will be few issues in mail

  1. Create Mail in cPanel and add into APIs. if still don’t work please contact your provider
  2. Change default email address to your mails which is mentioned in Email Setup

5) ERR_CLEARTEXT_NOT_PERMITTED

If you are facing issue like this, then there must be your domain don’t have SSL certificates

The default API level in the Cordova Android platform has been upgraded. On an Android 9 device, clear text communication is now disabled by default.

In order to fix this issue you have to add your server IP Address into Mobile apps

Open Applications/resources/android/xml/network_security_config.xml and add your server IP address as shown in image below

If you still facing issue please contact us on our mail allitbd.com@gmail.com

 

5) 404 URL not found error

If you are facing this kind of issue on your live server than there is issue with routing. in order to fix this you have to upload one file called .htaccess in root of your project.

open code and you will find htaccess.txt rename this to .htacces it will hide in your system once you do it but you have to upload it in root of the project in server

 

Facebook Comments

How can we help?