by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gekidoku
    @Gekidoku
    trying a rebuild with linker to none
    Linker to none no errors
    apps going to be huge without linking :))
    TonyLugg
    @TonyLugg
    @TonyLugg
    image.png
    How can I create an interactive notification in Xamarin Android? For example, the Microsoft Authenticator app sends a notification and the user can Deny or Approve the authentication process. Tapping Approve probably calls some method in the Authenticator app, which then communicates to their back-end.
    Gekidoku
    @Gekidoku
    Do you already use a push service for notifications?
    TonyLugg
    @TonyLugg
    Yes
    Gekidoku
    @Gekidoku
    which one
    TonyLugg
    @TonyLugg
    Azure Notifications Hub
    Jonathan Peppers
    @jonathanpeppers
    @Gekidoku I wouldn't set it to None for a Release build. What NuGet package is that method from?
    Maybe we need to file a bug
    Gekidoku
    @Gekidoku
    Microsoft.AppCenter.Crashes
    Jonathan Peppers
    @jonathanpeppers
    Version?
    Gekidoku
    @Gekidoku
    im using 2.6.2
    cant find a changelog
    heh i may know why its not working....
    the ol classic
    forgot to update the package in the android project
    TonyLugg
    @TonyLugg
    @Gekidoku In the app, I'm using FCM
    Gekidoku
    @Gekidoku
    I use https://github.com/CrossGeeks/FirebasePushNotificationPlugin since mine is a Forms app.
    and they have a way to have your own User notification categories
    TonyLugg
    @TonyLugg
    The docs have details about how to enhance the appearance of a notification, but nothing about how to make it interactive
    TonyLugg
    @TonyLugg
    OK, I'll check that out, but my notifications work. The doc shows how to create categories, but nothing for interactive. Are your notifications interactive?
    The Xamarin iOS docs have interactive notificatoins...
    Gekidoku
    @Gekidoku
    Mine arent, certain types of notifications do trigger functions automagically but i dont use interactive ones
    TonyLugg
    @TonyLugg
    Clearly it is possible since MS is doing it with their Authenticator app. I would like the user to respond to a question, yes/no, as a convenience.
    dont know about regular xam
    @jonathanpeppers me updating the package in the android problem "solved" the linker error
    Jonathan Peppers
    @jonathanpeppers
    :thumbsup: sounds good
    TonyLugg
    @TonyLugg
    I'd rather not use FIrebase for iOS.
    Gekidoku
    @Gekidoku
    I dont use azure myself, i just use fcm
    TonyLugg
    @TonyLugg
    The Azure part works well for me. I'll dig more into interactive notifications for Android. Perhaps the links you provided will help.
    Gekidoku
    @Gekidoku
    Or you could at least look how they do it in the android source and copy the parts you could use
    TonyLugg
    @TonyLugg
    Exactly! Thanks.
    TonyLugg
    @TonyLugg
    @Gekidoku Looks like there is a Notification.Action.Builder for Android notification buttons.
    Gekidoku
    @Gekidoku
    @jonathanpeppers Update,
    Its not the license its crashing on.
    It crashes on the line thats Line 21 in the pastebin https://pastebin.com/TkRkavGd
    with the last build we did yesterday i generated symbols as well. and symbolicated
    Gekidoku
    @Gekidoku
    going to check for Crossfirebaseyadiyada.current == null
    and if so call the register method that should fill it.
    Jonathan Peppers
    @jonathanpeppers
    :thumbsup: yeah I’m not sure what sets that value, how it would become null
    Gekidoku
    @Gekidoku
    Its from another package so havent looked at it
    Grace Fleming
    @flemingg_gitlab
    Question for the masses...I'm working on trying to put my xamarin-android project into a docker image so I can run it in gitlab pipelines. So far I've gotten to errors similar to what @tstivers1990 had when this issue was last discussed using a base mono image (taken from https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Mono.gitlab-ci.yml), around June 4th 2016. Do you know if there's been any development into creating a working docker image? I've also checked out https://github.com/nathansamson/xamarin-android-docker/blob/master/Dockerfile but I ran into errors similar to the ones using the mono image.
    (disclaimer: I'm new on here, sorry if this isn't the correct way to go about addressing this question)
    IoTFier
    @IoTFier
    Hi @jonpryor - trying to migrate my XF Android project to AndroidX .. getting error - error: OnDynamicRoutesChangedListener is not public in DynamicGroupRouteController; cannot be accessed from outside package androidx.mediarouter.media.MediaRouteProvider.DynamicGroupRouteController.OnDynamicRoutesChangedListener ... any clue ?
    IoTFier
    @IoTFier
    And the build is running forever... after it showed the Time Elapsed of 00:05:47:43
    IoTFier
    @IoTFier
    moljac
    @moljac
    MediaRouteProvider.DynamicGroupRouteController.OnDynamicRoutesChangedListenerissue has been fixed this week. Not yet in preview, rc1 nor stable yet
    @IoTFier ^
    IoTFier
    @IoTFier
    thank you @moljac. I am using VS 16.4.2 ... stopped my build, cleaned solution and started the rebuild... it seems to be building this time very well...
    no ... it failed again for the same error.
    is there a nuget that you can pass it to me .. would test it for you before your release go out ...
    moljac
    @moljac
    It is on master of AndroidX. Build it and you will get nugets.