Attachments are not opening in Android SAP Fiori
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...
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.