- Made login ID PAss dynamic with config in the network claass singleton
- Handled session expired globally - Added Deactiovate account api, handled the logic. - Handled the deactivate account on login. - Made a view to handle privacy policy and terms and condition url, also it will handle the rich text file. - Completed terms and condition, Privacy policy, disclaimer - Fixed the issue of live TV going to Streaming Screen. Landscape and potrait handled
This commit is contained in:
@@ -58,7 +58,7 @@ class SplashVM{
|
||||
func getUserData(){
|
||||
if AuthFunc.shareInstance.getUserType() == 3{
|
||||
//setusertype
|
||||
AuthFunc.shareInstance.userData = UserDataDM.ResultData(id: nil, birthdate: nil, email: nil, avtar: nil, userType: "3", languageMasterID: nil, lastLogin: nil, rememberToken: nil, childDetail: nil, language: nil, alreadyLoggedIn: nil)
|
||||
AuthFunc.shareInstance.userData = UserDataDM.ResultData(id: nil, birthdate: nil, email: nil, avtar: nil, userType: "3", languageMasterID: nil, lastLogin: nil, rememberToken: nil, childDetail: nil, language: nil, alreadyLoggedIn: nil, isDeactive: nil)
|
||||
UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user