Setting up Firebase for a Xamarin Project - android

I am trying to setup firebase push notifications for my xamarin project, everything seems to be in order however I am currently getting a build error enter image description here
What can I try from here? I used this video on Youtube as a reference https://www.youtube.com/watch?v=7w2q2D6mR7g

I had 2 [Application] Tags within my android project. I just had to remove one.

Related

How to customize specific element in Firebase AuthUI

I am trying to customize the firebase AuthUI interface in order for it to fit with my background image.
Partially , I solved the problem using the solution provided here: How to customize firebase auth ui
Unfortunatelly , I can't find the attribute I need to modify in order to modify the color of the text in the Number Authentification function?(The one that says "By tapping "Verify Phone Number" ... ")
Can somebody help me with the name of the attribute I need to modify? I am developing an Android app in Android Studio using Kotlin.
Since the firebase-auth-ui is just an open source project by the Google its source code is provided on Github. So, the best way to your problem would be to pull/clone the github repository of firebase-auth-ui for app (Android I am assuming).
The link to their repository is : https://github.com/firebase/quickstart-android/tree/master/auth/app
Just clone it or download zip file of it. Change it according to your own UI needs and then upload it to github or directly link it to your project.
The process is long but will assure you a quality app.

Error in installing package for Microsoft.Azure.NotificationHubs in xamarin forms

I am quite new to azure hubs. But spent three days to understand the flow(to use in xamarin forms).
Currently tying to link with android only(through xamarin forms). So when I thought everything needed is ready(GCM key and azure access policies) from my side, I started coding using vs2015.
First thing I did was creating "Blank portable cross platform" project.
Then,tried to install Microsoft.Azure.NotificationHubs package. PFA
But I am getting following errors( related to Profile259).
I spent whole day to understand what error is saying and I understood that package is expecting different target framework than what I am referring.
So I tried changed to other versions and through some blogs I found that maybe this Profile259 directory is missing.But it's all there.
Package is expecting .Net Framework 4.5 Full Profile. I cross checked it by following the link
I updated my azure version.Nuget package is also latest.
So what could possibly go wrong.
Please guide me in right way to get push notifications in devices.
PFA below.
I had to add it as a component. Go to the Components under the Android and iOS project, select edit components off the context menu, and add the "Azure Messaging by Xaramin" component. You'll probably have to download it by clicking "Get More Components".
If you're working on Android only for now, try removing all other targets from screenshot #2. There's a chance the error message is caused by one (or all) of the Windows targets.

Google App Engine Cloud Endpoints Pr#blem Marker - > Generate App Engine Error on clean Android Project

I created a clean Android Application A then I right clicked on it and selected Google->Generate App Engine That caused this:
and the error description is that:
Description Resource Path Location Type
There was a problem generating the API metadata for your Cloud Endpoints classes: com.google.api.server.spi.tools.ClientLibGenerator$Language A-AppEngine Unknown Google App Engine Cloud Endpoints Problem Marker
How to fix this?
After checking out a lot of posts I finally fixed this error, though I have no clue why it is happening:
Right click on the project
Properties-->Builders
Uncheck the Google App Engine Project Validator.
Then clean the project.
Then check the Google App Engine Project Validator again.
Then left click the project,
Go to Project-->Build Project.
Done.
Anyone can explain this?
The true answer is: Download older App Engine 1.93 even if you should 1.94.
I had this problem a while back with an android app and the accepted solution worked.
Right now I have the same problem with a GWT/GAE app. (GAE 1.9.9)
The only way I can stop it is revert to a backup. On replacing the (irrelelevant) code changes the problem has not so far not reappeared.

Adding Chartdroid library to an Android project

How do I add the Chartdroid library to my android project? I have gone on their website to download the source code but every way I try to add the file to my project it just shows up as gibberish and gives me an error message.
If possible could you give an extremely basic/simple explanation on how to do this because I am very new to both programming and android platforms.
Try to get the example app working and understand how it works. Then create your own application on the level of a HelloWorld appliction which makes a simple chart from a static array of data. That should get you pointed in the right direction.

Facebook SDK not included with Android App in Eclipse?

I'm trying to add the facebook SDK to my project but it won't work at all.
I've followed the official steps; opened the fb sdk, made sure it's set to "is library", in m yown project go to properties->android->add library and it lets me select com_facebook_android and it shows up with a green tick next to it. HOWEVER, when i go back to that screen straight away it now has a red cross next to it, and if i try to launch the app in the emulator it has " com_facebook_android] Could not find com_facebook_android.apk!"
(This is just me testing without referencing the library in my app)
if i DO reference the library, then any calls to the facebook library give an error within eclipse and the tooltip suggests to add it to build path, so if i click that it launches fine, but still does the above apk error and the app force closes on any activity which references facebook.
As far as I can tell I'm following the official instructions fine but it just keeps coming back to that red cross in my app's properties
Does anyone know what this could be?
Not sure why you have the issue, i've setup a empty project with facebook library in it, if you have no luck then try downloading that, unzipping it and importing exsiting project into workspace.
link : Download here
you know what i have done one trick to use the official facebook SDK in my application, i have created com.facebook.android and add all the library classes into it. Then i can easily reach to access any class whenever i want it. This can be a way to use the classes inside your application instead of using Library.
Its running fine in my case.

Categories

Resources