Giter VIP home page Giter VIP logo

Comments (7)

annakocheshkova avatar annakocheshkova commented on August 16, 2024

Hi @softsan. Please make sure you pass Activity context, not application context when you register CrashManager: CrashManager.Register(this, "$Your_App_Id");. This context is used to display a dialog and application context is not a good choice for that.

from hockeysdk-xamarin.

annakocheshkova avatar annakocheshkova commented on August 16, 2024

Hi @softsan, just a friendly ping, did you manage to resolve your issue?

from hockeysdk-xamarin.

softsan avatar softsan commented on August 16, 2024

Hi @annakocheshkova so in my code
HockeyApp.Android.CrashManager.Register(this, "MY_APP_ID");
here this refers to the current class and i wrote above in my MainActivity so the context it will use it of MainActivity i think. but still that issue occurred.

from hockeysdk-xamarin.

dtrabo avatar dtrabo commented on August 16, 2024

Hi @softsan, could you please provide detail steps to reproduce this? Where are you invoke Register method?

from hockeysdk-xamarin.

softsan avatar softsan commented on August 16, 2024

@dtrabo - as i have mentioned in my previous comment i'm using it in MainActivity.
We have a xamarin.forms app and the Register is invoked from MainActivity.Create() and OnResume()

from hockeysdk-xamarin.

Jamminroot avatar Jamminroot commented on August 16, 2024

Hello, @softsan, Im currently trying to reproduce your problem to be able to help, but I lack information on how to reproduce the problem on my side.
Can you please give me info on the environment (IDE version, OS)?
Are you targeting only Android or is it both Andoid and iOS, and you only get error on Android?
How did you add hockeyapp to project? (e.g. nuget package for VS)
Can you leave hockeyapp-related code here, or, at least, give info on how and in which order you init the service on your app?
What are the steps I have to repeat to get similar error?
I really am willing to help, but unfortunately, It is unlikely without context of issue and details of the problem.

from hockeysdk-xamarin.

MatkovIvan avatar MatkovIvan commented on August 16, 2024

Hi, we haven't heard from you in a while so I'm closing this issue. Please reopen/comment if you have more info (that requested in the previous comment) for reproducing and investigation. Thanks.

from hockeysdk-xamarin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.