$http request failure

Hi Team,

I made an Android app using Volt build, its perfectly working fine in Android 7 and below than Android 7 version.

But when I try the same apps on Android 8/9, we are not able to hit our login URL form the apps.
and its always going into failure.

we are using AngularJS.

Please reply in urgent - we are using Cordova 6.3.1

//here we are calling login services and get data
var httpConfigObj = {
method: ‘POST’,
url: providerUrl,
data: getDefaultUser(userInfo)
};

        $http(httpConfigObj)
            .then(function (response) {
                loginDefer.resolve(response.data);
            },
            function (response) {
                loginDefer.reject(transformHttpFailure(response));
            });
        return loginDefer.promise;
    }

Config files:

<?xml version="1.0" encoding="UTF-8"?>



Go FSIII DK
VITAE Go with support for worklist modules with support for FSIII.
CSC






















da-DK sv-SE en da-DK en-AU default

Are there any messages in the Chrome Console when you use the Android Remote Debugger?

No, I am not in debug mode, I have just put an alert and getting -1 as an out in faliure.

I am not able to hit http : login URL in Andorid 8+

if you need any details, please let me know, like config etc.

thanks
Abhishek Mishra

Please run it in debug mode so you can see the error messages.

Ok, I will try to debug and will discuss you more.

We are using cordova 6.3.1 and API Level 27

Do you suggest to upgrade somethings - is there any guidelines for volt to upgrade the tools upto certain level.

Please reply.

thanks
Abhishek Mishra

A2

Getting status -1

Please help

Are there any messages in the Console tab (next to “What’s New”)?

Yes, We was getting error and wo google it and found solution

Now its working. ( But I have one more problem) Let me check and will updated you.

If you post a problem here and find the solution, please post what it was. The next person who reads your thread will thank you.