Skip to content

Commit 3868b33

Browse files
committed
new version of Quickblox.framework (2.9.3)
1 parent 6ecbdb3 commit 3868b33

File tree

4 files changed

+29
-11
lines changed

4 files changed

+29
-11
lines changed

Framework/Quickblox.framework/Headers/QBRequest+QBAuth.h

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,19 @@ NS_ASSUME_NONNULL_BEGIN
8080
errorBlock:(nullable QBRequestErrorBlock)errorBlock;
8181

8282
/**
83-
* User login using Twitter Digits.
84-
*
85-
* @param headers Taken from '-[DGTOAuthSigning OAuthEchoHeadersToVerifyCredentials]'.
86-
* @param successBlock Block with response and user instances if request succeded.
87-
* @param errorBlock Block with response instance if request failed.
88-
*
89-
* @return An instance of QBRequest for cancel operation mainly.
83+
User login using Firebase (only phone number. See https://firebase.google.com/docs/auth/ios/phone-auth).
84+
85+
@param projectID Firebase project ID
86+
@param accessToken Access token
87+
@param successBlock Block with response and user instances if request succeded.
88+
@param errorBlock Block with response instance if request failed.
89+
@return An instance of QBRequest for cancel operation mainly.
9090
*/
91-
+ (QBRequest *)logInWithTwitterDigitsAuthHeaders:(NSDictionary *)headers
92-
successBlock:(nullable void (^)(QBResponse *response, QBUUser * _Nullable user))successBlock
93-
errorBlock:(nullable QBRequestErrorBlock)errorBlock;
91+
+ (QBRequest *)logInWithFirebaseProjectID:(NSString *)projectID
92+
accessToken:(NSString *)accessToken
93+
successBlock:(nullable void (^)(QBResponse *response, QBUUser * _Nullable user))successBlock
94+
errorBlock:(nullable QBRequestErrorBlock)errorBlock;
95+
9496

9597
//MARK: - LogOut
9698

@@ -120,6 +122,22 @@ NS_ASSUME_NONNULL_BEGIN
120122
successBlock:(nullable void (^)(QBResponse *response, QBUUser * _Nullable user))successBlock
121123
errorBlock:(nullable QBRequestErrorBlock)errorBlock;
122124

125+
// MARK: - DEPRECATED
126+
127+
/**
128+
* User login using Twitter Digits.
129+
*
130+
* @param headers Taken from '-[DGTOAuthSigning OAuthEchoHeadersToVerifyCredentials]'.
131+
* @param successBlock Block with response and user instances if request succeded.
132+
* @param errorBlock Block with response instance if request failed.
133+
* @warning Deprecated in 2.9.3 Use 'logInWithFirebaseProjectID:accessToken:successBlock:errorBlock:'.
134+
* @return An instance of QBRequest for cancel operation mainly.
135+
*/
136+
+ (QBRequest *)logInWithTwitterDigitsAuthHeaders:(NSDictionary *)headers
137+
successBlock:(nullable void (^)(QBResponse *response, QBUUser * _Nullable user))successBlock
138+
errorBlock:(nullable QBRequestErrorBlock)errorBlock
139+
DEPRECATED_MSG_ATTRIBUTE("Deprecated in 2.9.3 Use 'logInWithFirebaseProjectID:accessToken:successBlock:errorBlock:'.");
140+
123141
@end
124142

125143
NS_ASSUME_NONNULL_END

Framework/Quickblox.framework/Headers/Quickblox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
#import <Quickblox/QBContentHeader.h>
1717
#import <Quickblox/QBChatHeader.h>
1818

19-
//! Framework version 2.9.2
19+
//! Framework version 2.9.3
2020
FOUNDATION_EXPORT NSString * const QuickbloxFrameworkVersion;
3 Bytes
Binary file not shown.
112 KB
Binary file not shown.

0 commit comments

Comments
 (0)