Coder Social home page Coder Social logo

Comments (6)

annakocheshkova avatar annakocheshkova commented on May 15, 2024 1

Hi there @liszto! Yes, I did this integration some time ago with one of my teammates. Is there any part I can assist with?

from appcenter-sdk-unity.

annakocheshkova avatar annakocheshkova commented on May 15, 2024 1

Well if you're using Puppet, you can follow these steps:

  • Open BreakpadSupport Android project and build.
    It's targeted for DemoApp so you'd have to change this path to point to Puppet.
    After build, it fails with complaints about the path, it's ok as long as the binary is present:
  • After build, you will see libPuppetBreakpad.so under Assets/Plugins/Android
  • In the built app, trigger a NullPointerException

Some more details:

  • The crash definition is here
  • Callback setup is here
  • We use breakpad as a submodule in our repo and make a "wrapper" around it with functions for callback and for crashing the app (here).

In general, it's not so complicated to setup if you're familiar with NDK: it's just about building the right binaries. You can make two binaries (one with breakpad, one with setting up a listener), or just make it one big library as we did.

from appcenter-sdk-unity.

liszto avatar liszto commented on May 15, 2024

Yup is complicated to use with the Unity/Android stuff or is it quite straight forward ?

I think you don't have a quick example to make it work ? I have your puppet project so if it's working with this project and you just give me an hint to make a sample test, I can then copy it in our live project :D

If you have something, I could maybe try to integrate it in our CI for Android and in this way have nice log on Android build on AppCenter 💯

from appcenter-sdk-unity.

liszto avatar liszto commented on May 15, 2024

I will take a look on monday morning I think (if I can get free time for this).
Thanks for your answer and the quick start explanation :)

from appcenter-sdk-unity.

tallior avatar tallior commented on May 15, 2024

@liszto can you elaborate on what is Breakpad and how are u using it? (with AppCenter)

from appcenter-sdk-unity.

liszto avatar liszto commented on May 15, 2024

Breakpad is an Android library to symbolicate your Android app build in IL2CPP to something that a human can read when you have some bugs report. This allow you to find the line of the crash / error / issue.
Currently I'm not using it cause I'm not fluent with it but in near future I will.

There is small tutorial here : https://support.hockeyapp.net/kb/client-integration-android/hockeyapp-for-android-ndk-early-access

When you are in your CI pipeline you can use the
appcenter crashes upload-symbols PATH_TO_YOUR_BREAKPAD_ZIPPED_FILE

or use :

the POST method from their swagger here :https://openapi.appcenter.ms/#/crash/symbolUploads_create

Currently I will use method from openapi cause the CLI version from appcenter doesn't support all feature present in swagger.

If you have any question feel free to ask @tallior and btw I'm on Unity forum too with another nickname but I'm the one who sent you an example of our intern CI pipeline ;)

from appcenter-sdk-unity.

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.