Hi guys and girls,
My app is taking pictures of invoices / receipt and uploading to a server to verify for customer loyalty points.
I am having an issue with the CUrl doing the file uploading on Android 5.x
It works fine with Android 4.x
The command string passed to the CUrl object is
"-i -F uploadedfile=@" + ExternalStorageDirectory$( "Android object" ) + "/demo.jpg" + " http://somewebsite.com/receivefile.aspx?ID=xxx "
Sony Android 4.1.2 - working ok
LG Android 4.1.1 - working ok
Lenovo Android 4.4.2 - working ok
Samsung Galaxy S3 Android 4.4 - working ok
Samsung 5.x - can't upload via curl
LG Android 5.x - can't upload via curl
I see people using Cocos2D was having the same problem (not quite sure related but might prove useful)..
Not quite sure what this means but a mentioned fix was ...
"add position independent executable(aka. PIE) support on Android 5.0+ devices
add openssl utils"
for the CUrl object itself.
Please help. Thank you.