Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorv.mikhaylenko <v.mikhaylenko@corp.mail.ru>2015-09-11 13:50:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:04:26 +0300
commit947665eb78d2451679f5a9761e63026e3e00239b (patch)
treeda2e166786b803f9d3e2f5f56be4a0da6f26d063 /iphone
parenta0119897b41b1837ee9ab66262249904430ba6d6 (diff)
[ios] Update FBSDK to v.4.6.0
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/CustomAlert/FacebookAlert/MWMFacebookAlert.mm2
-rw-r--r--iphone/Maps/MAPSME.plist4
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/FBSDKCoreKitbin12186472 -> 19193104 bytes
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h4
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h4
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKConstants.h10
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h2
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/Info.plistbin759 -> 758 bytes
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h2
-rw-r--r--iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h4
-rw-r--r--iphone/Maps/Statistics/FBSDKLoginKit.framework/FBSDKLoginKitbin3026680 -> 4499128 bytes
-rw-r--r--iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h9
-rw-r--r--iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h31
-rw-r--r--iphone/Maps/Statistics/FBSDKLoginKit.framework/Info.plistbin762 -> 761 bytes
-rw-r--r--iphone/Maps/Statistics/FBSDKShareKit.framework/FBSDKShareKitbin8750520 -> 13215528 bytes
-rw-r--r--iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h19
-rw-r--r--iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h4
-rw-r--r--iphone/Maps/Statistics/FBSDKShareKit.framework/Info.plistbin762 -> 761 bytes
18 files changed, 80 insertions, 15 deletions
diff --git a/iphone/Maps/Classes/CustomAlert/FacebookAlert/MWMFacebookAlert.mm b/iphone/Maps/Classes/CustomAlert/FacebookAlert/MWMFacebookAlert.mm
index 7d11409bd1..f928c3c8cc 100644
--- a/iphone/Maps/Classes/CustomAlert/FacebookAlert/MWMFacebookAlert.mm
+++ b/iphone/Maps/Classes/CustomAlert/FacebookAlert/MWMFacebookAlert.mm
@@ -43,7 +43,7 @@ extern NSString * const kUDAlreadySharedKey;
FBSDKAppInviteContent * const content = [[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:kFacebookAppName];
content.appInvitePreviewImageURL = [NSURL URLWithString:kFacebookAlertPreviewImage];
- [FBSDKAppInviteDialog showWithContent:content delegate:nil];
+ [FBSDKAppInviteDialog showFromViewController:self.alertController.ownerViewController withContent:content delegate:nil];
}
- (IBAction)notNowButtonTap:(id)sender
diff --git a/iphone/Maps/MAPSME.plist b/iphone/Maps/MAPSME.plist
index db70c673bc..ac3e4b9abf 100644
--- a/iphone/Maps/MAPSME.plist
+++ b/iphone/Maps/MAPSME.plist
@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>LSApplicationQueriesSchemes</key>
+ <array>
+ <string>fbauth2</string>
+ </array>
<key>AdmanTrackerAppID</key>
<string>***REMOVED***</string>
<key>CFBundleDevelopmentRegion</key>
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/FBSDKCoreKit b/iphone/Maps/Statistics/FBSDKCoreKit.framework/FBSDKCoreKit
index b26e040b6f..475883039c 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/FBSDKCoreKit
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/FBSDKCoreKit
Binary files differ
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
index c364cf2c1c..ab9f9b97bf 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
@@ -37,6 +37,10 @@ FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeNotification;
which do not change the user. If you're only interested in user
changes (such as logging out), you should check for the existence
of this key. The value is a NSNumber with a boolValue.
+
+ On a fresh start of the app where the SDK reads in the cached value
+ of an access token, this key will also exist since the access token
+ is moving from a null state (no user) to a non-null state (user).
*/
FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeUserID;
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
index ecfe0c320b..7f4a85aabb 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
@@ -171,7 +171,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo;
+ Events will be accumulated when the app is in a disconnected state, and sent when the connection is
restored and one of the above 'flush' conditions are met.
- + The `FBSDKAppEvents` class in thread-safe in that events may be logged from any of the app's threads.
+ + The `FBSDKAppEvents` class is thread-safe in that events may be logged from any of the app's threads.
+ The developer can set the `flushBehavior` on `FBSDKAppEvents` to force the flushing of events to only
occur on an explicit call to the `flush` method.
@@ -409,7 +409,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo;
In some cases, apps want to use one Facebook App ID for login and social presence and another
for App Event logging. (An example is if multiple apps from the same company share an app ID for login, but
want distinct logging.) By default, this value is `nil`, and defers to the `FBSDKAppEventsOverrideAppIDBundleKey`
- plist value. If that's not set, it defaults to `[FBSDKSettigns appID]`.
+ plist value. If that's not set, it defaults to `[FBSDKSettings appID]`.
This should be set before any other calls are made to `FBSDKAppEvents`. Thus, you should set it in your application
delegate's `application:didFinishLaunchingWithOptions:` delegate.
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKConstants.h
index 7ce42dbc3e..5f53161244 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKConstants.h
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKConstants.h
@@ -93,6 +93,16 @@ typedef NS_ENUM(NSInteger, FBSDKErrorCode)
@abstract Indicates an operation failed because a required access token was not found.
*/
FBSDKAccessTokenRequiredErrorCode,
+
+ /*!
+ @abstract Indicates an app switch (typically for a dialog) failed because the destination app is out of date.
+ */
+ FBSDKAppVersionUnsupportedErrorCode,
+
+ /*!
+ @abstract Indicates an app switch to the browser (typically for a dialog) failed.
+ */
+ FBSDKBrowswerUnavailableErrorCode,
};
/*!
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
index b8f40f9cc9..fc2945798b 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
@@ -34,5 +34,5 @@
#import <FBSDKCoreKit/FBSDKTestUsersManager.h>
#import <FBSDKCoreKit/FBSDKUtility.h>
-#define FBSDK_VERSION_STRING @"4.4.0"
+#define FBSDK_VERSION_STRING @"4.6.0"
#define FBSDK_TARGET_PLATFORM_VERSION @"v2.4"
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Info.plist b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Info.plist
index e8bbb1337b..64575b8645 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/Info.plist
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/Info.plist
Binary files differ
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h b/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h
index 1c41f1a8e9..679577c4b8 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h
@@ -30,8 +30,6 @@ FBSDK_EXTERN NSString *const FBSDKBridgeAPIVersionKey;
@protocol FBSDKBridgeAPIProtocol <NSObject>
-@property (nonatomic, assign, readonly, getter=isEnabled) BOOL enabled;
-
- (NSURL *)requestURLWithActionID:(NSString *)actionID
scheme:(NSString *)scheme
methodName:(NSString *)methodName
diff --git a/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h b/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h
index 801485d32d..cd218c43a4 100644
--- a/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h
+++ b/iphone/Maps/Statistics/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h
@@ -20,8 +20,8 @@
#import <FBSDKCoreKit/FBSDKGraphRequestConnection.h>
-// Internal only class to facilitate FBRequest processing, specifically
-// associating FBRequest and FBRequestHandler instances and necessary
+// Internal only class to facilitate FBSDKGraphRequest processing, specifically
+// associating FBSDKGraphRequest and FBSDKGraphRequestHandler instances and necessary
// data for retry processing.
@interface FBSDKGraphRequestMetadata : NSObject
diff --git a/iphone/Maps/Statistics/FBSDKLoginKit.framework/FBSDKLoginKit b/iphone/Maps/Statistics/FBSDKLoginKit.framework/FBSDKLoginKit
index 9a1824962d..887b6f02c0 100644
--- a/iphone/Maps/Statistics/FBSDKLoginKit.framework/FBSDKLoginKit
+++ b/iphone/Maps/Statistics/FBSDKLoginKit.framework/FBSDKLoginKit
Binary files differ
diff --git a/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
index 1cbd262ede..51499d4f9d 100644
--- a/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
+++ b/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
@@ -100,6 +100,7 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior)
*/
@protocol FBSDKLoginButtonDelegate <NSObject>
+@required
/*!
@abstract Sent to the delegate when the button was used to login.
@param loginButton the sender
@@ -116,4 +117,12 @@ didCompleteWithResult:(FBSDKLoginManagerLoginResult *)result
*/
- (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton;
+@optional
+/*!
+ @abstract Sent to the delegate when the button is about to login.
+ @param loginButton the sender
+ @return YES if the login should be allowed to proceed, NO otherwise
+ */
+- (BOOL) loginButtonWillLogin:(FBSDKLoginButton *)loginButton;
+
@end
diff --git a/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h
index 2a6ec8fb86..728e8f22b7 100644
--- a/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h
+++ b/iphone/Maps/Statistics/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h
@@ -18,6 +18,7 @@
#import <Accounts/Accounts.h>
#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
@class FBSDKLoginManagerLoginResult;
@@ -85,8 +86,10 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior)
*/
FBSDKLoginBehaviorBrowser,
/*!
- @abstract Attempts log in through the Facebook account currently signed in through Settings.
- If no Facebook account is signed in, falls back to \c FBSDKLoginBehaviorNative.
+ @abstract Attempts log in through the Facebook account currently signed in through
+ the device Settings.
+ @note If the account is not available to the app (either not configured by user or
+ as determined by the SDK) this behavior falls back to \c FBSDKLoginBehaviorNative.
*/
FBSDKLoginBehaviorSystemAccount,
/*!
@@ -125,9 +128,23 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior)
@property (assign, nonatomic) FBSDKLoginBehavior loginBehavior;
/*!
+ @deprecated use logInWithReadPermissions:fromViewController:handler: instead
+ */
+- (void)logInWithReadPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler
+__attribute__ ((deprecated("use logInWithReadPermissions:fromViewController:handler: instead")));
+
+/*!
+ @deprecated use logInWithPublishPermissions:fromViewController:handler: instead
+ */
+- (void)logInWithPublishPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler
+__attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:handler: instead")));
+
+/*!
@abstract Logs the user in or authorizes additional permissions.
@param permissions the optional array of permissions. Note this is converted to NSSet and is only
an NSArray for the convenience of literal syntax.
+ @param fromViewController the view controller to present from. If nil, the topmost view controller will be
+ automatically determined as best as possible.
@param handler the callback.
@discussion Use this method when asking for read permissions. You should only ask for permissions when they
are needed and explain the value to the user. You can inspect the result.declinedPermissions to also
@@ -140,12 +157,16 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior)
already contains the permissions you need before asking to reduce unnecessary app switching. For example,
you could make that check at viewDidLoad.
*/
-- (void)logInWithReadPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler;
+- (void)logInWithReadPermissions:(NSArray *)permissions
+ fromViewController:(UIViewController *)fromViewController
+ handler:(FBSDKLoginManagerRequestTokenHandler)handler;
/*!
@abstract Logs the user in or authorizes additional permissions.
@param permissions the optional array of permissions. Note this is converted to NSSet and is only
an NSArray for the convenience of literal syntax.
+ @param fromViewController the view controller to present from. If nil, the topmost view controller will be
+ automatically determined as best as possible.
@param handler the callback.
@discussion Use this method when asking for publish permissions. You should only ask for permissions when they
are needed and explain the value to the user. You can inspect the result.declinedPermissions to also
@@ -158,7 +179,9 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior)
already contains the permissions you need before asking to reduce unnecessary app switching. For example,
you could make that check at viewDidLoad.
*/
-- (void)logInWithPublishPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler;
+- (void)logInWithPublishPermissions:(NSArray *)permissions
+ fromViewController:(UIViewController *)fromViewController
+ handler:(FBSDKLoginManagerRequestTokenHandler)handler;
/*!
@abstract Logs the user out
diff --git a/iphone/Maps/Statistics/FBSDKLoginKit.framework/Info.plist b/iphone/Maps/Statistics/FBSDKLoginKit.framework/Info.plist
index fb3726e91d..744b6525ad 100644
--- a/iphone/Maps/Statistics/FBSDKLoginKit.framework/Info.plist
+++ b/iphone/Maps/Statistics/FBSDKLoginKit.framework/Info.plist
Binary files differ
diff --git a/iphone/Maps/Statistics/FBSDKShareKit.framework/FBSDKShareKit b/iphone/Maps/Statistics/FBSDKShareKit.framework/FBSDKShareKit
index cee2fef732..60c890b877 100644
--- a/iphone/Maps/Statistics/FBSDKShareKit.framework/FBSDKShareKit
+++ b/iphone/Maps/Statistics/FBSDKShareKit.framework/FBSDKShareKit
Binary files differ
diff --git a/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h b/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h
index 3b7494eec3..0859d4c33c 100644
--- a/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h
+++ b/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h
@@ -17,6 +17,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
#import <FBSDKShareKit/FBSDKAppInviteContent.h>
@@ -29,10 +30,26 @@
/*!
@abstract Convenience method to show a FBSDKAppInviteDialog
+ @param viewController A UIViewController to present the dialog from.
@param content The content for the app invite.
@param delegate The receiver's delegate.
+*/
++ (instancetype)showFromViewController:(UIViewController *)viewController
+ withContent:(FBSDKAppInviteContent *)content
+ delegate:(id<FBSDKAppInviteDialogDelegate>)delegate;
+
+
+/*!
+ @deprecated use showFromViewController:withContent:delegate: instead
+ */
++ (instancetype)showWithContent:(FBSDKAppInviteContent *)content delegate:(id<FBSDKAppInviteDialogDelegate>)delegate
+__attribute__ ((deprecated("use showFromViewController:withContent:delegate: instead")));
+
+/*!
+ @abstract A UIViewController to present the dialog from.
+ @discussion If not specified, the top most view controller will be automatically determined as best as possible.
*/
-+ (instancetype)showWithContent:(FBSDKAppInviteContent *)content delegate:(id<FBSDKAppInviteDialogDelegate>)delegate;
+@property (nonatomic, weak) UIViewController *fromViewController;
/*!
@abstract The receiver's delegate or nil if it doesn't have a delegate.
diff --git a/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h b/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h
index 3fc15cb924..29489a6b34 100644
--- a/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h
+++ b/iphone/Maps/Statistics/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h
@@ -38,8 +38,8 @@
delegate:(id<FBSDKSharingDelegate>)delegate;
/*!
- @abstract A UIViewController to present the dialog from, if appropriate.
- @discussion This value is required for FBSDKShareDialogModeShareSheet.
+ @abstract A UIViewController to present the dialog from.
+ @discussion If not specified, the top most view controller will be automatically determined as best as possible.
*/
@property (nonatomic, weak) UIViewController *fromViewController;
diff --git a/iphone/Maps/Statistics/FBSDKShareKit.framework/Info.plist b/iphone/Maps/Statistics/FBSDKShareKit.framework/Info.plist
index 55e76a8c63..e140215fb2 100644
--- a/iphone/Maps/Statistics/FBSDKShareKit.framework/Info.plist
+++ b/iphone/Maps/Statistics/FBSDKShareKit.framework/Info.plist
Binary files differ