Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
5391abc
fbshipit-source-id: fafb217e6ccb2f8da19871a8acb4397e15d6d79e
Sep 22, 2020
15cb7f5
Hardening Unit Tests
joesus Sep 22, 2020
692add4
Bump Graph API v8
joesus Sep 22, 2020
cc9f671
Bump v8.0.0 (#1497)
joesus Sep 23, 2020
0cd9181
Moving video uploader into GamingServicesKit (#1494)
dloomb Sep 24, 2020
c28a7de
Consolidate [FBSDKSettings getAdvertisingTrackingStatus] and [FBSDKAp…
Sep 24, 2020
86c35cf
Respect shouldDropAppEvent() when initializing
Sep 25, 2020
0dd6f3f
Update Changelog for fixing AAM / MAM
Sep 25, 2020
36bc184
Fix the issue of ATE status
KylinChang Sep 25, 2020
1bb5d46
Remove dynamic linking of ASIdentifierManager
KylinChang Sep 27, 2020
0c788fa
Fix build issue for AdSupport (#1500)
KylinChang Sep 28, 2020
7622c7b
Unit Test for ATE in event payload
KylinChang Sep 28, 2020
f868801
More tests
KylinChang Sep 28, 2020
276f514
Update Static Libs for Release Configuration
joesus Sep 28, 2020
8ba23b3
Unit Test Hardening (#1502)
joesus Sep 28, 2020
dfc1cbb
Fix signal handler for crash reporting (#1507)
dreamolight Oct 1, 2020
7bdf701
Add Localization Resources for Swift Package Manager
joesus Oct 5, 2020
494ea9b
New method to add a single logging extra to login flow
jvlyn Oct 5, 2020
dcf60b5
Back out "Add Localization Resources for Swift Package Manager"
joesus Oct 6, 2020
ab88d0d
Fix code of conduct link in readme
joesus Oct 7, 2020
80d3a09
Xcode 12 related build fixes
joesus Oct 9, 2020
95835b8
Move sending app events action to background thread
StarStart330 Oct 9, 2020
6538b27
Move FBSDKAppLinkResolv* to its own folder
Oct 10, 2020
6771546
Unit Test Hardening (FBSDKAppLinkResolver)
Oct 10, 2020
df3d295
Revert previous changes
StarStart330 Oct 12, 2020
9d33373
Fix CircleCI job error about user interface idiom deprecation (#1520)
joesus Oct 13, 2020
4469418
Fix Carthage for Xcode 12 (#1517)
joesus Oct 14, 2020
6dedbbd
Fix Rsync Step (#1525)
joesus Oct 15, 2020
584f77c
Make Basics an actual dependency 1/n
joesus Oct 16, 2020
1a8aa34
Make Basics an actual dependency 2/n (#1526)
joesus Oct 16, 2020
e55513f
Make Basics an actual dependency 3/n (#1527)
joesus Oct 16, 2020
2f5d815
Added unit test for profile package + Make profile fetch capable of t…
Oct 16, 2020
cf1f45c
refactored profile handler's result parsing block
Oct 16, 2020
61b601e
Unified profile picture view url getter with profile sdk url getter
Oct 16, 2020
4bc6d29
Exposed the setup method of ProfilePictureView in internal handler
Oct 16, 2020
cf1c46d
Unit Test Hardening - FBSDKIntegrityTests
Oct 16, 2020
c63db3e
Remove iOS 9.0 Gates Since 9.0 is default min version (#1528)
joesus Oct 16, 2020
089a764
Daily `arc lint --take UNCRUSTIFY`
Oct 19, 2020
2f51191
Fix NS_SWIFT_NAME issues 2/n (#1535)
joesus Oct 20, 2020
3f93120
Fix NS_SWIFT_NAME issues 1/n (#1537)
joesus Oct 20, 2020
203b5ca
Update Reference Doc Generation Script
joesus Oct 20, 2020
aadd2a8
Unit Test Hardening - FBSDKEventDeactivationTests
Oct 20, 2020
d599ef0
Fix Analyzer / Compiler Warnings
joesus Oct 20, 2020
760acc9
Fixed nil returned warnings (#1539)
Oct 22, 2020
48a3d58
GraphRequestPiggybackManager Tests 1/n
joesus Oct 22, 2020
dcf76f6
Add fields parameters where obviously missing (#1545)
joesus Oct 22, 2020
9501a77
Remove TriStateBool 1/2 (#1534)
joesus Oct 22, 2020
82a8e7d
Remove UIKit version checks (#1536)
joesus Oct 23, 2020
3fe1951
Fix a multi-thread issue in the initialization. (#1285)
firewood Oct 26, 2020
263fce7
Back out "Make Basics an actual dependency 3/n"
joesus Oct 26, 2020
fd86ddc
Back out "Make Basics an actual dependency 2/n"
joesus Oct 26, 2020
04dabfc
Back out "Make Basics an actual dependency 1/n"
joesus Oct 26, 2020
1c11a60
Add FB and IG logos to login button
robtimp Oct 26, 2020
5ae6f41
Fix CoreKit_Basics imports
robtimp Oct 26, 2020
9975424
Back out "Fix CoreKit_Basics imports"
joesus Oct 27, 2020
aa4a454
Bump Version 8.1.0
joesus Oct 27, 2020
97118bc
Permissions Parsing
joesus Oct 27, 2020
034ea8a
GraphRequestPiggybackManager Tests 2/n
joesus Oct 27, 2020
140d673
GraphRequestPiggybackManager Tests 3/n
joesus Oct 27, 2020
adec121
GraphRequestPiggybackManager Tests 4/n
joesus Oct 27, 2020
7e98b18
GraphRequestPiggybackManagerTests 5/n
joesus Oct 27, 2020
a1b7ddb
Bump min os version for aggregate pod (#1553)
joesus Oct 28, 2020
f5fdb30
Fix some minor clang typos and errors
joesus Oct 30, 2020
d65983b
Cleanup profile tests
joesus Oct 30, 2020
a12182d
Unit test network call cleanup
joesus Nov 2, 2020
98c0e37
Fix FBSDKCoreKit_Basics.zip (#1558)
dreamolight Nov 4, 2020
3465d2e
remove implementation of signal handler
tianqibt Nov 4, 2020
7052450
Fix swiftlint warnings in the facebook-ios-sdk (#1559)
jawwad Nov 5, 2020
56261b5
Adding UshbaKit Project
joesus Nov 5, 2020
970c061
Fix compiler warnings for UshbaKit build
joesus Nov 5, 2020
1053abf
Expose a few functions in FBSDKUserDataStore as public (#1557)
dreamolight Nov 5, 2020
c28e3c5
Remove invalid reference to FBSDKGamingServicesKit copy-Info.plist in…
jawwad Nov 5, 2020
508983d
Remove the line from .gitattributes that treats pbxproj files as bina…
jawwad Nov 5, 2020
13eed52
Adding Unit test target to Ushba Workspace
joesus Nov 6, 2020
b3e8c0a
Remove the "Recovered References" group from the FBSDKCoreKit project…
jawwad Nov 6, 2020
661e513
Unit test hardening - FBSDKCrashShield
joesus Nov 6, 2020
7acbcfc
Reduce the number of iterations in the tests that use random data fro…
jawwad Nov 6, 2020
1fe0b9f
Convert SampleUserProfile.m/h to Swift
jawwad Nov 6, 2020
89943d7
Update 2 Xcode project groups to folder references
jawwad Nov 6, 2020
a840db5
Add FBSDKGamingServicesKitTests to the BuildAllKits scheme
jawwad Nov 6, 2020
a284425
add type check and nullable annotation
tianqibt Nov 6, 2020
b596305
Clean up unused API (#1460)
TatyanaLeschenok Nov 6, 2020
e40b1d8
Convert FBSDKMonitoringConfigurationTestHelper.m to Swift
jawwad Nov 7, 2020
4cc89af
Unit test hardening - FBSDKInternalUtility 1/n
joesus Nov 9, 2020
764e626
Commit Xcode's auto update fix of BuildAllKits.xcscheme
jawwad Nov 9, 2020
be32537
Convert FBSDKCoreKitTests/FBSDKAppLinkUtilityTests.m to Swift
jawwad Nov 9, 2020
34f895c
Convert the SampleAppEvents test helper to Swift
jawwad Nov 10, 2020
f3685be
Fix warnings: "nil returned from a method that is expected to return …
jawwad Nov 10, 2020
8d9f9e4
Unit test hardening - FBSDKInternalUtility 2/n
joesus Nov 10, 2020
df8c6ad
Unit test hardening - FBSDKInternalUtility 3/n
joesus Nov 10, 2020
cf5e425
Convert the FakeAccessTokenCache test helper to Swift (#1572)
jawwad Nov 10, 2020
18acb8e
Convert the SampleAccessToken test helper to Swift (#1573)
jawwad Nov 10, 2020
5a5222a
Bump Version: 8.2.0
tianqibt Nov 11, 2020
28a2aa2
Convert FBSDKEventDeactivationTests.m to Swift
jawwad Nov 11, 2020
cec98f4
FBSDKBridgeAPI Unit Tests 1/n
joesus Nov 12, 2020
e2d9dd2
FBSDKBridgeAPI Unit Tests 2/n
joesus Nov 12, 2020
9d48c33
Add method to overwrite default content type for POST requests
jvlyn Nov 12, 2020
58a9f53
Add separate method for appending body to NSURLRequest
jvlyn Nov 12, 2020
81299b2
Convert FBSDKUtilityTests.m to Swift
jawwad Nov 12, 2020
7720121
Convert the NotificationCenterSpy test helper to Swift
jawwad Nov 12, 2020
76e5276
Convert the KeychainStoreSpy test helper to Swift
jawwad Nov 12, 2020
eac8fcb
Convert FBSDKBase64Tests.m to Swift
jawwad Nov 12, 2020
b518422
Enable code coverage in Xcode for the BuildAllKits scheme
jawwad Nov 13, 2020
749d929
Parse & decode ID Token from login Response
ppansy Nov 13, 2020
ad5ed20
Daily `arc lint --take UNCRUSTIFY`
Nov 13, 2020
d8d4d88
Fix Xcode warning/error: Declaration shadows a local variable
jawwad Nov 13, 2020
478105b
Proof of concept for having a Swift extension on an existing Objectiv…
jawwad Nov 13, 2020
15cd0f4
Convert the FakeMonitorStore test helper to Swift
jawwad Nov 13, 2020
df44063
Convert the AppDelegateObserverFake.m test helper to Swift
jawwad Nov 13, 2020
2b4163c
Convert FBSDKServerConfigurationManagerTests to Swift
jawwad Nov 14, 2020
03144c3
FBSDKBridgeAPI Unit Tests 3/n
joesus Nov 14, 2020
3c50d58
Convert FBSDKSKAdNetworkEventTests.m to Swift
jawwad Nov 16, 2020
af1fbad
Convert FBSDKAppEventsConfigurationTests.m to Swift
jawwad Nov 16, 2020
2e3fd74
Unit test hardening - FBSDKProfileTests
mikekatz Nov 17, 2020
154aad7
FBSDKBridgeAPI Unit Tests 4/n
joesus Nov 17, 2020
a2e81e4
FBSDKBridgeAPI Unit Tests 5/n
joesus Nov 17, 2020
a349dd1
Disable flaky test
joesus Nov 17, 2020
dda54a3
Fix a few swiftlint warnings particularly the one about modifier_order
jawwad Nov 17, 2020
2d5d9e5
FBSDKBridgeAPI Unit Tests 6/n
joesus Nov 17, 2020
3ff7a29
Convert FBSDKAppEventsConfigurationManagerTests.m to Swift
jawwad Nov 17, 2020
a544fdf
Convert FBSDKSampleEventBinding.m test helper to Swift
jawwad Nov 18, 2020
f439cbe
Update the Carthage version of OCMock to match the internal version
jawwad Nov 18, 2020
7b5261b
Fix Package Manager for Catalyst (#1579)
joesus Nov 19, 2020
78571af
FBSDKBridgeAPI Unit Tests 7/n
joesus Nov 19, 2020
908f45e
FBSDKBridgeAPI Unit Tests 8/n
joesus Nov 19, 2020
23da2e2
FBSDKBridgeAPI Unit Tests 9/n
joesus Nov 19, 2020
5303184
FBSDKRestrictiveData Unit Tests
joesus Nov 19, 2020
f2d3e65
Adding FBSDKInstrumentManagerTests
joesus Nov 19, 2020
aea685e
Degender Silhouettes and improve `FBSDKIcon` API
joesus Nov 19, 2020
559ef41
Adding Close Icon Tests
joesus Nov 19, 2020
72eb632
Convert FBSDKSKAdNetworkRuleTests.m to Swift
jawwad Nov 21, 2020
6115ba2
Fix Xcode override warnings for methods re-defined in a category
jawwad Nov 21, 2020
54be514
Removing link field from profile fetching when permission not granted
joesus Nov 21, 2020
9e36081
Adding Configurable Login Methods
joesus Dec 1, 2020
ca3d7b5
Updating LoginButton to use configurable login
joesus Dec 1, 2020
e5e7067
ID Token signature verification
joesus Dec 1, 2020
711222f
ID Token claims verification
joesus Dec 1, 2020
583cb7b
ID Token header decode & verification
joesus Dec 1, 2020
b1096ff
Expose sessionCompletionHandler via internal method
jvlyn Dec 1, 2020
4346f61
Fixing static cocoapods for login kit changes
joesus Dec 2, 2020
63d2e8f
Constructs AuthenticationToken from ID token response
joesus Dec 2, 2020
6a6542b
Add optional email and image field to FBSDKProfile
joesus Dec 2, 2020
2d478aa
Daily `arc lint --take UNCRUSTIFY`
Dec 2, 2020
2ca1f29
Persisting AuthenticationToken
ppansy Dec 2, 2020
4054b83
update login request to support OIDC & configurable login
ppansy Dec 2, 2020
e92ce6d
Fix Login button for configurable login
ppansy Dec 2, 2020
7186a37
Construct profile from ID token
ppansy Dec 2, 2020
4db65da
Tweak Swift Interface
joesus Dec 3, 2020
14c098c
Updating Readme for data disclosure discoverability
joesus Dec 3, 2020
ad23c68
Fix first party app login
joesus Dec 4, 2020
5ce58cc
Clean up FBSDKLoginManagerTests
ppansy Dec 5, 2020
b25df16
Fix Login Manager Check for Cancellation
joesus Dec 7, 2020
5318221
Adding notifications for AuthenticationToken changes
joesus Dec 7, 2020
e809087
Add Authentication Token factory object
ppansy Dec 7, 2020
4499e95
Clear the stored expected nonce when creating AuthenticationToken
ppansy Dec 8, 2020
93df9c6
Fix SPM header import
joesus Dec 8, 2020
ec57dc0
Add back support for OIDC
joesus Dec 8, 2020
9e681c4
Login button Updates
joesus Dec 8, 2020
c53961b
Update Reauthorization
joesus Dec 8, 2020
c582293
ID Token exclusive response
joesus Dec 8, 2020
0a4401e
Removing AuthenticationToken Notifications
joesus Dec 8, 2020
bf0c9ea
Check for nil configuration in login manager
ppansy Dec 9, 2020
cb75888
Adding JTI to AuthenticationToken
joesus Dec 10, 2020
59b72a2
Update ProfilePictureView
ppansy Dec 10, 2020
fbcbac8
Add beta login parameter
ppansy Dec 10, 2020
f310329
Token Management 2/n
joesus Dec 11, 2020
1251cf3
Token Management 3/n
joesus Dec 11, 2020
4619bff
Remove unreachable code
joesus Dec 11, 2020
973f9e5
Unit Test Hardening - FBSDKAppEventsTests.m
Dec 11, 2020
82ee6e4
Pull logout endpoint upon app launch
ppansy Dec 11, 2020
e640241
Back out "Add beta login parameter"
ppansy Dec 11, 2020
f1dad7c
Add authentication token to login manager result
ppansy Dec 11, 2020
89560f6
Fix test errors
robtimp Dec 12, 2020
8de8dbd
Update beta login parameter value
ppansy Dec 12, 2020
6ca66cb
Do not hide claims behind debug macro
joesus Dec 14, 2020
0b88ca4
Fixing Auth Token internal header
joesus Dec 14, 2020
98c9c58
Add post-login heartbeat event to FB Login
ppansy Dec 14, 2020
96fe45e
Fetch certificate from endpoint
robtimp Dec 14, 2020
0725aeb
Handle logout failed error code for logout endpoint
ppansy Dec 14, 2020
92ff94a
Add profile info for manual testers
joesus Dec 15, 2020
876713f
Add FBSDKAuthenticationClaims object
robtimp Dec 15, 2020
3989e39
Fix intermittent crash
joesus Dec 16, 2020
d05f734
Get Swift LoginKitTests Running on BUCK
joesus Dec 16, 2020
92c9fd2
ad fuzzy test for core kit
ppansy Dec 16, 2020
07bc246
Add test for FBSDKLoginCompletion
ppansy Dec 16, 2020
dfd2977
Stop Initializing in +load method
joesus Dec 16, 2020
3492687
Revert D25552558: Add test for FBSDKLoginCompletion
Dec 17, 2020
c03a825
Provide configuration to error recovery
joesus Dec 17, 2020
2f6c128
Fix the build
joesus Dec 17, 2020
69eb6f3
Add test for FBSDKLoginCompletion
ppansy Dec 17, 2020
0821b77
disable AdTrackingKit linter for IDFA and AdTracking Usage
StarStart330 Dec 17, 2020
5fb0730
Documentation Improvements
joesus Dec 17, 2020
702144f
Rename BetaLoginExperience
joesus Dec 17, 2020
285c81b
Add no-nonce check
robtimp Dec 18, 2020
d7be85c
Reset State when Missing Login Configuration
joesus Dec 18, 2020
a5f4ae1
Add FBSDKAuthenticationTokenHeader object
robtimp Dec 18, 2020
df8ff48
Add FBSDKLoginCompletion fuzzy test
ppansy Dec 18, 2020
c4d2b1f
fix nil login configuration
ppansy Dec 18, 2020
1ccdc90
Update header import for CocoaPods
joesus Dec 18, 2020
4a4e051
rename tp perference value
ppansy Dec 18, 2020
ef9cbe6
Remove deprecated device sharing methods
joesus Dec 18, 2020
4043c34
Change logout endpoint parameters
ppansy Dec 18, 2020
d969151
Use switches for enums
joesus Dec 19, 2020
6feeafc
add prefix to private methods and pragma mark in FBSDKCrashShield
tianqibt Dec 21, 2020
e3a8f4d
add prefix to private methods in FBSDKCrashHandler
tianqibt Dec 21, 2020
8e3d030
add pragma mark to FBSDKCrashHandler
tianqibt Dec 21, 2020
9e9e853
fix ProfilePictureView bug
ppansy Dec 21, 2020
c086b72
Remove unused methods
ppansy Dec 21, 2020
f6ad1cf
Adding unit tests for LoginCompleter
joesus Dec 22, 2020
d0374d9
Fix authentication token expiration check
ppansy Dec 22, 2020
8ac6047
Add type verification for authentication token
ppansy Dec 22, 2020
38cb828
add private methods pragma mark to FBSDKRestrictiveDataFilterManager
tianqibt Dec 22, 2020
45538d2
private method pragma mark for FBSDKEventDeactivationManager
tianqibt Dec 22, 2020
e24ac63
add prefix to private methods in FBSDKLibAnalyzer
tianqibt Dec 22, 2020
c1b3612
group public/private methods in FBSDKLibAnalyzer
tianqibt Dec 22, 2020
8ff7d8c
General Maintenance
joesus Dec 22, 2020
b4efcef
Remove unused domain const
ppansy Dec 22, 2020
e32c08e
Add test for LoginCompletion.completeLoginWithHandler
ppansy Dec 22, 2020
b5f34a1
Audit Access Token Usages
joesus Dec 23, 2020
d03348b
Harden Unit Tests for Signature Verification
joesus Dec 23, 2020
86f587d
Improve error message for no-nonce check
ppansy Dec 23, 2020
93c3a99
Improve error message for reauthrozieDataAccess
ppansy Dec 23, 2020
d5a6c7f
Add gaming basic permissions
ppansy Dec 23, 2020
b37b275
Fix cancellation bug
joesus Dec 28, 2020
b96607c
add prefix to private methods in FBSDKErrorReport
tianqibt Dec 29, 2020
b8129b9
group private methods in FBSDKErrorReport
tianqibt Dec 29, 2020
c22af59
Add strongly typed permissions
ppansy Dec 30, 2020
0f02fe7
Resolve conflict
rwpramono-mamiteam Jan 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ commands:
steps:
- attach_workspace:
at: .
- run: carthage build --no-skip-current
- run: CARTHAGE_BIN_PATH=$( which carthage ) sh scripts/carthage.sh build --no-skip-current

build_for_release:
description: Builds libraries for release
Expand Down Expand Up @@ -82,7 +82,7 @@ commands:
- attach_workspace:
at: .
- run: |
xcodebuild build \
xcodebuild clean build \
-workspace FacebookSDK.xcworkspace \
-scheme << parameters.scheme >> \
-configuration << parameters.configuration >>
Expand Down
4 changes: 4 additions & 0 deletions .fast_checks
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
InheritParentConfig: true
Checks: '
-idfa-usage
'
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.strings diff=localizablestrings
*.pbxproj binary merge=union
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ labels: bug
- [ ] I've updated to the latest released version of the SDK
- [ ] I've searched for existing [GitHub issues](https://github.com/facebook/facebook-ios-sdk/issues)
- [ ] I've looked for existing answers on [Stack Overflow](https://facebook.stackoverflow.com), the [Facebook Developer Community Forum](https://developers.facebook.com/community/) and the [Facebook Developers Group](https://www.facebook.com/groups/fbdevelopers)
- [ ] I've read the [Code of Conduct](CODE_OF_CONDUCT.md)
- [ ] I've read the [Code of Conduct](https://github.com/facebook/facebook-ios-sdk/blob/master/CODE_OF_CONDUCT.md)
- [ ] This issue is not security related and can safely be disclosed publicly on GitHub

## Environment
Expand Down
8 changes: 7 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ nesting:
type_level: 2
private_outlet:
allow_private_set: true
type_name:
excluded: [RawAppEventsConfigurationResponseFixtures]

# Xcode fixits insert these as "public override" vs "override public" so overriding Swiftlint's defaullt of "override, acl, ..." to "acl, override, ..."
modifier_order:
preferred_modifier_order: [acl, override, setterACL, dynamic, mutators, lazy, final, required, convenience, typeMethods, owned]

disabled_rules:
- attributes
Expand All @@ -55,6 +61,7 @@ disabled_rules:
- discouraged_optional_collection
- function_default_parameter_at_end
- todo
- trailing_comma

opt_in_rules:
- array_init
Expand Down Expand Up @@ -153,7 +160,6 @@ opt_in_rules:
- switch_case_alignment
- syntactic_sugar
- trailing_closure
- trailing_comma
- trailing_newline
- trailing_semicolon
- trailing_whitespace
Expand Down
62 changes: 61 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,67 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Important

[Full Changelog](https://github.com/facebook/facebook-ios-sdk/compare/v7.1.1...HEAD)
[Full Changelog](https://github.com/facebook/facebook-ios-sdk/compare/v8.2.0...HEAD)

## 8.2.0

### Changed
- Remove SignalHandler to avoid hiding root cause of crashes caused by fatal signals.
- Expose functions in `FBSDKUserDataStore` as public for apps using [Audience Network SDK](https://developers.facebook.com/docs/audience-network) only to use advanced matching.

[2020-11-10](https://github.com/facebook/facebook-ios-sdk/releases/tag/v8.2.0) |
[Full Changelog](https://github.com/facebook/facebook-ios-sdk/compare/v8.1.0...v8.2.0)

## 8.1.0

### Added
- Introduced `AppLinkResolverRequestBuilder` for use in cleaning up and adding tests around `AppLinkResolver`

### Changed
- Removed version checks for iOS 9 since it’s the default version now.
- Refactored `AppLinkResolver` to use a request builder
- Refactored and added tests around `FBSDKProfile` and `FBSDKProfilePictureView`
- Updated `FBSDKSettings` to use `ADIdentifierManager` for tracking status
- Removes usages of deprecated `UI_USER_INTERFACE_IDIOM()`

### Fixed
- Issues with Swift names causing warnings - #1522
- Fixes bugs related to crash handling - #1444
- Fixes Carthage distribution to include the correct binary slices when building on Xcode12 - #1484
- Fixes duplicate symbol for `FBSDKVideoUploader` bug #1512
- GET requests now default to having a 'fields' parameter to avoid warnings about missing fields #1403
- Fixes Multithreading issue related to crash reporting - #1550

[2020-10-23](https://github.com/facebook/facebook-ios-sdk/releases/tag/v8.1.0) |
[Full Changelog](https://github.com/facebook/facebook-ios-sdk/compare/v8.0.0...v8.1.0)

## 8.0.0

## Added
- Added timestamp for install event in iOS 14
- Added method `setAdvertiserTrackingEnabled` to overwrite the `advertiser_tracking_enabled` flag
- Added `SKAdNetwork` support for installs
- Added `SKAdNetwork` support for conversion value in iOS 14
- Added `FBSDKReferralManager` for integrating with the web referral dialog
- Added method `loginWithURL` to `FBSDKLoginManager` for supporting deep link authentication
- Added E2E tests for all in-market versions of the SDK that run on server changes to avoid regressions

## Changed
- Event handling in iOS 14: will drop events if `setAdvertiserTrackingEnabled` is called with `false` in iOS 14
- `FBSDKProfile - imageURLForPictureMode:size:` - User profile images will only be available when an access or client token is available

## Deprecated
- `FBSDKSettings - isAutoInitEnabled` - Auto-initialization flag. Will be removed in the next major release. Future versions of the SDK will not utilize the `+ load` method to automatically initialize the SDK.

## Fixed / Patched
- #1444 - Update crash handling to use sigaction in signal handler and respect SIG_IGN
- #1447 - Login form automatically closing when SDK is not initialized on startup
- #1478 - Minimum iOS deployment target is now 9.0
- #1485 - StoreKit is now added as a weak framework for CocoaPods
- Bug fix for Advanced Matching, which was not working on iOS 14

[2020-09-22](https://github.com/facebook/facebook-ios-sdk/releases/tag/v8.0.0) |
[Full Changelog](https://github.com/facebook/facebook-ios-sdk/compare/v7.1.1...v8.0.0)

## 7.1.1

Expand Down
2 changes: 1 addition & 1 deletion Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "AliSoftware/OHHTTPStubs" "543182991a0d59db81f5b835a40901a9a386847d"
github "erikdoe/ocmock" "630598a81c8d51ae98434a388d17fe67de37b21a"
github "erikdoe/ocmock" "58bb623eb3852ab72b4c993bfd53040f051a405c"
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "AliSoftware/OHHTTPStubs" "543182991a0d59db81f5b835a40901a9a386847d"
github "erikdoe/ocmock" "630598a81c8d51ae98434a388d17fe67de37b21a"
github "erikdoe/ocmock" "58bb623eb3852ab72b4c993bfd53040f051a405c"
2 changes: 1 addition & 1 deletion Configurations/FacebookSDK-DynamicFramework.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

// Deployment
IPHONEOS_DEPLOYMENT_TARGET = 8.0
IPHONEOS_DEPLOYMENT_TARGET = 9.0

// Cocoa Touch Framework
MACH_O_TYPE = mh_dylib
Expand Down
2 changes: 1 addition & 1 deletion Configurations/FacebookSDK-LogicTests.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ WRAPPER_EXTENSION = xctest
OTHER_LDFLAGS = -all_load -lc++
ENABLE_BITCODE = YES

IPHONEOS_DEPLOYMENT_TARGET = 8.0
IPHONEOS_DEPLOYMENT_TARGET = 9.0
2 changes: 1 addition & 1 deletion Configurations/FacebookSDK-Project.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// Architectures
ARCHS = i386 armv7 x86_64 arm64
IPHONEOS_DEPLOYMENT_TARGET = 8.0
IPHONEOS_DEPLOYMENT_TARGET = 9.0
SDKROOT = iphoneos

// Build Options
Expand Down
2 changes: 1 addition & 1 deletion Configurations/Platform/iOS.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SDKROOT = iphoneos
IPHONEOS_DEPLOYMENT_TARGET = 8.0
IPHONEOS_DEPLOYMENT_TARGET = 9.0

// Supported device families (1 is iPhone, 2 is iPad, 3 is Apple TV)
TARGETED_DEVICE_FAMILY = 1,2
Expand Down
2 changes: 1 addition & 1 deletion Configurations/Version.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

// The versions for FBSDK and Messenger SDK.
FBSDK_PROJECT_VERSION=7.1.1
FBSDK_PROJECT_VERSION=8.2.0
MNSDK_PROJECT_VERSION=TODO_SUPPORT_MNSDK

21 changes: 8 additions & 13 deletions FBSDKCoreKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Pod::Spec.new do |s|

s.name = 'FBSDKCoreKit'
s.version = '7.1.1'
s.version = '8.2.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform core features'

s.description = <<-DESC
Expand All @@ -18,22 +18,22 @@ Pod::Spec.new do |s|
s.author = 'Facebook'

s.platform = :ios, :tvos
s.ios.deployment_target = '8.0'
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '10.0'

s.source = {
git: 'https://github.com/facebook/facebook-ios-sdk.git',
tag: "v#{s.version}"
}

s.ios.weak_frameworks = 'Accelerate', 'Accounts', 'Social', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.ios.weak_frameworks = 'Accelerate', 'Accounts', 'AdSupport', 'Social', 'Security', 'StoreKit', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.tvos.weak_frameworks = 'CoreLocation', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'

# This excludes `FBSDKCoreKit/FBSDKCoreKit/Internal_NoARC/` folder, as that folder includes only `no-arc` files.
s.requires_arc = ['FBSDKCoreKit/FBSDKCoreKit/*',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/**/*',
'FBSDKCoreKit/FBSDKCoreKit/AppLink/**/*',
'FBSDKCoreKit/FBSDKCoreKit/Basics/**/*',
'Sources/FBSDKCoreKit_Basics/**/*',
'FBSDKCoreKit/FBSDKCoreKit/GraphAPI/*',
'FBSDKCoreKit/FBSDKCoreKit/Internal/**/*']

Expand All @@ -47,20 +47,14 @@ Pod::Spec.new do |s|
s.library = 'c++', 'stdc++'

s.subspec 'Basics' do |ss|
ss.source_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/*.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Basics/**/*.{h,m}'
ss.public_header_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/Internal/**/*.h',
'FBSDKCoreKit/FBSDKCoreKit/Basics/Instrument/**/*.h',
'FBSDKCoreKit/FBSDKCoreKit/Basics/*.h'
ss.private_header_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/Internal/**/*.h',
'FBSDKCoreKit/FBSDKCoreKit/Basics/Instrument/**/*.h'
ss.source_files = 'Sources/FBSDKCoreKit_Basics/**/*.{h,m}'
ss.private_header_files = 'Sources/FBSDKCoreKit_Basics/**/*+Internal.h'
ss.library = 'z'
end

s.subspec 'Core' do |ss|
ss.dependency 'FBSDKCoreKit/Basics'
ss.exclude_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/*',
'FBSDKCoreKit/FBSDKCoreKit/Basics/**/*.{h,m}',
ss.exclude_files = 'Sources/FBSDKCoreKit_Basics/**/*',
'FBSDKCoreKit/FBSDKCoreKit/include/**/*',
'FBSDKCoreKit/FBSDKCoreKit/Swift/Exports.swift'
ss.source_files = 'FBSDKCoreKit/FBSDKCoreKit/**/*.{h,hpp,m,mm,swift}'
Expand All @@ -69,6 +63,7 @@ Pod::Spec.new do |s|
'FBSDKCoreKit/FBSDKCoreKit/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppLink/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppLink/Resolver/*.h',
'FBSDKCoreKit/FBSDKCoreKit/GraphAPI/*.h'
ss.private_header_files = 'FBSDKCoreKit/FBSDKCoreKit/Internal/**/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/**/*.h'
Expand Down
2 changes: 1 addition & 1 deletion FBSDKCoreKit/Configurations/FBSDKCoreKit-Dynamic.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ CURRENT_PROJECT_VERSION = $(FBSDK_PROJECT_VERSION)
INFOPLIST_FILE = $(SRCROOT)/FBSDKCoreKit/Info.plist
MODULEMAP_FILE = $(SRCROOT)/FBSDKCoreKit/FBSDKCoreKit.modulemap

IPHONEOS_DEPLOYMENT_TARGET = 8.0
IPHONEOS_DEPLOYMENT_TARGET = 9.0
4 changes: 3 additions & 1 deletion FBSDKCoreKit/Configurations/FBSDKCoreKitTests.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ PRODUCT_BUNDLE_IDENTIFIER = com.facebook.sdk.FBSDKCoreKitTests

INFOPLIST_FILE = $(SRCROOT)/FBSDKCoreKitTests/Info.plist

IPHONEOS_DEPLOYMENT_TARGET = 8.0
IPHONEOS_DEPLOYMENT_TARGET = 9.0

HEADER_SEARCH_PATHS = $(inherited) $(BUILT_PRODUCTS_DIR)
LIBRARY_SEARCH_PATHS = $(inherited) $(BUILT_PRODUCTS_DIR)

SWIFT_OBJC_BRIDGING_HEADER = FBSDKCoreKitTests/FBSDKCoreKitTests-Bridging-Header.h
Loading