Skip to Content
avatar image
Former Member

Attachments are not opening in Android SAP Fiori

Hi All,

I am facing some issue with https in my SAP Fiori Android application,  but In iOS its working fine.

In my application I am using couple of https requests and all are working fine before login to fiori apps. But after login to application, all https requests are blocked and getting time out exception. In this case I can open attachment also but all https are blocked. Finally I got one solution for this and I changed the value of SAPKapselHandleHttpRequests from true to false in  config.xml file.

Now facing another big issue, all other https requests are working fine also loading all fiori apps but i can't open the attachments. Logon failed while clicking to the attachments icon.

Appreciate any suggestion please...

Shafi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 07, 2016 at 12:24 AM

    Hi Shafi,

    First, you have to test in the browser on the Android device to make sure whether the issue is the same in the browser.

    For Android device, if you want to open the attachment, then you need to install the external software which can open the file first.

    Then if it is only a client issue, you need to check whether you are using the window.open(urlToAttachment) method to open the attachment.

    Best regards,

    Charlie

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Chrlie,

      Thanks for your support.

      After few hours of debugging I realized the root cause of blocking https in my application and I resolved the attachment opening issue as well. To fix the attachment opening issue I changed the value of SAPKapselHandleHttpRequests in to true.


      If the value of SAPKapselHandleHttpRequests is true, After login to the application the app will set some proxy values in the fiori client so its blocking all https requests. That's why my all https requests failed. To solve this I added some line of codes to by pass the proxy from android device and now both working fine.

      Regards,

      Shafi