The referenced component 'Xamarin.Azure.NotificationHubs.Android' could not be found - xamarin

I am trying to implement the Notifications for android
I am following Get started with Notification Hubs with Xamarin for Android
and before I reach the end I am getting this error as I noticed that using WindowsAzure.Messaging; was giving me the error.
So I tried to look for WindowsAzure.Messaging in NuGet Packages which I could not install
Now I am stuck with my implementation for Notification.
Some Help!

It seems that Azure Messaging 1.2.5.0 has some issues. Try to use the previous version - 1.1.5.6. Also try to use Xamarin.GooglePlayServices.Gcm version 25.0.0 along with Azure Messaging 1.1.5.6.

Related

Recently when I updated my application and App is rejected

Please Help Me Fix this issue.
Recently when I updated my application(OXOO movies streaming app) I receive this email from Play Console:
Your app contains content that doesn’t comply with the Device and Network Abuse policy. We found your app is using a non-compliant version of an SDK which contains code to download or install applications from unknown sources outside of Google Play.
The SDK can be identified using the classname com.dcastalia.localappupdate.DownloadApk.
Affected Version(s):
App Bundle:3, App Bundle:3, App Bundle:3
But I have checked everything but have not found anything like this in the application.
Please give me some advice to fix this.
It is really important for me to release an update.
remove
implementation 'com.github.Piashsarker:AndroidAppUpdateLibrary:1.0.3'
from your build.gradle

How to use the Plugin.Storereview for requesting reviews on Appstore in Xamarin forms Application?

I am a beginner in Xamarin forms. I have installed the plugin
https://github.com/jamesmontemagno/StoreReviewPlugin
I haven't found any usage documents on how to initialize/ how to do the setup for using the plugin when i looked on the web.
How can I display the prompt to the user using this plugin?
I just did a test and you do not need any additional steps to use this plugin.
Install this plugin through manage nuget packages and the in your project:
Use the namespace:
using Plugin.StoreReview;
Use the method:
CrossStoreReview.Current.OpenStoreListing("appid");
You need to test with a real device instead of a simulator.
The Store Review Nuget plugin has been updated to v3 recently thanks to the new (August 2020) Android native Play Core library so that it displays an In-App Review on both iOS & Android:
https://devblogs.microsoft.com/xamarin/android-in-app-reviews/
So now, initializing and setup is a lot easier and you don't need to pass the appid anywhere, it will be shown directly in the app

Xamarin No Resource found that matches the given name #integer/google_play_services_version

I'm trying to develop an app where you can send push notifications to the users with firebase cloud messaging.
I literally tried everything that i could find on the internet, but I doesn't seem to fix the problem. I compile using android 7.0 Nougat.
I already have this in my manifest file:
meta-data android:name="com.google.android.gms.version" android:value="#integer/google_play_services_version"
When I import google play services to my project, and build, this error appears.
Severity Code Description Project File Line Suppression State
Error No resource found that matches the given name (at 'value' with value '#integer/google_play_services_version'). firebaseTest C:\Users\andre\onedrive\dokumenter\visual studio 2015\Projects\firebaseTest\firebaseTest\obj\Debug\android\manifest\AndroidManifest.xml 14
This problem is really driving me crazy, and I would love if someone could help me solve it.
Thanks in advance!
Did you already get a chance to looking into doing it via azure?
https://learn.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-push-notifications-android-gcm
I havent tried going direct to firebase but if you wanted to send messages via google messaging this is what I'd recommend.

NoClassDefFoundError: android.support.v4.app when sending push?

Im using PushBots to manage my push notifications for my app, I have been using this amazing platform for lots of apps and its the first time I have a problem like this.
Sometimes, when I launch the app, I get this error, but always when receiving a push (within or whitout the app opened).
07-12 01:20:00.844: E/AndroidRuntime(12140): FATAL EXCEPTION: IntentService[GCMIntentService-326*****5*9-1]
07-12 01:20:00.844: E/AndroidRuntime(12140): Process: com.karlol.mo***, PID: 12140
07-12 01:20:00.844: E/AndroidRuntime(12140): java.lang.NoClassDefFoundError: android.support.v4.app.NotificationManagerCompat
> //This is just the beginning of the log, there's more with some
> Pushbots handler info and stuff.... Let me know if I need to post it,
> its a lot.
Im pretty sure this is about the android support v4, this is my current build path:
*Sometimes when I uncheck the Private Libraries clean and re-check this option again the app works (but not lucky with notifications).
The support v4 jar is in the libs folder, the route is the correct (MyApp/libs)
Im about to release an update, my app is already working/running with pushbots servers (with registered devices and all) so I would like to solve this to release my update. Thanks.
As explained in these questions: NotificationManagerCompat Can't be resolved - Android Wear and Android studio unable to import WearableExtender NotificationManagerCompat and RemoteInput. It seems that you are not using the last version of the compatibility support library. You have two options to solve that:
Download the newest libraries manually, and add them to your project.
It seems that you are using eclipse, I recommend that you now use Android Studio so you can add the dependency and let gladle handle the libraries, like this
dependencies {
compile 'com.android.support:support-v4:20.0+'
}
check mark the following jars in build path or property ,it will work
1. android-support-v4.jar(appcombat/ibs)
2.android-support-v4-appcombat.jar(appcombat/ibs)

Trouble building V8 on Windows 7

I have a need to build a desktop app using embedded V8. The online documentation says I need to use gyp. OK, but I can't seems to download gyp. Keep getting an "unable to connect to repository at URL" message. Is there another way to build V8? Is there another URL besides the one published by Google that I can use?
TIA

Resources