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
    What i find odd is the amount of threads with okhttp in them
    almost as if its not getting rid of requests or something
    Jonathan Peppers
    @jonathanpeppers
    I see several things that could be null
    Gekidoku
    @Gekidoku
    Shout, Ive already spend all day looking at my screen for other stuff so im kinda drowzy :P
    version b4 this i already had a big IF round it with if(CrossFireBasePushNotification.Current != null), still gave the error so striped that one off,
    Had a version where i first checked the serial key and set it in a string variable and then made the requests by filling it from that variable rather than with helpers.settings each time, still had the nullref,
    Restmanager result can be null but i check for that.
    so im kinda at wits end
    Jonathan Peppers
    @jonathanpeppers
    Are you using some crash reporting service App Center?
    Gekidoku
    @Gekidoku
    yes
    Jonathan Peppers
    @jonathanpeppers
    Do they also have an event API?
    add a try-catch around it, and send the event
    You might also consider if License is null here?
    Helpers.Settings.License.Replace("/", "").Replace("\\", "").Replace('"', ' ').Trim()
    It's called in two places
    Gekidoku
    @Gekidoku
    yah version b4 this i had it stick itself in a variable
    then checked the variable
    and then put it in the request
    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....