Questions tagged [xamarin.essentials]

A cross-platform .net library that goes with Xamarin and Xamarin Forms to provide device specific API such as GPS, Media, etc

195 questions
1
vote
0 answers

Cancel button on browser of WebAuthenticator cause Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=1

Im using xamarin essentials WebAuthenticator for social media login. After the browser open with login form is user press the cancel button on browser it gives me "Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=1" error. How…
1
vote
0 answers

No image or text appears when attemping to share to Twitter/Instagram using Xamarin.Essentials

I am using Xamarin.Essentials share feature but with lackluster success. If i do a: await Share.RequestAsync(new ShareTextRequest { Text = "Works", Title = "Not working" }); and open Twitter or Instagram or Whatsapp, i…
DiddanDo
  • 401
  • 1
  • 5
  • 15
1
vote
2 answers

How to get Apple User Name-Surname and Email after getting authToken with Xamarin Essentials Web Authenticator

I want to get email and user name and surname etc.. from Apple after Xamarin Froms Essentials Web Authenticator. I get only WebAuthenticatorResult which contains only token, refresh token and token Id. How can I get user info with this tokens? I use…
1
vote
1 answer

Xamarin.ios appropriate location to ask for permissions

I need to ask for permissions in a Xamarin.iOS Application with Xamarin.Essentials. All the examples I've found so far are about Xamarin.Forms which I'm not using. All the samples I have found so far are about asking permissions when pressing a…
anon
1
vote
3 answers

Xamarin.Essentials WebAuthenticator server side implementation redirects to login page instead of 401?

I'm trying to make sense of the WebAuthenticator documentation and sample. The goal for me is to have a server based social login in the app (oauth 2). ASP.NET core server back end Sample.Server.WebAuthenticator When using this implementation, it…
Carl R
  • 8,104
  • 5
  • 48
  • 80
1
vote
1 answer

Can't make Apple Sign In work with Xamarin.Essentials

I know this might not be the best question, not much information, but I will try. I'm trying to add Apple Sign In to Xamarin.Forms app using Xamarin.Essentials. As of now, I'm just trying to make it work on iOS 13, without going any further yet,…
1
vote
1 answer

Xamarin Forms essentials Preferences

According the documentation on Xamarin Essentials Preferences. I understand that the preferences will removed when the app is unistalled. Persistence Uninstalling the application will cause all Preferences to be removed. There is one exception…
ChampChris
  • 1,565
  • 5
  • 26
  • 44
1
vote
1 answer

Retrieve Location Information only from GPS Sensor in Xamarin Android

Is there anyway I can configure my android app to take the location information only from GPS sensor. I am using Xamarin.Essentials package for getting the location information. And in my manifest I have added the following permissions based on the…
1
vote
2 answers

Export / Import Xamarin.Essentials Preferences

I was looking for a quick / simple way to import and export the Preferences object exposed by Xamarin.Essentials. Any suggestions?
George M Ceaser Jr
  • 1,497
  • 3
  • 23
  • 52
1
vote
1 answer

Xamarin Essential Share in iOS 13

I wanted to implement share feature in my app with xamarin forms '4.2.0.709249' and xamarin essential 1.3.1 Everything works fine except Reminder feature in iOS 13.0. It does not get my title or URI that i am sending through my share api. And also…
TTT
  • 11
  • 3
1
vote
0 answers

How to position iOS share dialog by default top-left to top-right of the app?

I am developing an iOS app using Xamarin.Forms. I am using Xamarin.Essentials for sharing CSV file in the app referring the link https://learn.microsoft.com/en-us/xamarin/essentials/share?tabs=ios. But it shows the share dialog on top left corner…
Ramesh
  • 392
  • 1
  • 12
  • 39
1
vote
1 answer

Xamarin.Essentials SecureStorage not persisting in android after play store update

On my Xamarin.Forms app I'd like to persist user/token info upon play store update. On iOS it does work as expected, having the data persisted even after manual uninstall/reinstall. I'm gone through all the initializations steps for Essentials on…
1
vote
2 answers

Done callback from WebView

in my XF application I have the possibility to open a web page. For do this I use the Xamarin.Essential: await Browser.OpenAsync(url, opts);. I need to have a callback when the user tap on Done button (on iOS) or the back button (on Andorid). How…
Hikari
  • 589
  • 7
  • 29
1
vote
1 answer

Xamarin.Essentials:Preferences Isn't Storing Stepper Value

In my application, I have multiple steppers with corresponding entries to display each stepper's current value. I am attempting to use Xamarin.Essentials:Preferences to save this value for later use when the app is reopened, but Preferences doesn't…
StevenB
  • 39
  • 1
  • 10
1
vote
1 answer

Xamarin Map and returning user to the app and location error

Ok, I am using Xamrian Essentials from here https://learn.microsoft.com/en-us/xamarin/essentials/maps?tabs=android to use a map in my android application in xamrian forms. However, How does one make sure that the app returns the user to the previous…
c-sharp-and-swiftui-devni
  • 3,743
  • 4
  • 39
  • 100