-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from appcelerator-modules/cheekiatng-updateFBSDK
[TIMOB-18712] Upgrade iOS Facebook SDK, improve requestDialog
- Loading branch information
Showing
23 changed files
with
385 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
ios/platform/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBTestUserSession.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Copyright 2010-present Facebook. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#import "FBAccessTokenData.h" | ||
#import "FBSession.h" | ||
|
||
/*! | ||
@class FBTestUserSession | ||
@abstract a "headless" (no UI) `FBSession` subclass that requires a token and is used for testing. | ||
@discussion This will generally be used with `FBTestUsersManager` to help exercise | ||
integration tests with Facebook. Use the class method `sessionWithAccessTokenData:` to construct | ||
instances. | ||
Note the supplied token data is not read until the session instance is "opened" (i.e., it will | ||
never be in a "TokenLoaded" state) and uses | ||
`[FBSessionTokenCachingStrategy nullCacheInstance]`. | ||
Furthermore, reauthorization calls will succeed as a no-op (no new permissions added). You may toggle | ||
the `treatReauthorizeAsCancellation` property to get cancellation treatment. | ||
*/ | ||
@interface FBTestUserSession : FBSession | ||
|
||
/*! | ||
@abstract returns an instance | ||
@discussion This should be used in place of any init methods. | ||
*/ | ||
+ (instancetype)sessionWithAccessTokenData:(FBAccessTokenData *)tokenData; | ||
|
||
/*! | ||
@abstract Flag to treat reauthorize calls as cancelled. | ||
@discussion | ||
Defaults to NO. If set to YES, reauthorize calls will receive a nil token | ||
as if the user had cancelled the reauthorize. | ||
*/ | ||
@property (nonatomic, assign) BOOL treatReauthorizeAsCancellation; | ||
|
||
/*! | ||
@abstract Flag to force extending a token expiration at the next opportunity. | ||
*/ | ||
@property (nonatomic, assign) BOOL forceAccessTokenExtension; | ||
@end |
Oops, something went wrong.