Commit Graph

153 Commits

Author SHA1 Message Date
Joe Susnick
39e2d5e79d Rollback Proposed v10 Bump
Summary: It makes sense to wait until we have more pressing breaking changes to release a major version.

Reviewed By: KylinChang

Differential Revision: D26796073

fbshipit-source-id: f01d622bb7f8451a67309d8c3f62284ceda9a678
2021-03-03 21:49:00 -08:00
Joe Susnick
be7c303b7c Bump Version v10.0.0
Summary: Updating major version to match Graph API release.

Reviewed By: linmx0130

Differential Revision: D26711406

fbshipit-source-id: 2ba166ff86b0d97aececa630e6ee4585ff520aae
2021-03-02 18:13:52 -08:00
Joe Susnick
054620417d Bump Version 9.1.0
Summary: $title

Reviewed By: jingping2015

Differential Revision: D26674136

fbshipit-source-id: fad0fddb08af475a8ee6f3ae58daafc915edaa5d
2021-02-27 08:14:33 -08:00
Joe Susnick
c9da77b1e5 Saner header paths for CoreKit podspec
Summary: Minor cleanup - Removes some paths in `public_header_files` that were being clobbered anyway by `private_header_files`.

Reviewed By: Oliverccccct

Differential Revision: D26429454

fbshipit-source-id: 6d84edc48b74e9bf35e366b0c659b155b12007b6
2021-02-17 13:25:43 -08:00
Mengxiao Lin
967379a8da Compile FBSDKDynamicFrameworkLoader.m with ARC (#1650)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1650

Following https://github.com/facebook/facebook-ios-sdk/issues/1645

Move `FBSDKDynamicFrameworkLoader.m` to `Internal` so that it will be compiled with ARC.

Reviewed By: joesus

Differential Revision: D26387787

fbshipit-source-id: ed88d077ed7affcb27710a74ac06f1d2d25eb54e
2021-02-11 14:05:22 -08:00
Zilin Zhang
ed2bb1319a Bump version 9.0.1
Summary: As title

Reviewed By: joesus

Differential Revision: D26215176

fbshipit-source-id: 19c0291c6cdb2fa678d90d852be8015501284b63
2021-02-05 16:46:33 -08:00
Joe Susnick
c4ff459a94 Version 9.0
Summary: $title

Reviewed By: jingping2015

Differential Revision: D25786200

fbshipit-source-id: 285f0ed5c7a6b398bcbe541feaae250243369b29
2021-01-08 11:32:30 -08:00
Tianqi Li
5a5222ab0b Bump Version: 8.2.0
Summary: As title

Reviewed By: joesus

Differential Revision: D24867556

fbshipit-source-id: 98f47c4cb87149295539b69acae5b6116d044c41
2020-11-11 14:40:21 -08:00
Stan Wu
1053abf5b3 Expose a few functions in FBSDKUserDataStore as public (#1557)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1557

As title

Reviewed By: Oliverccccct, tianqibt, KylinChang

Differential Revision: D24723890

fbshipit-source-id: dff26144a4b7c0515423e58b42c69d2a82543f53
2020-11-04 23:44:22 -08:00
Joe Susnick
aa4a454658 Bump Version 8.1.0
Summary:
ran:
`sh scripts/run.sh bump-version 8.1.0`
Manually updated CHANGELOG.md.

Reviewed By: YOUDAN, KylinChang

Differential Revision: D24506932

fbshipit-source-id: 9ed6d6b58a35d8dee299462847628c6400325b45
2020-10-26 18:09:30 -07:00
Alberto Gragera Cerrajero
6771546b8e Unit Test Hardening (FBSDKAppLinkResolver)
Summary:
The main goal of this diff is to remove OHHTPStubs from the FBSDKAppLinkResolver test code.

The easiest way to do that has been to extract the request building part from FBSDKAppLinkResolver to it own class.

These allows us to:

- Assert correctness over some parts of the request independently
- Inject a builder mock in FBSDKAppLinkResolver so we can control the FBSDKGraphRequest and inject the response we want, without having to mock the http layer at all.

Reviewed By: joesus

Differential Revision: D24077192

fbshipit-source-id: 54141fe1a0533bc97503e7a241387c0d0c4da5e3
2020-10-10 00:43:50 -07:00
Zilin Zhang
1bb5d46e77 Remove dynamic linking of ASIdentifierManager
Summary: As title

Reviewed By: Oliverccccct, dreamolight

Differential Revision: D23947476

fbshipit-source-id: 383c574b2966e0870bb1aba2a7b52d12cf9ad50b
2020-09-27 12:39:31 -07:00
Joe Susnick
cc9f67162c Bump v8.0.0 (#1497)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1497

$title

Reviewed By: robtimp

Differential Revision: D23857192

fbshipit-source-id: b15055daee5a981abc88a55af7abf838f22fbe50
2020-09-23 15:43:34 -07:00
joesusnick
5391abc104 fbshipit-source-id: fafb217e6ccb2f8da19871a8acb4397e15d6d79e 2020-09-22 10:00:24 -07:00
Zilin Zhang
a94fbd4ce0 Bump version 7.1.1
Summary: As title

Reviewed By: joesus

Differential Revision: D22242732

fbshipit-source-id: 4b800f4dbd835d1f8f490442b6199a2a2ce45945
2020-06-25 15:23:32 -07:00
Joe Susnick
d503e88ce7 Make pods modular (#1412)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1412

Cocoapods that combine Swift and ObjC need to enable modules to be statically loaded.

So in the Podfile if you need to include `use_modular_headers!` if you do NOT include `use_frameworks!`.

This is a pain for users who don't care about how we handle modular headers in our SDK so we should make it easy for them to be able to load our libraries statically and still import them as modules.

More info:
http://blog.cocoapods.org/CocoaPods-1.5.0/
https://stackoverflow.com/questions/52910973/how-to-remove-use-frameworks-and-keep-using-swift-pods-on-an-objective-c-projec

Also updates ruby syntax to be more readable.

Reviewed By: KylinChang

Differential Revision: D22048806

fbshipit-source-id: f09699f78b90e75792fdbd0267c3391b1d528f8a
2020-06-22 11:53:27 -07:00
Zilin Zhang
39c44e7b90 Bump version v7.1.0
Summary: As title

Reviewed By: ninanina0815

Differential Revision: D22149024

fbshipit-source-id: 0c8c3adb1dae22828df0d14bb9bb2c95c5256b0b
2020-06-22 07:43:43 -07:00
Joe Susnick
e598025476 Bump version 7.0.1
Summary: Bumps version to 7.0.1

Reviewed By: dloomb

Differential Revision: D21942281

fbshipit-source-id: 8f6a7b16d97ed215141ce140c524d832d4fcfc52
2020-06-09 09:52:03 -07:00
Joe Susnick
efc6f4a241 Bump Version 7.0 (#1367)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1367

Bumping version to 7.0
Bumping Graph API version to 7.0

Reviewed By: jingping2015

Differential Revision: D21405159

fbshipit-source-id: 7ee479aff3ed663210ae0adb13840280d373d9da
2020-05-05 11:53:54 -07:00
joesusnick
da76059698 Consolidating Swift and ObjC Targets (#1355)
Summary:
Thanks for proposing a pull request!

To help us review the request, please complete the following:

- [x] sign [contributor license agreement](https://developers.facebook.com/opensource/cla)
- [x] I've ensured that all existing tests pass and added tests (when/where necessary)
- [x] I've updated the documentation (when/where necessary) and [Changelog](CHANGELOG.md) (when/where necessary)
- [x] I've added the proper label to this pull request (e.g. `bug` for bug fixes)

## Pull Request Details

Updates for v7.0.

Main change is that the SDK can not be developed using Swift. Default will be to build and distribute with Xcode11 using Swift5.

**Migration Concerns**
* CocoaPods
If you were using the 'Swift'  subspec of CocoaPods, ex:
`pod 'FBSDKCoreKit/Swift'`
you can now simply use:
`pod 'FBSDKCoreKit`
* Carthage
You will need to use Xcode 11 or later but no other changes should be necessary. The binaries will include the enhanced Swift interfaces by default.
* SPM
No changes
* xcodebuild
No real changes. The '-Swift' targets are deleted. ex:
target `FBSDKCoreKitSwift-Dynamic` is gone. You can simply use `FBSDKCoreKit-Dynamic` and it will include Swift files
* BUCK
Buck will continue to exclude Swift files for the moment. This is an ongoing effort.
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1355

Test Plan: CI and extensive manual testing to make sure we haven't broken any channels.

Reviewed By: dreamolight

Differential Revision: D21239951

Pulled By: joesus

fbshipit-source-id: 325e2049c5fb1b55769c066998dd4b50e0ccaccc
2020-05-04 11:09:55 -07:00
Joe Susnick
cdb8c71fb7 Bump Version 6.5.2
Summary: Bumps version to 6.5.2

Reviewed By: tianqibt

Differential Revision: D21312461

fbshipit-source-id: 588ae2d9d4ee8e814693b0e33fc71ac92f08f780
2020-04-29 18:32:26 -07:00
Joe Susnick
7a6532a385 Bump Version 6.5.1 (#1354)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1354

Patches v6.5.0 of the iOS SDK.

Reviewed By: tianqibt

Differential Revision: D21213007

fbshipit-source-id: 4835582cdd3416547eb4a4d4dc40769fea8b1c8d
2020-04-23 17:39:53 -07:00
Tianqi Li
c791884e83 bump version to 6.5.0
Summary: as title

Reviewed By: KylinChang

Differential Revision: D21137062

fbshipit-source-id: c92df67d5b38b277e0bc94daef99e232bbf72ac7
2020-04-20 15:56:18 -07:00
Joe Susnick
ef687a4c1b Bump Version 6.4.0 (#1340)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1340

Bumps version to 6.4.0

Reviewed By: Mxiim

Differential Revision: D21030075

fbshipit-source-id: cb0f4ba2db543ba0af1e37722fe5896000ae2f01
2020-04-15 10:55:06 -07:00
Zilin Zhang
9e0e1021a7 Bump version 6.3.0 (#1294)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1294

As title

Reviewed By: YOUDAN

Differential Revision: D20651369

fbshipit-source-id: 7d18a162e36b0699d6cdb512b02628b86ea2cfbd
2020-03-25 19:02:39 -07:00
Zilin Zhang
d78287e6f0 Bump version 6.2.0 (#1276)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1276

As title

Reviewed By: YOUDAN

Differential Revision: D20332647

fbshipit-source-id: 185413578db591c0f8a8241eb32445d34f2764b4
2020-03-09 14:32:24 -07:00
Joe Susnick
0a1c09ff2d Removing CoreLocation weak-linking from podspecs (#1268)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1268

Not sure why we were weak-linking core location. I am assuming this was related in some way to the deprecated PlacesKit but am not positive.

Reviewed By: Oliverccccct

Differential Revision: D20167000

fbshipit-source-id: 4b8e69d3e263667cb29ac6ecebb87c0da3ba93bb
2020-02-29 09:22:36 -08:00
Joe Susnick
5a7e223d0f Bump Version: 6.0.0 (#1220)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1220

Bumps sdk version to 6.0.0
Bumps api version to v6.0

Reviewed By: jingping2015, ZebingZong, KylinChang

Differential Revision: D19698716

fbshipit-source-id: 165ad3f3ac0f5c686e965f521e9d807f9f21d523
2020-02-04 16:26:59 -08:00
Tianqi Li
9398d30089 bump version to 5.15.1
Summary: as title

Reviewed By: ninanina0815

Differential Revision: D19608178

fbshipit-source-id: 4682fd81f1ac150934e0283f43e2ff0b484acb9b
2020-01-28 23:06:07 -08:00
joesusnick
9f5c00279f Leveraging File-Level Platform Checks (#1186)
Summary:
Thanks for proposing a pull request!

To help us review the request, please complete the following:

- [x] sign [contributor license agreement](https://developers.facebook.com/opensource/cla)
- [x] I've ensured that all existing tests pass and added tests (when/where necessary)
- [x] I've updated the documentation (when/where necessary) and [Changelog](CHANGELOG.md) (when/where necessary)
- [x] I've added the proper label to this pull request (e.g. `bug` for bug fixes)

## Pull Request Details

Updates Package file and Podspecs to rely on file-level platform checks.
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1186

Test Plan:
Sample project using this branch should build for iOS, tvOS, Mac Catalyst

Also checked size implications. This change causes a 16 byte increase in size which seems like more than a fair trade-off for the gains in simplicity.

Reviewed By: ZebingZong

Differential Revision: D19499591

Pulled By: joesus

fbshipit-source-id: 50122a6cbeca0e24f9813cde1907affd9dbfa8c4
2020-01-23 08:08:02 -08:00
Zilin Zhang
634f95aed5 Bump Version: 5.15.0 (#1193)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1193

Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1192

Bump Version: 5.15.0

Reviewed By: joesus

Differential Revision: D19506490

fbshipit-source-id: 41f0b921eaf7392c6bd75def0dc3f1530b228883
2020-01-21 16:39:00 -08:00
joesusnick
baace56581 Fix for static libraries with CocoaPods (#1184)
Summary:
Thanks for proposing a pull request!

To help us review the request, please complete the following:

- [x] sign [contributor license agreement](https://developers.facebook.com/opensource/cla)
- [x] I've ensured that all existing tests pass and added tests (when/where necessary)
- [x] I've updated the documentation (when/where necessary) and [Changelog](CHANGELOG.md) (when/where necessary)
- [x] I've added the proper label to this pull request (e.g. `bug` for bug fixes)

## Pull Request Details

What we have is similar to this issue here. https://github.com/CocoaPods/CocoaPods/issues/9101
Basically we need to expose FBSDKCOCOAPODS for static libs to work with other kits. There may be other convoluted workarounds but I'd argue it's worth taking the chance that few people are
using the SDK from CocoaPods as a static library AND are unable to avoid a macro collision with `FBSDKCOCOAPODS`
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1184

Test Plan: `pod lib lint FBSDKLoginKit.podspec --allow-warnings --use-libraries --include-podspecs=FBSDKCoreKit.podspec`

Reviewed By: Mxiim

Differential Revision: D19425678

Pulled By: joesus

fbshipit-source-id: 756121ee8cc90a5d9fc2a8b7e7e5ace3b8613394
2020-01-16 08:32:23 -08:00
Joe Susnick
5546ad5b77 Bump Version 5.14.0 (#1183)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1183

Bumps SDK version from 5.13.1 to 5.14.0

Reviewed By: KylinChang

Differential Revision: D19393459

fbshipit-source-id: 2beba711974174be2c3f3479bc7a568218ccd457
2020-01-14 11:12:21 -08:00
joesusnick
058dc1a02f Should only modify xcconfig for pod targets (#1180)
Summary:
Thanks for proposing a pull request!

To help us review the request, please complete the following:

- [x] sign [contributor license agreement](https://developers.facebook.com/opensource/cla)
- [x] I've ensured that all existing tests pass and added tests (when/where necessary)
- [x] I've updated the documentation (when/where necessary) and [Changelog](CHANGELOG.md) (when/where necessary)
- [x] I've added the proper label to this pull request (e.g. `bug` for bug fixes)

## Pull Request Details

Should be able to declare `FBSDKCOCOAPODS` more granularly.
See: https://github.com/CocoaPods/CocoaPods/issues/3309
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1180

Test Plan: N/A

Reviewed By: ZebingZong

Differential Revision: D19386668

Pulled By: joesus

fbshipit-source-id: 043bd715aadf466ac8403543ca6fea43827fda45
2020-01-14 08:39:52 -08:00
Zebing Zong
8b1f25c1bf add requires_arc configure for GraphAPI folder (#1177)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1177

D19247723 moved relative files to a new folder named GraphAPI but haven't updated the requires_arc setting for this folder, so add back requires_arc setting back to avoid crash on sdk launch.

Reviewed By: joesus

Differential Revision: D19357327

fbshipit-source-id: 21e3c2577d2a26b5386d76a42fa283078d75adcb
2020-01-10 21:17:09 -08:00
Zebing Zong
d9822ce3ba Try to fix FBSDKCorekit Library not found for cocoapods (#1173)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1173

When I tried to integrate FBSDK with cocoapods, getting undefined symbol errors in files of `FBSDKEventInferencer.mm` and `FBSDKAddressInferencer.mm`. This is because FBSDKCoreKit.podspec hasn't specified c++ library to compile.
{F226154380}

Reviewed By: joesus

Differential Revision: D19326280

fbshipit-source-id: a070fc22a56e245f6c7193f13f5adfd34c88c624
2020-01-10 13:14:11 -08:00
Zebing Zong
9980c6754f create GraphAPI folder and move relative files under it (#1163)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1163

As title

Reviewed By: joesus

Differential Revision: D19247723

fbshipit-source-id: 374a393220a930ea2306fc2bfb99b0bc63f005e7
2020-01-03 17:22:37 -08:00
Tianqi Li
91f062ed26 bump version 5.13.1
Summary: as title

Reviewed By: ninanina0815

Differential Revision: D19121070

fbshipit-source-id: eca0d029baae77e97aba12f6b220ea78e5131eab
2019-12-16 13:42:47 -08:00
Zebing Zong
389b33f8fd Bump SDK version from 5.12.0 to 5.13.0 (#1149)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1149

As title

Reviewed By: tianqibt

Differential Revision: D18945244

fbshipit-source-id: df03e155d2c41e4a1dd85e6378767e57d4cc6a59
2019-12-12 01:11:38 -08:00
Stan Wu
016c75da78 Fix ios-sdk for Xcode project that gnereated by buck
Summary: As title

Reviewed By: tianqibt

Differential Revision: D18929482

fbshipit-source-id: 193d240ba8bc87f61913666baf1ef39242858c3a
2019-12-11 02:36:17 -08:00
Tianqi Li
62b010ffd1 fix podspec error
Summary: as title

Reviewed By: ninanina0815

Differential Revision: D18827734

fbshipit-source-id: 0c89f5b7790c869ed82da3440cc8f7e7548e81db
2019-12-04 23:31:22 -08:00
Tianqi Li
03ff7fef58 bump version to 5.12.0
Summary: as title

Reviewed By: YOUDAN

Differential Revision: D18806303

fbshipit-source-id: 7fc34934a3a3de3673521fd5ab40d144620a6884
2019-12-03 23:45:40 -08:00
Lina Jin
c9cdc8eaf5 add address inferencer
Summary:
add address inferencer

TODO
* vectorize before prediction

Reviewed By: KylinChang

Differential Revision: D18589778

fbshipit-source-id: 593d7ff837f674278301da6ec36df7b70673adca
2019-11-27 22:54:07 -08:00
Tao Chen
bf22d24569 Refactor on View Hierarchy (#1139)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1139

 - move ViewHierarchy.{h,m} and macros to folder ViewHierarchy
 - delete unused FBSDKFunctionEventBinding.h in MarketingKit. The interface FBSDKFunctionEventBinding doesn't have the implementaion but just a .h.

Reviewed By: joesus

Differential Revision: D18674274

fbshipit-source-id: 24c555a2adf0ae04899ffce4a2c73edec688b759
2019-11-25 15:06:55 -08:00
Joe Susnick
ccac786516 Bump Version 5.11.1 (#1129)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1129

Bumps version to 5.11.1

Reviewed By: Mxiim

Differential Revision: D18594564

fbshipit-source-id: 94573a7c7636c80d00362f70b8a47524f5708d94
2019-11-19 09:40:16 -08:00
joesusnick
6a83270d5b Fixing issue with Cocoapods used in Unity (#1122)
Summary:
Thanks for proposing a pull request!

To help us review the request, please complete the following:

- [x] sign [contributor license agreement](https://developers.facebook.com/opensource/cla)
- [x] I've ensured that all existing tests pass and added tests (when/where necessary)
- [x] I've updated the documentation (when/where necessary) and [Changelog](CHANGELOG.md) (when/where necessary)
- [x] I've added the proper label to this pull request (e.g. `bug` for bug fixes)

## Pull Request Details

Fixing import errors when using Unity.
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1122

Test Plan: Open a new unity project that includes the SDK. Open the generated Xcode workspace. It should compile without error about improper header import syntax.

Reviewed By: Mxiim

Differential Revision: D18572442

Pulled By: joesus

fbshipit-source-id: bddea9a5b97d18f8b27b583dfcce6866c382aea0
2019-11-18 10:17:03 -08:00
Zilin Zhang
0d676874b2 Bump version 5.11.0
Summary: Bump version 5.11.0

Reviewed By: tianqibt

Differential Revision: D18520673

fbshipit-source-id: 57f7d7ee1eb20f734a13235168ac346e4d77b7c8
2019-11-14 21:59:12 -08:00
Zilin Zhang
1cb2e317fc Fix travis build (#1114)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1114

As title

Differential Revision: D18499160

fbshipit-source-id: ffda736eb3889f52e9069e921a0e2cd3640b6709
2019-11-14 00:12:53 -08:00
Joe Susnick
0cf2247794 Bump Version (#1109)
Summary:
Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1109

Patch version 5.10.1 with various Swift Package Manager fixes.

Reviewed By: jingping2015

Differential Revision: D18451008

fbshipit-source-id: 13e471dbcd350f8fcfd32a7f61cc5b67971b706b
2019-11-12 19:55:13 -08:00
Tianqi Li
7433aa744f download and save model info
Summary:
as title

Following diffs will include:
* add old version file clear function
* for loop to enable each feature/usecase

Reviewed By: dreamolight

Differential Revision: D18362851

fbshipit-source-id: 322823fbfe9308f8522d44768aa78d19aae234e7
2019-11-11 13:25:27 -08:00