freshplanet / ANE-Facebook

Air Native Extension (iOS and Android) for the Facebook mobile SDK
Apache License 2.0
221 stars 123 forks source link

Crush on Android on login to Facebook #175

Closed naunsk closed 9 years ago

naunsk commented 9 years ago

Hello, Currently when I use the last extension version and try to login to Facebook without the preinstalled Facebook application my application crushes because of it can't found the style.Theme_Translucent_NoTitleBar style. Could you please help how can I fix it?

colouredFunk commented 9 years ago

same issue... Anyone managed to fix it?

naunsk commented 9 years ago

Answer. You should have next lines in your manifest file:

<activity android:name="com.freshplanet.ane.AirFacebook.LoginActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity> 
<activity android:name="com.freshplanet.ane.AirFacebook.DialogActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity> 
<activity android:name="com.freshplanet.ane.AirFacebook.ExtendAccessTokenActivity"></activity> 
<activity android:name="com.freshplanet.ane.AirFacebook.WebDialogActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity> 
<activity android:name="com.facebook.LoginActivity"></activity>
vlook commented 9 years ago

That didn't do the trick for me, I'm still having the same problem.