Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    vividos
    @vividos
    Thanks for your evaluations! I'd check out the 4.6 features then
    Alex
    @alexislom
    Hi to everyone, maybe you know how to disable icoud synchronization in secure storage (xamarin essentials) for ios
    @jamesmontemagno
    Jonathan Dick
    @Redth
    I’m not sure it’s possible. I think that’s more a user setting in iOS
    Hmm might be possible to implement but we don’t support it currently https://developer.apple.com/documentation/security/ksecattrsynchronizable
    Alex
    @alexislom
    @Redth Thank you, maybe you know any sample, where this property can be implemented?
    Jonathan Dick
    @Redth
    We would have to add support in essentials itself to make use of this if that’s even possible. I’m not familiar with it and we would need to research this more.
    James Montemagno
    @jamesmontemagno
    I don't think we do icloud sync. I mean it is backedup on the device.... i am pretty sure
    Jonathan Dick
    @Redth
    I think on iOS it does go to cloud. Unless it’s just userdefaults I’m thinking of
    James Montemagno
    @jamesmontemagno
    ahhh gotcha
    interesting
    android does sync backup
    i thought the library needed to opt in
    Jonathan Dick
    @Redth
    I know in my app on iOS I had to implement a nsuserdefault setting to wipe out something (can’t recall If it was other nauserdefaults or secure storage) because the app got into a weird state for someone that crashed on startup until it was cleared and uninstalling the app wouldn’t clear it out.
    Coulda been the cache directory or something too
    TheCarlR
    @TheCarlR
    Anyone who has been able to [authorize] an api based on the WebAuthenticator samples?
    https://forums.xamarin.com/discussion/181866/using-the-webauthenticator-with-the-sample-server-webauthenticator
    TheCarlR
    @TheCarlR
    Using the google authentication, what I think, is that the access_token that we receive, was never intended for anything else than accessing google API's. It is simply not a JwtToken. I don't think it was intended by the authors of the google authentication flow to leave the aspnet core site. The idea was probably only cookie auth for websites. So I think the whole example is flawed. Or I simply never understood the meaning and purpose of it. I think there needs to be a federation middleware on the server instead, issuing a new token. Either that, or rewrite the Microsoft.AspNetCore.Authentication.Google to fit by exposing the id_token which is a JwtToken and at least has a hope of being close to valid.
    Please tell me I'm wrong.
    TheCarlR
    @TheCarlR
    Maybe that's what the last sentence tells: "Or, you may want to instead create your own identity on your server and pass back your own token to the app. What and how you do this part is up to you!"
    May I suggest writing the purpose clearer in the manual? Oauth/OpenId is very complex...
    Jonathan Dick
    @Redth
    @TheCarlR yes the example is meant to pass the google/facebook/whatever token back to the app client.. it's really meant as a replacement to doing facebook/google/whatever auth with the native mobile SDK in which you would end up with the same access token
    you can absolutely use this flow with your own middleware to issue a new middleware token and return that to the client instead
    unfortunately, yes, oauth/openid is very complex... the intent of the sample was to show a safer alternative to using social (google/facebook/etc) oauth directly from the client (which has not middleware jwt) where you don't embed client secrets in the client for oauth providers which don't allow implicit flows
    so this is a direct replacement for those folks who are currently leaning on bindings to native sdk's to get the access_token for a social provider
    Julio César Rocha
    @JunielKatarn
    Any ETA for XE 1.6 (with macOS!) release? :D
    HotTotem
    @tomh4
    Hey folks! Anyone else experiencing weird app suggestions when sending file open requests?
    Alex
    @alexislom
    Hi guys, can i send email message in xamarin programmatically without user interaction or open another mail app?
    James Montemagno
    @jamesmontemagno
    you would want to look at something like mailkit or mimekit https://github.com/jstedfast/MailKit
    Jonathan Dick
    @Redth
    i'd also suggest not trying to do this from a phone, and instead setup a web service that the mobile app talks to which does the actual sending of the email via sendgrid or something
    James Montemagno
    @jamesmontemagno
    very true :smile:
    sendgrid is great for this stuff
    combined with azure functions
    Alex
    @alexislom
    Thanks
    Alex
    @alexislom
    Hi, how can i reduce video size on the fly for xamarin ios? (~300 mb for 3 min video is too much for СaptureSession.SessionPreset = AVCaptureSession.PresetHigh; setting)
    Julio César Rocha
    @JunielKatarn
    Is there an ETA for the 1.6 release?
    Julio César Rocha
    @JunielKatarn

    Is there an ETA for the 1.6 release?

    Hi, @jamesmontemagno. Any roadmap or estimate dates we can follow?

    Damian Mehers
    @DamianMehers
    @JunielKatarn not sure if you've seen this: https://github.com/xamarin/essentials/milestones - it doesn't have a due date, but it does show 1.6 as being 52% complete
    Julio César Rocha
    @JunielKatarn
    I hadn’t. Thanks, that’s useful info.
    pm64
    @pm64
    Does anyone know if Essentials provides any kind of support for Bluetooth/BLE serial communications? Or if not, what the best approach would be to implement such support in a Xamarin.Forms app for iOS and Android?
    Jonathan Dick
    @Redth
    it does not
    check out Plugin.Bluetooth
    pm64
    @pm64
    Thanks @Redth! Looks like that library has been subsumed by Shiny (https://github.com/shinyorg/shiny).
    Jonathan Dick
    @Redth
    ahh yeah even better
    Rakesh R Nair
    @rkshnair
    I am trying to open a route in Map and just want to check if the Map API is Xamarin Essentila support multiple route?
    https://www.google.com/maps/dir/Oslo S,/Majorstuen Oslo,/Toyen Oslo,/Skoyen Oslo,/59.8957805,10.8030579
    @jamesmontemagno @Redth any inputs?
    James Montemagno
    @jamesmontemagno
    it does not support multiple routes as there aren't apis on all platforms for it i am pretty sure, but you can use "Launcher" to call that and apps could open it
    Rakesh R Nair
    @rkshnair
    @jamesmontemagno Thanks :)
    Jonathan Dick
    @Redth
    hi folks, we are experimenting with transitioning community channels to discord. Please keep in mind that this discord server is for contributor discussions, it is not a support/ask for help/how do i? server.
    https://discord.gg/qgqQqch
    Julio César Rocha
    @JunielKatarn
    What would be the right channel for Xamarin Essentials?
    I don't even see a Xamarin one.
    My bad. Found it. It's literally #essentials.
    Jonathan Dick
    @Redth
    Yep! :smile: