Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

GCM Push notifications no longer working since updating Google SDK libraries and Xamarin/Google pkgs

$
0
0

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


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>