| | |
| | | using Shared.Common; |
| | | using Shared.IOS.TBL; |
| | | using UIKit; |
| | | |
| | | namespace Home.IOS |
| | | { |
| | | [Register("AppDelegate")] |
| | |
| | | |
| | | public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) |
| | | { |
| | | //Shared.IOS.HDLFVSDK.Video.FVapplication(application, launchOptions); |
| | | Shared.IOS.HDLFVSDK.Video.ShowVideo(); |
| | | Shared.Application.IsGpsEnable = false; |
| | | Shared.Application.IsMusicEnable = false; |
| | | base.FinishedLaunching(application, launchOptions); |
| | |
| | | |
| | | DeviceTokenAction += (deviceToken) => |
| | | { |
| | | Shared.Common.Config.Instance.RegistrationID = deviceToken; |
| | | if (!string.IsNullOrEmpty(deviceToken)) |
| | | { |
| | | Shared.Common.Config.Instance.RegistrationID = deviceToken; |
| | | Shared.Common.Config.Instance.Save(); |
| | | } |
| | | }; |
| | | haveToSignOut = false; |
| | | if (launchOptions != null) |