I am creating an iOS application using Xamarin Forms which is a copy of an Android application written in Kotlin.
There is a section that lists all the applications installed in the current device by the user. I want to implement the same functionality in the iOS application too.
Is it possible to get the applications list in iOS through Xamarin Forms?
This is impossible on iOS and it is not possible on Android either if you target latest API levels, so in some future when those API levels become required on Google Play you won't be able to do this.
This is a huge privacy issue, as having the list of apps may reveal something very personal and private and as soon as the app has it there is nothing that prevents it to send the info to the 3rd party server.
Related
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
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
I have created a Xamarin Forms PCL Project.
I have a SQL Server database and when my database table is updated, I want to generate a Push Notification for my Android as well as IOS Application.
I don't want to request the table again and again. Is there any other way?
I recommend using the azure but if you do not want to pay, uses Onesignal is free and works for android and ios.
For onesignal, here is a tutorial:
https://julianocustodio.com/2017/11/21/onesignal-push-notification/
You need to write background service in android & iOS which will keep checking the table in database after fixed intervals of time and will generate notifications from it.
Also you need dependency service so that you can call platform specific services from Xamarin.Forms
Is it possible to implement the payment gateway solution in a cross-platform xamarin application.
From a web app we can implement that and the payment page will be opened in gateway provider page. But when it comes to cross platform mobile app we are using xaml pages to design the android pages and have to handle the payment options from this xaml views.
Apple only requires In App purchases if the payment is for digital goods. If you are paying for physical goods, for instance (like my app Waitress.com does), Apple actually mandates that you CANNOT use in app purchases. Same thing with Google.
As to the question (if you are selling physical goods), I am currently looking for the same thing, a payment provider with a .NET client SDK that can work cross platform for Xamarin. If you only need iOS and Android the best option I have found seems to be Stripe, which has a xamarin component: https://components.xamarin.com/view/stripe
For UWP I am contemplating using a web view to tokenize the cards... not very elegant, but could perhaps work.
Possible? Yes.
However any purchases done from within your app on iOS will have to use Apple In App Purchases or Apple will not accept it into the store.
Google TOS likewise requires that any purchases done within your app utilizes Google In app Billing or it can be removed from their store. So though it is possible to create a single billing handler that uses say paypal for both ios and droid purchases. No one has bothered since there is no way to distribute such an app.
You can code an interface for billing in your forms app. Then use an IOC container to inject different versions of that interface on each platform. In iOS use the InAppPurchase Componet and for Droid use the InAppBilling componet. Both componets work basically the same. Different methods etc but same basic concept.
Assumed I want to build an ToDo-list app for Android and iOS that uses RealmDB for storage and synchronisation. Would it be possible to use Realm in a ASP.NET based Web-Service as well to provide a webbased access to the ToDo-list?
Realm for .net requires Xamarin and it only runs on iOS and Android, although there is a popular issue requesting Windows support. It's not possible to use Realm in an ASP.NET application right now, but it's likely that this will be enabled soon.
Disclaimer: I work on Realm for Xamarin