|
@@ -14,6 +14,7 @@
|
|
#import <PBSDK/PBUser.h>
|
|
#import <PBSDK/PBUser.h>
|
|
#import <PBSDK/TokenManager.h>
|
|
#import <PBSDK/TokenManager.h>
|
|
#import <PBSDK/PBUserHomePageViewController.h>
|
|
#import <PBSDK/PBUserHomePageViewController.h>
|
|
|
|
+#import <PBSDK/PBPublic.h>
|
|
|
|
|
|
@implementation LiveModule
|
|
@implementation LiveModule
|
|
- (instancetype)init{
|
|
- (instancetype)init{
|
|
@@ -104,8 +105,9 @@ UNI_EXPORT_METHOD(@selector(setupConfigCallback:))
|
|
PBSDK.shared.refreshToken = nil;
|
|
PBSDK.shared.refreshToken = nil;
|
|
|
|
|
|
NSLog( @"UINIapp 退出登录");
|
|
NSLog( @"UINIapp 退出登录");
|
|
- [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"token"];
|
|
|
|
- [[NSUserDefaults standardUserDefaults] synchronize];
|
|
|
|
|
|
+ [PBPublic loginOut:^{
|
|
|
|
+
|
|
|
|
+ }];
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|