My iOS version of the app used to run until a few weeks ago. I started receiving this error on launch:
Anyone else ever get this error?
UPDATE:
I have RxUI 7.4.0 installed on all platform projects:
As well, my base viewmodel is as follows:
public abstract class ViewModelBase : ReactiveObject, IRoutableViewModel, ISupportsActivation
It's not clear what version you're using, but it sounds like you need the ReactiveUI.XamForms package installed.
Never got to the source of the problem, but I solved this by recreating a new iOS project (simple process for a XF app) and re-adding all the nuget packages.
Related
I just upgraded my android studio at 3.6.3 version and I started to watch some Udemy course about Kotlin programming and I noticed when I tried to create new Fragment I didn't see a checkbox "include interface callbacks" as in old version in Android studio.
I am a beginner in Kotlin so I need some advice.
Here is an example of fragment creation in the new Android studio:
Here is in some old version:
How can I include interface callbacks in the new version of the Android studio automatically?
I hope I don't need to do it all manually, maybe some shortcut option?
I investigated and I found out that interface callbacks for communication between fragments and fragments with activity are now maintained with the use of ViewModel class which is much easier than using all that code with interface callbacks.
Second good option for such communication is the use of third-party libraries like RxJava.
Means guys from Google and JetBrains removed that option and now is available option to create ViewModel class within Fragment through File -> New -> Fragment -> Fragment(with ViewModel).
I was using FirebaseDynamicLinks in my Xamarin forms project (everything works fine) and I decided to update my nuget packages.. but after I update Xamarin.Firebase.DynamicLinks (and all dependencies) I got null after calling FirebaseDynamicLinks.Instance.
There was some major changes? Do I need to modify my code somehow after this update? Thanks for any help!
I found this in logs, so my google-services.json should be right, right?
FirebaseInitProvider: FirebaseApp initialization successful
Xamarin.Android SDK Version: 9.3.0.23
Operating System & Version: Win 10, 1803
So if not necessary now, suggest downgrading to previous version of Xamarin.Firebase.DynamicLinks. Maybe there are something not incompatible or new methods not be used correctly.
Is it possible to use Xamarin.Forms Android and UWP with the IoT Hub? How? I can't find a functioning example. Windows.Azure.Devices.Clint works, but only for UWP (for me at least). What to do? Is it possible to use Windows.Azure.Devices.Clint, or do I have to use Windows.Azure.Devices.Clint.PCL?
Some things from the logs (might be helpful):
Ignoring C:\Users\Korisnik.nuget\packages\system.runtime.compilerservices.unsafe\4.4.0\ref
And when trying to deploy:
03-30 10:09:33.202 D/Mono (16948): Assembly Loader probing location: 'System.Runtime.CompilerServices.Unsafe'.
03-30 10:09:33.203 F/monodroid-assembly(16948): Could not load assembly 'System.Runtime.CompilerServices.Unsafe' during startup registration.
03-30 10:09:33.203 F/monodroid-assembly(16948): This might be due to an invalid debug installation.
03-30 10:09:33.203 F/monodroid-assembly(16948): A common cause is to 'adb install' the app directly instead of doing from the IDE.
Check out the repo with the sample code: https://github.com/ChakraSpice/Xamarin-IoT-Android-Issue-Sample (use your own connection string)
I can't deploy it to the android devices.
It was a known issue but has already been fixed. Please check these issues: [1] and [2].
I install Microsoft.Azure.Devices.Client version 1.7.0 in Xamarin.Forms Android. It seems working. You can try to see if it helps.
I've had this Xamarin.Auth AccountStore working in my app for a while, but then decided to do some updates to some Nuget Packages and Target Android versions >_<
I now have no idea what went wrong and how to get it working again, here is the exception:
Java.Security.KeyStoreException: KeyStore was not initialized
The code is pretty simple and looks like this:
var accountStore = AccountStore.Create(Android.App.Application.Context);
var accounts = accountStore.FindAccountsForService(providerName);
The 2nd line is throwing the exception.
This is in the Android project, being called from a PCL DependencyService.
It has been working this way for a while, I guess something changed in a version update in one of the packages but I don't know what, any ideas?
try to repair your visual studio installation.
This made the trick for our project. We had the same problems like you.
I figure this should be very simple to fix but this is driving me totally crazy because I can't find any information about this problem.
I have created a "Blank APP (Portable)" in VS2015.
Next I used NuGet package manager to update and or install:
Xamarin.Forms v2.3.1.114
Prism.Core & Prism.Forms & Prism.Unity.Forms v6.2.0
Unity v4.0.1
--
So I want to create a bootstrapper that derives from the "UnityBootstrapper" however it can't seem to find it and suggesting to me to generate a new class.
Here are the references:
In which Assembly can I find this UnityBootstrapper?
In all the tutorials there seems to be no problem inheriting from the unitybootstrapper.
There is no more bootstrapper. As noted in the release notes, this has been removed.
https://github.com/PrismLibrary/Prism/wiki/Release-Notes-6.2.0
You should be using PrismApplication now. Also look at the getting started in the docs
https://github.com/PrismLibrary/Prism/blob/master/Documentation/Xamarin.Forms/1-GettingStarted.md