microsoft / appcenter

Central repository for App Center open source resources and planning.
https://appcenter.ms
Creative Commons Attribution 4.0 International
1.01k stars 223 forks source link

Crash reports are very delayed. #494

Open frags51 opened 5 years ago

frags51 commented 5 years ago

What App Center service does this affect? Website -> Diagnostics -> Issue appcenter-crashes.Crashes

Describe the bug Crashes in react-native apps take a long time (10 minutes) to show up on the Diagnostics -> Issue tab on the website.

To Reproduce Steps to reproduce the behavior:

  1. Generate a test crash using Crashes.generateTestCrash()
  2. Visit Diagnostics -> Issue tab on the app webpage.

Expected behavior Issues should be displayed there instantaneously.

Desktop (please complete the following information):

Smartphone (please complete the following information): Android 9 Emulator

Additional context <string name="appCenterCrashes_whenToSendCrashes" moduleConfig="true" translatable="false">ASK_JAVASCRIPT</string> has been written to strings.xml

and

 Crashes.setListener({

      shouldProcess: function (report) {
          return true; // return true if the crash report should be processed, otherwise false.
      },

      // Other callbacks must also be defined at the same time if used.
      // Default values are used if a method with return parameter is not defined.
  });

has been added to the constructor of the default class.

frags51 commented 5 years ago

Also, errors generated by throw new Error('blah') do not appear at all (even after a day). Is there something that I am missing?

winnie commented 5 years ago

@frags51 thanks for reporting this. Are you still experiencing these delays? Can you start a conversation in the blue chat bubble on the bottom right? This will put you in touch with our support and engineering teams so they can investigate for you.

Thanks!

jinyang1994 commented 5 years ago

Me too, Crash report for React Native is not working in Android...

winnie commented 5 years ago

@jinyang1994 sorry to hear. Can you also please start a support ticket in App Center? Either the blue chat bubble on the bottom right or the via the question mark icon on the top. Thanks!