<div dir="ltr">The easiest tool to use is logcat with the Android emulator.  Logcat is part of the Android SDK which you installed while you were setting up your development environment (it may have been installed by another tool but it is there).<div><br></div><div>All you need to do is, from the command line, run logcat.  Then run your application and wait for it to crash, and you will find the stack trace (and a bunch of other stuff), in the log.  It is possible to filter the logcat output based on the package name of the application generating logs, but one thing at a time.</div><div><br></div><div>Summers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 19, 2017 at 4:11 AM, Federico Cerminara <span dir="ltr">&lt;<a href="mailto:fedecentrico@gmail.com" target="_blank">fedecentrico@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font size="4">Still not able to introduce a tool to produce a stacktrace. I know it would be helpful (if you have suggestions about which tool/plugin/approach to use...) but now i am still not able to do it. </font><span lang="EN-US"><font size="4">I’m a beginner in cross platform app development, as i said before :(</font><br></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-04-18 17:23 GMT+02:00 Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Apr 18, 2017 at 10:55 AM, Federico Cerminara <span dir="ltr">&lt;<a href="mailto:fedecentrico@gmail.com" target="_blank">fedecentrico@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Summers, <br></div>thanks for your immediate reply. The OS on the device i am testing now is Android 6.0.1, but I don&#39;t know if it&#39;s an useful information cause I&#39;m using Ionic 1 and Angular 1 to develop a Cross Platform App. <br><br></div><div>The code is not publicly available but I can share some code pieces if you suggest me which pieces of code could help us for this analysis.<br><br></div><div>It&#39;s not ax example app, I just took inspiration from the snippet of code included in Android aerogear variant and used them to complete my app.js code.  <br><br></div><div>How could you help me?<br></div></div></blockquote><div><br></div></span><div>Would you be able to include your stack trace from logcat when the application crashes?</div><div><br></div><div>I&#39;m not as familiar with Cordova as I should be, but I should be able to make heads or tails of it.</div><div><div class="m_-8515675144550618316h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>Thanks anyway, Federico.<br><br></div></div><div class="gmail_extra"><div><div class="m_-8515675144550618316m_-1928189413010546042h5"><br><div class="gmail_quote">2017-04-18 16:33 GMT+02:00 Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Frederico,<div><br></div><div>Hi, sorry you are having trouble with UPS.  If you could help us out by answering a couple of questions that would be great.</div><div><br></div><div>1) Which OS is your applicatoin having trouble on and are you using Cordova or native libraries?</div><div><br></div><div>2) Is your code publicly available somewhere for us to look at?</div><div><br></div><div>3) Are you using the example app or is this your own implementation?</div><div><br></div><div>I know from experience that with Android one of the common problems is that if the application has been killed by the OS then the Push libraries have to be reinitialized before you can send metrics to the server.  If you are initializing your push libraries in an Activity class instead of the Application class this may be something to double check.  Of course if this is iOS or Cordova then everything I just said is nonsense :)</div><div><br></div><div>Summers</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-8515675144550618316m_-1928189413010546042m_-2482881479116987358h5">On Tue, Apr 18, 2017 at 10:18 AM, Federico Cerminara <span dir="ltr">&lt;<a href="mailto:fedecentrico@gmail.com" target="_blank">fedecentrico@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-8515675144550618316m_-1928189413010546042m_-2482881479116987358h5"><div dir="ltr">

<p class="MsoNormal"><span lang="EN-US">Hi, <br>
my name is Federico Cerminara, 35 years old, engineer and web developer in
Rome.<br>
I’m a beginner in cross platform app development and I’ve started using
aerogear cordova push plugin to enable reception of push notification. <br>
<br>
I’ve developed my first app. I’m able to receive correctly push notification,
both sending them directly by aerogear admin panel after choosing a variant and
and sending them from the application backend following a custom logic. If I
have my app closed or already open, clicking on push notification seems to
behave correctly, bringing user to application first page. Instead, if I try to
close all my applications after receiving one or more push notification (image
notification frequency is quite low) and then I try to click on my waiting
push, application crashes showing a message that sound quite like this “The
program &lt;app_name&gt; has been interrupted”</span></p>

<p class="MsoNormal"><span lang="EN-US">Can you
tell me a way to solve this problem?<br>
Thanks anyway, Federico.</span></p>

</div>
<br></div></div>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><span class="m_-8515675144550618316m_-1928189413010546042HOEnZb"><font color="#888888">-- <br><div class="m_-8515675144550618316m_-1928189413010546042m_-2482881479116987358gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Puoi trovarmi qui, se vuoi:<br><a href="http://www.facebook.com/fedecentrico" target="_blank">facebook</a>, <a href="http://www.flickr.com/photos/fedecentrico" target="_blank">flickr</a>, <a href="http://it.linkedin.com/in/fedecentrico" target="_blank">linkedin</a>, <a href="http://twitter.com/fedecentrico" target="_blank">twitter</a>, <a href="http://www.anobii.com/fedecentrico/books" target="_blank">anobii</a><br>Link consigliati: <a href="http://www.piccolimaestri.org" target="_blank">Piccoli Maestri</a>, <a href="http://www.facebook.com/#%21/IlClimaDiCipro" target="_blank">Il clima di Cipro</a><br></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>
<br></blockquote></div></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="m_-8515675144550618316gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Puoi trovarmi qui, se vuoi:<br><a href="http://www.facebook.com/fedecentrico" target="_blank">facebook</a>, <a href="http://www.flickr.com/photos/fedecentrico" target="_blank">flickr</a>, <a href="http://it.linkedin.com/in/fedecentrico" target="_blank">linkedin</a>, <a href="http://twitter.com/fedecentrico" target="_blank">twitter</a>, <a href="http://www.anobii.com/fedecentrico/books" target="_blank">anobii</a><br>Link consigliati: <a href="http://www.piccolimaestri.org" target="_blank">Piccoli Maestri</a>, <a href="http://www.facebook.com/#%21/IlClimaDiCipro" target="_blank">Il clima di Cipro</a><br></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
<br></blockquote></div><br></div>