Skip to content

Commit

Permalink
Merge pull request #204 from xamarin/dev/alex-update-9.0.1
Browse files Browse the repository at this point in the history
Update Facebook iOS SDK to 9.0.1
  • Loading branch information
Redth authored Mar 4, 2021
2 parents a10a359 + da1b2e8 commit 36402a0
Show file tree
Hide file tree
Showing 67 changed files with 376 additions and 5,309 deletions.
81 changes: 36 additions & 45 deletions Facebook.iOS/components.cake
Original file line number Diff line number Diff line change
@@ -1,52 +1,48 @@
var FACEBOOK_SDK_VERSION = "7.1.1";
var FACEBOOK_SDK_VERSION = "9.0.1";
var NUGET_VERSION = "9.0.1.5";

var ACCOUNT_KIT_VERSION = "5.4.0";
var AUDIENCE_NETWORK_VERSION = "5.10.1";
var CORE_KIT_VERSION = FACEBOOK_SDK_VERSION;
var FACEBOOK_SDKS_VERSION = FACEBOOK_SDK_VERSION;
var LOGIN_KIT_VERSION = FACEBOOK_SDK_VERSION;
var MARKETING_KIT_VERSION = "5.11.1";
var PLACES_KIT_VERSION = "5.12.0";
var SHARE_KIT_VERSION = FACEBOOK_SDK_VERSION;
var CORE_KIT_VERSION = FACEBOOK_SDK_VERSION;
var FACEBOOK_SDKS_VERSION = FACEBOOK_SDK_VERSION;
var LOGIN_KIT_VERSION = FACEBOOK_SDK_VERSION;
var SHARE_KIT_VERSION = FACEBOOK_SDK_VERSION;
var GAMINGSERVICES_KIT_VERSION = FACEBOOK_SDK_VERSION;
var AUDIENCE_NETWORK_VERSION = "6.3.0";

var CORE_KIT_NUGET_VERSION = NUGET_VERSION;
var FACEBOOK_SDKS_NUGET_VERSION = NUGET_VERSION;
var LOGIN_KIT_NUGET_VERSION = NUGET_VERSION;
var SHARE_KIT_NUGET_VERSION = NUGET_VERSION;
var GAMINGSERVICES_KIT_NUGET_VERSION = NUGET_VERSION;

// Artifacts available to be built.
Artifact ACCOUNT_KIT_ARTIFACT = new Artifact ("AccountKit", ACCOUNT_KIT_VERSION, "8.0");
Artifact AUDIENCE_NETWORK_ARTIFACT = new Artifact ("AudienceNetwork", AUDIENCE_NETWORK_VERSION, "9.0");
Artifact CORE_KIT_ARTIFACT = new Artifact ("CoreKit", CORE_KIT_VERSION, "8.0");
Artifact FACEBOOK_SDKS_ARTIFACT = new Artifact ("FacebookSdks", FACEBOOK_SDKS_VERSION, "8.0");
Artifact LOGIN_KIT_ARTIFACT = new Artifact ("LoginKit", LOGIN_KIT_VERSION, "8.0");
Artifact MARKETING_KIT_ARTIFACT = new Artifact ("MarketingKit", MARKETING_KIT_VERSION, "8.0");
Artifact PLACES_KIT_ARTIFACT = new Artifact ("PlacesKit", PLACES_KIT_VERSION, "8.0");
Artifact SHARE_KIT_ARTIFACT = new Artifact ("ShareKit", SHARE_KIT_VERSION, "8.0");
Artifact CORE_KIT_ARTIFACT = new Artifact ("CoreKit", CORE_KIT_NUGET_VERSION, "9.0");
Artifact FACEBOOK_SDKS_ARTIFACT = new Artifact ("FacebookSdks", FACEBOOK_SDKS_NUGET_VERSION, "9.0");
Artifact LOGIN_KIT_ARTIFACT = new Artifact ("LoginKit", LOGIN_KIT_NUGET_VERSION, "9.0");
Artifact SHARE_KIT_ARTIFACT = new Artifact ("ShareKit", SHARE_KIT_NUGET_VERSION, "9.0");
Artifact GAMINGSERVICES_KIT_ARTIFACT = new Artifact ("GamingServicesKit", GAMINGSERVICES_KIT_NUGET_VERSION, "9.0");
Artifact AUDIENCE_NETWORK_ARTIFACT = new Artifact ("AudienceNetwork", AUDIENCE_NETWORK_VERSION, "9.0");

var ARTIFACTS = new Dictionary<string, Artifact> {
{ "AccountKit", ACCOUNT_KIT_ARTIFACT },
{ "AudienceNetwork", AUDIENCE_NETWORK_ARTIFACT },
{ "CoreKit", CORE_KIT_ARTIFACT },
{ "FacebookSdks", FACEBOOK_SDKS_ARTIFACT },
{ "LoginKit", LOGIN_KIT_ARTIFACT },
{ "MarketingKit", MARKETING_KIT_ARTIFACT },
{ "PlacesKit", PLACES_KIT_ARTIFACT },
{ "ShareKit", SHARE_KIT_ARTIFACT },
{ "GamingServicesKit", GAMINGSERVICES_KIT_ARTIFACT },
};

void SetArtifactsDependencies ()
{
ACCOUNT_KIT_ARTIFACT.Dependencies = null;
AUDIENCE_NETWORK_ARTIFACT.Dependencies = null;
CORE_KIT_ARTIFACT.Dependencies = null;
FACEBOOK_SDKS_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT, LOGIN_KIT_ARTIFACT, SHARE_KIT_ARTIFACT };
LOGIN_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT };
MARKETING_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT };
PLACES_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT };
SHARE_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT };
AUDIENCE_NETWORK_ARTIFACT.Dependencies = null;
CORE_KIT_ARTIFACT.Dependencies = null;
FACEBOOK_SDKS_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT, LOGIN_KIT_ARTIFACT, SHARE_KIT_ARTIFACT, GAMINGSERVICES_KIT_ARTIFACT };
LOGIN_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT };
SHARE_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT };
GAMINGSERVICES_KIT_ARTIFACT.Dependencies = new [] { CORE_KIT_ARTIFACT, SHARE_KIT_ARTIFACT };
}

void SetArtifactsPodSpecs ()
{
ACCOUNT_KIT_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("AccountKit", ACCOUNT_KIT_VERSION)
};
AUDIENCE_NETWORK_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("FBAudienceNetwork", AUDIENCE_NETWORK_VERSION, frameworkSource: FrameworkSource.Custom)
};
Expand All @@ -59,15 +55,12 @@ void SetArtifactsPodSpecs ()
LOGIN_KIT_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("FBSDKLoginKit", new Repository ("https://github.com/facebook/facebook-objc-sdk.git", tag: $"v{LOGIN_KIT_VERSION}"))
};
MARKETING_KIT_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("FBSDKMarketingKit", MARKETING_KIT_VERSION, canBeBuild: false)
};
PLACES_KIT_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("FBSDKPlacesKit", new Repository ("https://github.com/facebook/facebook-objc-sdk.git", tag: $"v{PLACES_KIT_VERSION}"))
};
SHARE_KIT_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("FBSDKShareKit", new Repository ("https://github.com/facebook/facebook-objc-sdk.git", tag: $"v{SHARE_KIT_VERSION}"))
};
GAMINGSERVICES_KIT_ARTIFACT.PodSpecs = new [] {
PodSpec.Create ("FBSDKGamingServicesKit", new Repository ("https://github.com/facebook/facebook-objc-sdk.git", tag: $"v{SHARE_KIT_VERSION}"))
};
}

void SetArtifactsExtraPodfileLines ()
Expand All @@ -76,12 +69,10 @@ void SetArtifactsExtraPodfileLines ()

void SetArtifactsSamples ()
{
ACCOUNT_KIT_ARTIFACT.Samples = new [] { "FBAccountKitSample" };
AUDIENCE_NETWORK_ARTIFACT.Samples = new [] { "FBAudienceNetworkSample" };
CORE_KIT_ARTIFACT.Samples = null;
FACEBOOK_SDKS_ARTIFACT.Samples = new [] { "HelloFacebook", "FacebookiOSSample" };
LOGIN_KIT_ARTIFACT.Samples = null;
MARKETING_KIT_ARTIFACT.Samples = null;
PLACES_KIT_ARTIFACT.Samples = null;
SHARE_KIT_ARTIFACT.Samples = null;
AUDIENCE_NETWORK_ARTIFACT.Samples = new [] { "FBAudienceNetworkSample" };
CORE_KIT_ARTIFACT.Samples = null;
FACEBOOK_SDKS_ARTIFACT.Samples = new [] { "HelloFacebook", "FacebookiOSSample" };
LOGIN_KIT_ARTIFACT.Samples = null;
SHARE_KIT_ARTIFACT.Samples = null;
GAMINGSERVICES_KIT_ARTIFACT.Samples = null;
}
51 changes: 0 additions & 51 deletions Facebook.iOS/docs/AccountKit/Details.md

This file was deleted.

Loading

0 comments on commit 36402a0

Please sign in to comment.