- 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:
Bilal
2024-06-07 21:04:29 +05:30
parent 5fdd255130
commit d6540e9f2e
27 changed files with 525 additions and 223 deletions

View File

@@ -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
}