FBSDK adopts AEMKit

Summary:
In these stacked diffs, we are going to abstract AEM logic inside FBSDKCoreKit to an independent module called FBAEMKit.

In the end state, FBSDK, MMP and S2S will rely on the same AEMKit.

In this diff:
1. add `FBSDKAEMNetworker` to adopt `FBAEMNetworking`
2. in `FBSDKAEMNetworker`, we still use `FBSDKGraphRequest` to fire a graph API request
3. replace `FBSDKAEMReporter` with `FBAEMReporter`
4. update BUCK
5. added cocoapod support

Reviewed By: joesus

Differential Revision: D29274621

fbshipit-source-id: baa4dd86df358cd56d867745fd741caab5f1c586
This commit is contained in:
Xin Wu
2021-07-20 23:08:41 -07:00
committed by Facebook GitHub Bot
parent 6af51e8a0d
commit 952ae230d6
10 changed files with 207 additions and 10 deletions

View File

@@ -42,6 +42,7 @@ Pod::Spec.new do |s|
s.subspec 'Core' do |ss|
ss.dependency 'FBSDKCoreKit_Basics', "~> #{s.version}"
ss.dependency 'FBAEMKit', "~> #{s.version}"
ss.exclude_files = 'Sources/FacebookCore/Exports.swift',
'FBSDKCoreKit/FBSDKCoreKit/include/**/*',
'FBSDKCoreKit/FBSDKCoreKit/Swift/Exports.swift'