Search Unity

Facebook SDK and Fyber doesn't work in Android Pie (9.0) - Http Request Error

Discussion in 'Editor & General Support' started by GiorgioAmatteis, Mar 26, 2019.

  1. GiorgioAmatteis

    GiorgioAmatteis

    Joined:
    Feb 3, 2018
    Posts:
    10
    Hello everyone!
    First of all, I apologize for my bad English!

    I am writing to solve a problem related to Android 9, in the game I use Fyber for ads mediation and Facebook SDK for events in the app.
    In previous versions to Android 9.0 everything works perfectly but with a newer phone http calls are not allowed (in the logcat file I found the error "Didn't find class "org.apache.http.HttpEntity", I think this is the problem...).

    I read that Android 9 only accepts Https, but how do I do it with these libraries?
    Has anyone found a solution to a similar problem?

    I've already added android: usesCleartextTraffic = "true" in my android manifest but it didn't work ...

    <? xml version = "1.0" encoding = "utf-8"?>
    <manifest ...>
    <uses-permission android: name = "android.permission.INTERNET" />
    <application
    ...
    Android: usesCleartextTraffic = "false"
    ...>
    ...
    </ Application>
    </ Manifest>
     
  2. GiorgioAmatteis

    GiorgioAmatteis

    Joined:
    Feb 3, 2018
    Posts:
    10
    No one has encountered this problem? :(
     
  3. GiorgioAmatteis

    GiorgioAmatteis

    Joined:
    Feb 3, 2018
    Posts:
    10