Ejemplo n.º 1
0
 public SyncRoutes(string authToken)
 {
     _authToken                 = authToken;
     _routesApi                 = new RoutesApiRequest(_apiUrl, _authToken);
     _routePointsApi            = new RoutePointsApiRequest(_apiUrl, _authToken);
     _routePointMediaObjectsApi = new RoutePointMediaObjectRequest(_apiUrl, _authToken);
     _log = App.Container.Resolve <ITextfileLogger>();
 }
Ejemplo n.º 2
0
        public App()
        {
            Xamarin.Forms.Device.SetFlags(new string[] { "Shapes_Experimental" });
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("");

            InitializeComponent();
            _log = App.Container.Resolve <ITextfileLogger>();

            _log.NewFile();
            Analytics.TrackEvent("Start app");
            Application.Current.Properties.Remove("SyncStatus");
            Application.Current.Properties.Remove("WorkInRoaming");
            ParameterManager par            = new ParameterManager();
            string           showOnboarding = string.Empty;

            if (!par.Get("NeedShowOnboarding", out showOnboarding))
            {
                MainPage = new SplashWizardPage();
            }
            else
            {
                MainPage = new View.MainPage();
            }
        }
Ejemplo n.º 3
0
 public SyncServer()
 {
     _log = App.Container.Resolve <ITextfileLogger>();
 }