Plugin.Firebase | Wrapper around the native Android | Authentication library
kandi X-RAY | Plugin.Firebase Summary
kandi X-RAY | Plugin.Firebase Summary
This is a wrapper library around the native Android and iOS Firebase Xamarin SDKs. It includes cross-platform APIs for Firebase Analytics, Auth, Cloud Messaging, Dynamic Links, Firestore, Cloud Functions, Remote Config and Storage.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Plugin.Firebase
Plugin.Firebase Key Features
Plugin.Firebase Examples and Code Snippets
Community Discussions
Trending Discussions on Plugin.Firebase
QUESTION
I want to send notifications with FCM to an iOS App. It works fine when I send it to the token, but it doesn't work when I send it to a topic. I tried subscribing the App to the topics using this:
...ANSWER
Answered 2022-Feb-09 at 13:46I figured it out. In the AppDelegate.cs you can override the RegisteredForRemoteNotifications and you can just subscribe there. This means, it will subscribe if the user grants the permission to send remote notifications. After that it worked perfectly.
QUESTION
I'm not able to show push notifications using Plugin.FirebasePushNotification when my Xamarin app is closed.
This is what I have done so far:
- Added google-services.json and set its build action as GoogleServiceJson
MainActivity.cs
...ANSWER
Answered 2022-Feb-20 at 05:04Just found the answer at project page of Plugin FireBasePushNotification:
3rd point of theirs FAQ:
"3 - You won't receive any push notifications if application is stopped while debugging, should reopen and close again for notifications to work when app closed. This is due to the application being on an unstable state when stopped while debugging."
So, everything what I have done to do was close and reopen application using only the phone(not debugging through visual studio), and bingo, now it works!
QUESTION
When I try to add the Plugin.FirebasePushNotification
to my Xamarin.Android Project in Xamarin.Forms, I receive the following message, and the package isn't added. It seems to work fine on the iOS and Shared Projects, however. How would I fix this?
ANSWER
Answered 2021-Apr-16 at 05:17Try clearing NuGet cache via command line:
QUESTION
i'm using xamarin iOS FirebasePushNotificationPlugin for cloud messages, but i'm receiving the token but i can not receive any notification. CrossFirebasePushNotification.Current.OnNotificationReceived
even not firing.
here is how my appDelegate looks likes.
...ANSWER
Answered 2020-Jul-03 at 14:52Issue is based on Apple key, apple key should be upload to firebase cloud panel and it'll work
QUESTION
- Inside the method
signup
, I am mockingfirebase.auth().createUserWithEmailAndPassword
and making it throw anerror
- So now i expect that the parent method i.e
signup
should also throw since asub-method
of thesignup
method has thrown an error - But test cases are failing , What am i missing here ?
App.js
...ANSWER
Answered 2020-Apr-28 at 18:48This has a few problems:
QUESTION
I have an Android app using Gradle with Kotlin DSL. I'm adding Firebase Performance Monitoring, but I would like for it to be enabled only for a specific build type.
I've been following the instructions provided at Firebase - Disable Firebase Performance Monitoring. Unfortunately the provided snippets are in Groovy.
I've tried to get a reference to the Firebase Performance Monitoring extension in my app level Gradle script by doing the following:
...ANSWER
Answered 2020-Apr-15 at 11:00Had the same issue and was going to apply from groovy file, but seems i found the solution in here: https://docs.gradle.org/5.0/userguide/kotlin_dsl.html#sec:interoperability
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Plugin.Firebase
Create a Firebase project in the Firebase Console, if you don't already have one. If you already have an existing Google project associated with your mobile app, click Import Google Project. Otherwise, click Create New Project.
Click Add Firebase to your [iOS|Android] app and follow the setup steps. If you're importing an existing Google project, this may happen automatically and you can just download the config file.
Add [GoogleService-Info.plist|google-services.json] file to your app project.
Set [GoogleService-Info.plist|google-services.json] build action behaviour to [Bundle Resource|GoogleServicesJson] by Right clicking/Build Action.
Add the following line of code to the place where your app gets bootstrapped:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page