- Update Pods
- Add Reload User Notification
This commit is contained in:
1 parent
c9d8a47f80
commit
ef4deb51f6
13 files changed
+37
-34
No files matched your search
@@ -146,6 +146,7 @@ static bool isFirstAccess = YES;
|
||||
|
||||
[self populateObjectFromJSON:[responseObject objectForKey:@"user"]];
|
||||
[self saveLocally];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserReloadFromServerSuccess object:nil];
|
||||
|
||||
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
||||
NSLogDebug(@"%@",error);
|
||||
|
||||
@@ -20,7 +20,7 @@ extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenClientCrede
|
||||
extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenClientCredentialFail;
|
||||
extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenUserSuccess;
|
||||
extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenUserFail;
|
||||
|
||||
extern NSString* _Nonnull const PNObjectLocalNotificationUserReloadFromServerSuccess;
|
||||
#pragma mark -
|
||||
|
||||
extern NSString* _Nonnull const EnvironmentProduction;
|
||||
|
||||
@@ -21,6 +21,8 @@ NSString * const PNObjectLocalNotificationRefreshTokenClientCredentialFail = @"P
|
||||
NSString * const PNObjectLocalNotificationRefreshTokenUserSuccess = @"PNObjectLocalNotificationRefreshTokenUserSuccess";
|
||||
NSString * const PNObjectLocalNotificationRefreshTokenUserFail = @"PNObjectLocalNotificationRefreshTokenUserFail";
|
||||
|
||||
NSString * const PNObjectLocalNotificationUserReloadFromServerSuccess = @"PNObjectLocalNotificationUserReloadFromServerSuccess";
|
||||
|
||||
|
||||
NSInteger const minPassLenght = 4;
|
||||
|
||||
|
||||
Reference in new issue
Block a user