Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

a quick question about make Facebook work in mobiles

Discussion in 'Android' started by NhatNM, May 23, 2018.

  1. NhatNM

    NhatNM

    Joined:
    Feb 27, 2018
    Posts:
    62
    Hi!
    I'm trying make something with with Facebook features. In my editor all have working fine,

    But when I have export to APK and run in mobile for test, it's not work. When try click to login button, nothing show. Already make it have public in Facebook developers page

    Am I missed something?
     
    Last edited: May 23, 2018
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please provide the device logs which tell what is going on.
     
  3. NhatNM

    NhatNM

    Joined:
    Feb 27, 2018
    Posts:
    62
    I don't know how to get log from device, but you can watch its problem here:

    I found a way can temp fix this problem, just need add "-keep class com.facebook.** {*;}" to project\Assets\Plugins\Android\proguard-user.txt