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
    but also gave the error
    Jonathan Peppers
    @jonathanpeppers
    it's either than or one of these singletons
    you don't know how to repro, so could it be something weird like a phone call/text message over top of your app?
    Gekidoku
    @Gekidoku

    thing is the crash happened after 5m 49s, and i also call/assign license in the same way in the app's OnStart and no errors there

    but i can try to stick it in a variable again and check that one for null

     var License = Helpers.Settings.License;
                if (License != null)
                {
                    var LicenseTrimmed = License.Replace("/", "").Replace("\\", "").Replace('"', ' ').Trim();
                    var req = new RegistrationUpdate()
                    {
                        SerialKey = LicenseTrimmed
                    };
    //The rest yadiyada
    Jonathan Peppers
    @jonathanpeppers
    I still think try-catch is the best idea
    Gekidoku
    @Gekidoku
    yeah sticking one around as well
    but app center sdk isnt working with me on this,
    Jonathan Peppers
    @jonathanpeppers
    did you see if mono-symbolicate could give you a line number?
    Gekidoku
    @Gekidoku
    not yet
    Jonathan Peppers
    @jonathanpeppers
    you would have to keep the mSym directory from the build you submitted
    Gekidoku
    @Gekidoku
    this gives a LinkAssemblies task failed unexpectedly now...
    failed to resolve Crashes.TrackError();
    Jonathan Peppers
    @jonathanpeppers
    needs a using?
    Gekidoku
    @Gekidoku
    all the way on top of the file
    Jonathan Peppers
    @jonathanpeppers
    what is the error? Is there two?
    I would think you would get a C#/Csc error
    Gekidoku
    @Gekidoku
    its during build not in the code
    Jonathan Peppers
    @jonathanpeppers
    Try Rebuild is this a Debug build?
    The linker is set to None or something else?
    Gekidoku
    @Gekidoku
    Release build,
    Linker to SDK only,
    Multidex on (cuz of the size),
    Target API 28
    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