Razorpay integration in xamarin android - xamarin

Could anybody help in integrating Razorpay in xamarin android project.
I tried calling directly the url in webview,but it is getting stuck in checkout page.

Related

Login callback from WebView(Xamarin+.Net Core 5 identity)

I have a .net core 5 Identity service. And it is created in MVC architecture. It contains Login, Register, Forgot password and change password views(.cshtml) and its codes.
I also created one Xamarin app.
How can I connect the xamarin app with .net core identity?
I put some code changes in xamarin forms but the response after login successful is not getting the result(token) on the Xamarin site.
"await Browser.OpenAsync(new Uri(loginUrl), BrowserLaunchMode.SystemPreferred);"
We cannot use xamarin forms in .Net Core as it doesnt support template in VS 2019.
Instead, we can use .Net Framework. To add a Xamarin Forms project to the solution, right-click the solution and go through the following steps: Add -> New project -> Search for Xamarin and choose a project according to your requirements. Give your app a name and click OK.
You can refer to this BLOG for more information.

Open NativeScript project in Android Studio

I have a robust app, created with NativeScript + Angular.
I would like to drop NativeScript and be able to continue working on the project in Android Studio.
We need to stop the development with NativeScript, without starting the app from scratch. Is this possible?
I've been trying to Google for it, but the docs are disappeared every link shows up 404.

Xamarin.Android Adyen Integration & Bindings Library .aar

Hello colleagues developers,
I'm currently developing a Xamarin Form app that requires the integration of a Payment Service Provider. My company requires that I use Adyen as the PSP.
Adyen itself doesn't provide any information on Xamarin integration. Information exist for Android and IOS but can't find anything for Xamarin forms / Xamarin.Android.
I've created a Bindings Library (android).
I've added the.aar file provided by Adyen into it.
Then I built it with the LibraryProjectZip property but after adding the reference to my Xamarin.android project, I can't use any methods that should be in it...
I've tried this process with another .aar and everything went fine...
Does any of you have already integrated Adyen in a Xamarin form / Xamarin.android app ?
Thanks in advance,
Noste

Geting exception "SetUp : System.Exception : Unable to contact test backend running in app" while running a UI test case using Xamarin UI Test

I have an iOS app which is not developed using Xamarin. Now I am trying develop UI test cases for this App Using Xamarin UI test project. I am using Xamarin studio to develop my UI Test Cases in C#.
I am running the test cases in Mac machine.
I am using .ipa file to install the App on to the iOS device. I installed the app and trying to execute below code. Below code is opening the App successfully but failing with below exception
"SetUp : System.Exception : Unable to contact test backend running in app. A common cause is that the app is not properly linked with Calabash. Please verify that it includes the Calabash component."
Code i have used is:
IApp app = ConfigureApp.iOS .EnableLocalScreenshots() .DeviceIdentifier("f8c67472f88efb1985c2f5e73698d6bb367807fd").InstalledApp("<<App Bundle ID>>").StartApp();
You must add the Xamarin TestCloud Agent to your iOS solution ; here is the link for the Xamarin package, where you can have a lot of information. Since you're using native iOS I suggest you find the same framework package for native iOS, which should be somewhere on github.
The rest of the setup is still valid wether its Xamarin or iOS

How can we Integrate Xamarin.Forms Application/Component with Xamarin native Application?

I have developed an app/component using Xamarin.Forms and as per the requirement I need to integrate that component with another app which is developed on Xamarin Native in Android as well as iOS.
Kindly help me with the suggestions or references
I've seen something like that on a sample called Native2Forms.
What it does, at least in Android, is to use a separete activity to integrate the Xamarin Forms PCL (FormsActivity).

Resources