Version 3.0.270

This commit is contained in:
Oliver Hauff 2022-01-04 18:59:16 +01:00
parent 67999ef4ae
commit e0c75d5b37
81 changed files with 812 additions and 474 deletions

View file

@ -141,12 +141,15 @@ namespace TINK
var appInfoService = DependencyService.Get<IAppInfo>();
const string MERCHANTID = "baei987w";
// Create new app instnace.
Log.Debug("Constructing main model...");
m_oModelRoot = new TinkApp(
settings,
store, // Manages user account
(isConnected, activeUri, sessionCookie, mail, expiresAfter) => ConnectorFactory.Create(isConnected, activeUri, new Repository.AppContextInfo("baei987w", "LastenradBayern", appInfoService.Version), sessionCookie, mail, expiresAfter),
(isConnected, activeUri, sessionCookie, mail, expiresAfter) => ConnectorFactory.Create(isConnected, activeUri, new Repository.AppContextInfo(MERCHANTID, "LastenradBayern", appInfoService.Version), sessionCookie, mail, expiresAfter),
MERCHANTID,
GeolocationServicesContainer,
null, /* locksService */
DependencyService.Get<ISmartDevice>(),

View file

@ -26,6 +26,7 @@ namespace TINK.View.CopriWebView
};
RegisterView.BindingContext = new RegisterPageViewModel(
Model.TinkApp.MerchantId,
App.ModelRoot.NextActiveUri.Host);
}

View file

@ -47,6 +47,7 @@ namespace TINK.View.FindBike
(isConnected) => model.GetConnector(isConnected),
App.GeolocationServicesContainer.Active,
model.LocksServices.Active,
model.Stations,
model.Polling,
(d, obj) => synchronizationContext.Post(d, obj),
model.SmartDevice,

View file

@ -64,6 +64,7 @@ namespace TINK.View.MyBikes
(isConnected) => model.GetConnector(isConnected),
App.GeolocationServicesContainer.Active,
model.LocksServices.Active,
model.Stations,
model.Polling,
(d, obj) => synchronizationContext.Post(d, obj),
model.SmartDevice,