Reply To: NXP lib not working on Android 7+ due to missing Apache HTTP client

Forum MIFARE SDK NXP lib not working on Android 7+ due to missing Apache HTTP client Reply To: NXP lib not working on Android 7+ due to missing Apache HTTP client

Re: NXP lib not working on Android 7+ due to missing Apache HTTP client

10. November 2020 at 9:27
There's no incorrect setting in the gradle file. The log clearly shows the class that uses it: "ι". I followed the link from logcat and it definitely uses Apache HTTP client in a class that extends `AsyncTask`. The following is a partial copy of the generated (obfuscated) class:

`public final void run() {
Looper.prepare();
DeviceDetails var1x = new DeviceDetails(ι.this.ॱˊ);
String var2 = ι.this.ॱˊ.getPackageName();
String var3 = var1x.getDeviceName();
String var4 = var1x.getCountryLocation(ι.this.ॱˊ);
String var5 = var1x.getDate();
String var6 = var1x.getSdkVersion();
String var7 = ι.ˏ(ι.this.ॱˊ);
String var8 = (new StringBuilder("... long soap message here ...").toString();
BasicHttpParams var9; // --> org.apache.http.params.BasicHttpParams
HttpConnectionParams.setConnectionTimeout(var9 = new BasicHttpParams(), 15000); // --> org.apache.http.params.HttpConnectionParams
HttpConnectionParams.setSoTimeout(var9, 35000);

// [...]
}`
+ 0  |  - 0