[ad_1]
I’ve construction like:
XamarinApp.csproj
|-interfaces
|-ISmth1
|-ISmth2
iOS.csproj
|-implemntation of interfaces with
[assembly: Dependency(typeof(Smth))]
public Smth : ISmth
Companies.csproj
|-services utilizing DependencyService.Get< ISmth>()…
Every little thing works effective till iOS software goes to background for some time (roughly 10 minutes), once I come again, companies lose information from dependency service, however in “iOS” half it really works.. Solely in “Companies” it does not work, it crashes on null object exception when I attempt to get information from it.
Instance:
When i attempt to name dependency service from AppDelegate, it discover the information, however when I attempt to do the identical in a few of companies from Companies venture, it crashes..
[ad_2]
