Use native Calling and Chat API in Xamarin forms - xamarin.forms

I am building a dating app in xamarin forms. Everything is setup like login,peoples profiles ,payments etc. But now i got stuck on implementing voice call and chat functionality.
There are many library available of native IOS and android like Sinch,Twillio they are not available for xamarin forms. Is there any way of using these library (Specially sinch api).
I tried to achieve it using binding feature available in xamarin but end up with failure. As binding feature only useful in case AAR(Android archive) or Jar library. I was looking for some example or guidance where something like calling/chat/image editor (i.e. where UI and coding involve) has been implemented in xamarin by using native API.

You can use SendBird Messaging SDK and Chat API for Mobile Apps and Websites.
It has support for Xamarin officially and It has a nuget package NOT OFFICIAL for Xamarin.Forms It's works perfectly you can download here
Additionally, you can use this sample on Github that use this nuget package.
This answer is not spam. It's only a recommendation

You can use CometChat Xamarin SDK, It fits your above requirements perfectly. It has Audio/Video call functionalities builtin along with Audio/video broadcast & screen share. For more information you can check out the documentation at the following link:
https://developer.cometchat.com/docs/xamarin-forms-quick-start

Related

Flic Bluetooth Button and Xamarin Forms

I have written my mobile app in Xamarin.Forms and it works great in iOS and Android. My users are wanting to me to integrate a Flic button into the program. Flic is a bluetooth button that allows integration into your app. Click once and something in your app can happen. Click twice ... click and hold ... etc.
The sdk for Flic is quite good but they limit examples and information to just "raw" Android or iOS. Can anyone suggest how to integrate the sdk/dll files into xamarin.forms? I don't know much about bindings, etc.
how to integrate the sdk/dll files into xamarin.forms?
Fortunately, someone has already done it.You can add the binding library of iOS and Android from Nuget.
You can implement the method in iOS and Android .Then use the dependency service to call the method in forms.
If you want to learn more about how to bind native library or package in iOS and Android.
You can refer to iOS Document and Android Document.

Meteor audio calling

I am building chat app and want to add voice chat feature. I came across webRTC protocol and there is package available for it in Meteor. But I found that it is developed for browsers. So if I used it in my application, I believe it will only work on the browser version.
Is there a way to implement audio calling feature that will work on IOS and Android as well?
For iOS and Android (Cordova), you need to use Cordova or PhoneGap package which implements WebRTC protocol and API.
You can easily google it, for reference take a look on phonertc package. I've used it in a few projects and can confirm what it works inside of Meteor app.

Why can't we use angular-fire2 package for firebase with Nativescript Angular app

If nativescript is using javascript engine behind the scene. If I use angular for nativescript development, shouldn't I be able to use angular-fire2 for firebase.
if I could code sharing would be much better with Web and Mob App.
https://stackoverflow.com/a/46088932/6408287 contains the answer you are looking for. In short - NativeScript does not implement the node.js modules specification.
Angular-fire2 is made to run inside node.js, whereas mobile firebase sdks are made to run on mobile platforms. Efficiently. Hence the difference in APIs.
Even if you were to somehow run angular-fire2 on NativeScript, chances are it wouldn't execute as well as the mobile sdks would.

How to use Google map

I am working on Xamarin forms. I am confused as to which Plugin for google map I should use to avoid problems later on.
Are these two the same? Are they providing the same set of functionalities and work well in Android and iOS.
1) Xamarin.Forms.maps
2) Xamarin.Forms.GoogleMap
Need your guidance.
Thanks
Xamarin.Forms.Maps just uses the native map APIs on each platform and provided by Xamarin. There are some APIs which are abstration for displaying map. You can see the API referernce here.
On the other hands, Xamarin.Forms.GoogleMap is 3rd party maps library for Xamarin.Forms optimized for Google maps. As I know, this is forked from Xamarin.Forms.Maps. Please refer to Xamarin.Forms.GoogleMaps project.
Xamarin.Forms.GoogleMap is no longer so you have no choice, you must use Xamarin.Forms.Maps only.

integrate Firebase with cocos2dx

I have one game built using cocos2dx game engine, and I want to use Firebase features (Authentication using Google and Facebook), can you help me to select the best way to integrate with Firebase.
I tried using C++ sdk, but I had many issues. Then I tried to integrate it using Java code in the Android version, and it was working, but in the iOS version, I have issues.
Please your help to do it in iOS or use C++ sdk
Thanks

Resources