You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Updated the identity, user, friends and sharing functionality, to use the new sdk. - Added new frameworks for facebook. This should help reduce the amount of wirk in future upgrades. - Adding an IOS delegates to allow listeners to deal with specific ios event. Namely, openURL. [CL 2520701 by Terence Burns in Main branch]
51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class Facebook : ModuleRules
|
|
{
|
|
public Facebook(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
Definitions.Add("WITH_FACEBOOK=1");
|
|
Definitions.Add("UE4_FACEBOOK_VER=4");
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
// Access to Facebook core
|
|
PublicAdditionalFrameworks.Add(
|
|
new UEBuildFramework(
|
|
"FBSDKCoreKit",
|
|
"IOS/FacebookSDK/FBSDKCoreKit.embeddedframework.zip"
|
|
)
|
|
);
|
|
|
|
// Add the FBAudienceNetwork framework
|
|
PublicAdditionalFrameworks.Add(
|
|
new UEBuildFramework(
|
|
"FBAudienceNetwork",
|
|
"IOS/FacebookSDK/FBAudienceNetwork.embeddedframework.zip"
|
|
)
|
|
);
|
|
|
|
// Access to Facebook login
|
|
PublicAdditionalFrameworks.Add(
|
|
new UEBuildFramework(
|
|
"FBSDKLoginKit",
|
|
"IOS/FacebookSDK/FBSDKLoginKit.embeddedframework.zip"
|
|
)
|
|
);
|
|
|
|
|
|
// Access to Facebook sharing
|
|
PublicAdditionalFrameworks.Add(
|
|
new UEBuildFramework(
|
|
"FBSDKShareKit",
|
|
"IOS/FacebookSDK/FBSDKShareKit.embeddedframework.zip"
|
|
)
|
|
);
|
|
}
|
|
}
|
|
}
|