OnlineIdentityFacebook.h not found on Android

Hi,
when I try package Android project I receive this error:

LogPlayLevel:Display: UnrealBuildTool: Compiling Native code with NDK API 'android-19'
LogPlayLevel:Display: UnrealBuildTool: Performing 2 actions (4 in parallel)
LogPlayLevel:Display: UnrealBuildTool: [1/2] clang++.exe Module.OnlineSubsystemFacebook.cpp [armv7-es2]
LogPlayLevel:Display: UnrealBuildTool: In file included from E:/Biblioteka/Dokumenty/Unreal Projects/gameDNAstudio/TheTaleOfThreeMobile/Intermediate/Build/Android/TheTaleOfThreeMobile/Development/OnlineSubsystemFacebook/Module.OnlineSubsystemFacebook.cpp:2:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Epic Games\4.6\Engine\Source\Runtime\Online\OnlineSubsystemFacebook\Private\OnlineSubsystemFacebookModule.cpp:3:
LogPlayLevel:Display: UnrealBuildTool: D:\Epic Games\4.6\Engine\Source\Runtime\Online\OnlineSubsystemFacebook\Private\OnlineSubsystemFacebookPrivatePCH.h(14,9) :  fatal error: 'OnlineIdentityFacebook.h' file not found
LogPlayLevel:Display: UnrealBuildTool: #include "OnlineIdentityFacebook.h"
LogPlayLevel:Display: UnrealBuildTool:          ^
LogPlayLevel:Display: UnrealBuildTool: 1 error generated.

Please help me.

As far as I know there is no Facebook implementation on Android yet.

Are you adding Facebook module to your game? Something like?:

PrivateDependencyModuleNames.AddRange(new string[] { "Facebook" });

You shouldn’t do this on Android.

Oh noooo… When can I expect Facebook implementation on Android?

Well, it would be nice to know?

Anyone from Epic? Help?

I’m currently struggling with Facebook on iOS and Android and it looks like it has to be implemented by myself (can’t wait that long for next version), When I figure it out I’ll post info here.

Ok. I’m waiting.

There’s not a version of Facebook for Android yet

By the way, have you tried login into facebook on iOS? Or are you making Android only game? (I’m asking because well… there are trouble with that :stuck_out_tongue: )

Unfortunately I haven’t any device with iOS so I can’t test that…

Hi,
have you any news about your facebook plugin?

Hi, I was working on adding avatars to the Windows version and fixing the iOS version (because is not correctly implemented). I should finish with the Android version in two weeks from now. It’s taking some time, because I’m learning how this whole module system works.

Thanks for your reply. You are awesome! :smiley: The community will be very grateful for your hard work. I’m wating and wishing good luck! :slight_smile:

To run everything right I had to modify the HTTP module, because some of features can be get only via Graph API, so it might be more work to put my code to work for everybody.

Also, I’m working for a company, so I’m not sure if I’ll get a permission to share it. Technically it is the company’s code…

Oh boy, this thread is getting long xD

Hi. I just wanted to inform You that because of changes in Facebook Graph API majority of facebook functionality in UE4 is well… screwed up.

At now the priority for me is to make iOS usable so… it can be a long time since I look at Android :frowning:

zompi2, I have problem with Facebook implementation in Android… I want to add FacebookActivity but it fails… Can you help me? More is in this thread: Adding Custom Android Activity Java File - Mobile - Epic Developer Community Forums

I can resolve your problem! I’ve just released plugin with Facebook implementation for iOS & Android! :smiley:

More info:

,
gameDNA studio