Since doing an update of Google and Xamarin libraries and packages, push notifications no longer work via GCM.
We are running into the same issue that is identified here:
https://bugzilla.xamarin.com/show_bug.cgi?id=46273
var instanceId = InstanceID.GetInstance(Application.Context);
throws the exception:
Exception: "The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)"
Has anybody else run into this and fixed this issue or come across a workaround? This is a critical issue for us, as our current production release is broken, since this issue was not detected until after the release.
thanks,
Dennis