01-30-2021, 07:02 AM
- your copy of IdCompilerDefines.inc and IdGlobal.pas are a little out of sync with Indy's latest code on GitHub.
I took Indy form Online Package Manager in Lazarus. It is not a proble to update last trunk.
LconvEncoding should work for all fpc versions.
I will kindly ask more people to participate and test with there applications (all *nix platforms, not only android). Yesterday I did peace of code that compares the result of conversion between Lazarus LIconvEncoding functions and iconv - in case of my application they are identical.
It is not depend from the way indy call iconv. You call in the same way in 8,9,10. But in 10 it crash. I spent two days to recompile libiconv.so with the same NDK that I am using for the application. Nothing. Again crash.
How indy crash in Android 10 and Lazarus
I took Indy form Online Package Manager in Lazarus. It is not a proble to update last trunk.
LconvEncoding should work for all fpc versions.
I will kindly ask more people to participate and test with there applications (all *nix platforms, not only android). Yesterday I did peace of code that compares the result of conversion between Lazarus LIconvEncoding functions and iconv - in case of my application they are identical.
It is not depend from the way indy call iconv. You call in the same way in 8,9,10. But in 10 it crash. I spent two days to recompile libiconv.so with the same NDK that I am using for the application. Nothing. Again crash.
How indy crash in Android 10 and Lazarus