Integrate Twilio Chat feature in Xamarin Forms App - xamarin.forms

I’m currently developing a Xamarin Forms (to target both Android and iPhone) mobile application (code sharing strategy – .NET Standard) and I want to integrate Twilio Chat feature into it. While searching for related documents I have seen some posts (https://www.twilio.com/blog/2016/05/how-to-build-android-chat-apps-using-xamarin-and-twilio.html) and looks outdated. I have tried to add the "Twilio IP Messaging for Xamarin" package from Nuget but it's not listing out there. While searching I have found a similar package called "Twilio.Chat.Xamarin"(https://github.com/twilio/TwilioChatXamarinBindings) but it seems to be native and using shared code sharing strategy. Some of them say (https://github.com/twilio/twilio-chat-demo-android/issues/21#issuecomment-468183784) that support for .NET Standard is not available at the moment. Is this true? Are there any methods to integrate Twilio chat feature into .NET Standard Xamarin Forms project? It would be nice if you can share your thoughts or some links so that I can take a look.
Thanks

Got response from Twilio support:
Unfortunately, Twilio does not fully support Xamarin, our team has
authored Xamarin bindings which can be found here:
https://github.com/twilio/TwilioChatXamarinBindings. That being said,
Twilio Support can only provide support for our JS SDK which the
Xamarin bindings make use of.

Related

How to implement Login with Google through Firebase within a .NET MAUI application

I am developing a .NET MAUI app for use on iOS, Android, and Windows devices.
In general, I have found that the documentation on Firebase to be lacking when integrating within any .NET application. In particular, given the quick rise of .NET Maui's popularity, I don't see any advice with regard to allowing my MAUI app to add Firebase authentication via Login with Google or Facebook. Maybe the documentation hasn't caught up yet?
Here is a screenshot the the project settings in my Firebase project.
Do I need to configure an Android app and then an iOS here for Google login?
If there is anyone who has accomplished this for .NET MAUI and could provide some guidance, I'd be all ears.
I am currently following a Xamarin tutorial here: https://www.youtube.com/watch?v=NYMCrD9klA0

Payments using Stripe on Xamarin Forms

I am stuck... I was under the impression using Stripe in a Xamarin Forms application was easy, but that doesn't seem to be the case any more.
I have a Xamarin Forms (both Android and iOS) app that I want to integrate with Stripe for payments. I have an API which creates a Payment intent, submits the amount and currency etc using the Stripe.net NuGet extension, and returns a client secret... but it turns out, there is no Stripe client available to use this client secret.
There are Android and iOS native elements controls which I should be able to somehow include in my Xamarin Forms application or the use of a webview and using stripe.js.
Can anyone tell me which of these two options is most suitable? I have never used binding for including Android and iOS packages (I'm not clued up on the individual platforms) and the webview seems to me to be a poor UX... I'm only speculating, because I don't know... I'm hoping there is someone on here who has experience with Xamarin FOrms and Stripe who can point me in the right direction.
Thanks

Using / Accepting Certificate in Xamarin Forms Application

In my Xamarin Forms(iOS & Android) Application I am using Azure API app for consuming the API's. Previously I was using Bareer Token only for authorisation. And recently the team handling services implemented Client Certificate as an additional security measure. But I am not sure how I can achieve the same in Xamarin Forms.
I am using .Net HttpClient for consuming the API's.
I have found several people asking the same question in the stackoverflow and Xamarin forums. But I haven't get a solution for Xamarin Forms that can be used for both iOS and Android.
I do find people advising to implement this specific to Platform; But there also I can't find any method to use it along with my current HttpClient implementation.

Add Authenticator for Xamarin Forms

Is there a way to achieve SSO in Xamarin forms app. I have done some basic research and have zeroed down on 2 approaches for Authenticating my enterprise apps.
1.) Use microsoft company portal intune. For this I would be creating a new sample app, registering it in Azure AD, configure InTunes in Azure, installing Microsoft Authenticator,use InTune nuget packages for Xamarin forms side of code.
For this do we have any steps on how to achieve the same or some head way, regarding app registration and configuration in InTune, configuration of new URI for app, code changes at App end, in order to invoke Authenticator, code snippets for Xamarin Forms and not for Native apps.
2.) Leverage Service Broker. I had found this link, which expands on the same, but could not get any ADAL DLL's to achieve the same.
So do we have any concrete or recommended approaches in achieving SSO with microsoft authenticators for Xamarin Forms Apps, would be glad to know more.
Thanks In Advance!!!..

Visibility of data with web api and xamarin.forms

I am creating small project in xamarin.form (to learn xamarin and mvvm pattern ), where my mobile application will be connect to SQL Server database. On every forum people suggest to use Web Api to get json's from database and next in xamarin application i go under link where is json, parse it and its done. I did an test project which is doing that and it works very well. Unfortunatelly after few days I realized that all data is visible.. If I enter under url/api/subject I get this data in json.
My question is. Should I connect from my xamarin application directly to SQL Database OR is there any way to not showing json's in browser?
To function correctly, many mobile applications are dependent on the cloud, and so integrating web services into mobile applications is a common scenario. The Xamarin platform supports consuming different web service technologies, and includes in-built and third-party support for consuming RESTful, ASMX, and Windows Communication Foundation (WCF) services.
This article discusses this topics.
For customers using Xamarin.Forms, there are complete examples using each of these technologies in the Xamarin.Forms Web Services documentation.
I recommend you learn more about REST architecture

Resources