Instabug
Author: s | 2025-04-24
Instabug vs Firebase; Instabug vs Bugsnag; Instabug vs New Relic; Instabug vs AppDynamics Instabug empowers mobile teams to maintain industry-leading apps with
GitHub - Instabug/Instabug-Android: In-app feedback
.build();User Events🚧Best PracticesCurrently the limit of the number of user events sent with each report is 1,000. If you're planning on logging a large amount of unique data, the best practice here would be to use Instabug Logging instead. The reason for this is that having a very large amount of user events will negatively impact the performance of the dashboard. Having a large amount of user events will not affect dashboard performance if the user events are not unique.You can log custom user events throughout your application and they will automatically be included with each report. Note that the maximum number of user events sent with each report is 1,000.KotlinJavaInstabug.logUserEvent("Logged in")Instabug.logUserEvent("Logged in");" data-testid="RDMD">🚧Privacy PolicyIt is highly recommended to mention in your privacy policy that you may be collecting logging data in order to assist troubleshooting bugs.A variety of log types are sent with each crash or bug report. They appear within each report in your Instabug dashboard, as shown below. Log collection stops when Instabug is shown. We support the following types of logs:User StepsNetwork LogsInstabug LogsConsole LogsUser EventsAn example of the expanded logs view from your dashboard.Instabug can help you reproduce issues by tracking each step a user has taken until a report is sent. Note that the maximum number of user steps sent with each report is 100.User Steps are formatted as follows: Event in text/viewID of type class in parentView.The type of events captured are tap, double tap, long press, swipe, scroll and pinch.text/viewID refers to the text or the ID of the object that contains the event.Class refers to the class of the object that contains the event.ParentView refers to the view that contained the event.An example of the expanded logs view filtered by User Steps.User steps collection can be disabled by using the following API:Instabug.setTrackingUserStepsState(Feature.State.DISABLED)Instabug.setTrackingUserStepsState(Feature.State.DISABLED);Instabug automatically logs all network requests performed by your app from the start of the session. Requests details, along with their responses, are sent with each report. Instabug will also show you an alert at the top of the bug report in your dashboard when network requests have timed-out or taken too long to complete. Note that the maximum number of network logs sent with each report is 1,000.An example of network request logs in the Instabug dashboard.To log network requests, use InstabugNetworkLog then use the following method at the HttpUrlConnection, requestBody and responseBody.InstabugNetworkLog networkLog = new InstabugNetworkLog() networkLog.Log(urlConnection, requestBody,. Instabug vs Firebase; Instabug vs Bugsnag; Instabug vs New Relic; Instabug vs AppDynamics Instabug empowers mobile teams to maintain industry-leading apps with Search for Instabug under the Apps tab of the widget drawer. Click or drag the Instabug widget icon to add it to your dashboard and open the Instabug editor modal. Authenticate and connect your Instabug account to Datadog by logging in with your Instabug credentials. Optionally, give the widget a title. 3. Will Instabug share any of the personal data it receives? Instabug only shares Personal Data with other companies or individuals outside of Instabug in the following With the Instabug Slack integration, the Houseparty team is always updated about incoming issues reported through Instabug. And with the Instabug Front integration, Houseparty s Trust and Safety Team can receive, sort, and address all Instabug reports. apply plugin: 'instabug-apm' instabug { apm { fragmentSpansEnabled = true } } 📘 Instabug supports Fragments starting from androidx.fragment:fragment:1.2.0 or above and starting from SDK This is an overview of the Instabug Cairo campus or office location. This office is the major Instabug Cairo, Egypt area location. Find the Instabug Cairo address. Browse jobs and read apply plugin: 'instabug-apm' instabug { apm { fragmentSpansEnabled = true } } 📘 Instabug supports Fragments starting from androidx.fragment:fragment:1.2.0 or above and starting from SDK Instabug’s Jira integration allows you to manually or automatically forward bugs and crashes from your Instabug dashboard to your Jira project. And by installing the Instabug add CaptureSet Verbosity LevelEnable or Disable APMIn-App RepliesShow Replies ListPush NotificationsRegister Push TokenShow NotificationSet Channel IDEnable or Disable Push NotificationsSet Notification IconIn-App NotificationsManaging SoundsEnable or Disable In-App NotificationsCheck for Existing ChatsGet Unread CountEnable or Disable RepliesUser Identification/DataIdentify UserUser AttributesUser DataLog OutRetrieve UUIDReport DataLoggingInstabug LoggingNetwork Logging - iOSNetwork Logging - AndroidNetwork Logging - React NativeNetwork Logging - FlutterUser StepsUser EventsInstabug Debug LogsRepro StepsAttachmentsSet Attachment TypesAdd Extra AttachmentClear AttachmentsAuto Screen Recording [Beta]Session ProfilerView HierarchyTagsAdd TagsGet TagsReset TagsIn-App SurveysManually Show SurveyCheck if RespondedGet Available SurveysShow Available SurveyShow Survey Welcome MessageEnable or Disable Auto-ShowingEnable or Disable SurveysIn-App Feature RequestsShow Feature RequestsSetting Email RequirementEnable or Disable Feature RequestsUser Interface/DesignSet ThemeSet Primary ColorSet Floating Button PositionSet Video Recording Button PositionManipulating the Welcome MessageSet Welcome Message ModeManually Show Welcome MessageSet LocaleChange String ValuesSDK Event HandlersSet Pre-Invocation HandlerSet Pre-Sending HandlerSet Did-Dismiss HandlerSet Received-Reply HandlerSet Will-Show-Survey HandlerSet Dismissed-Survey HandlerOtherEncrypt User DefaultsPowered by Instabug can be invoked either through the normal event set or manually as shown in this API. You can show the Instabug invocation or immediately show an Instabug related view rather than the invocation.Comments
.build();User Events🚧Best PracticesCurrently the limit of the number of user events sent with each report is 1,000. If you're planning on logging a large amount of unique data, the best practice here would be to use Instabug Logging instead. The reason for this is that having a very large amount of user events will negatively impact the performance of the dashboard. Having a large amount of user events will not affect dashboard performance if the user events are not unique.You can log custom user events throughout your application and they will automatically be included with each report. Note that the maximum number of user events sent with each report is 1,000.KotlinJavaInstabug.logUserEvent("Logged in")Instabug.logUserEvent("Logged in");" data-testid="RDMD">🚧Privacy PolicyIt is highly recommended to mention in your privacy policy that you may be collecting logging data in order to assist troubleshooting bugs.A variety of log types are sent with each crash or bug report. They appear within each report in your Instabug dashboard, as shown below. Log collection stops when Instabug is shown. We support the following types of logs:User StepsNetwork LogsInstabug LogsConsole LogsUser EventsAn example of the expanded logs view from your dashboard.Instabug can help you reproduce issues by tracking each step a user has taken until a report is sent. Note that the maximum number of user steps sent with each report is 100.User Steps are formatted as follows: Event in text/viewID of type class in parentView.The type of events captured are tap, double tap, long press, swipe, scroll and pinch.text/viewID refers to the text or the ID of the object that contains the event.Class refers to the class of the object that contains the event.ParentView refers to the view that contained the event.An example of the expanded logs view filtered by User Steps.User steps collection can be disabled by using the following API:Instabug.setTrackingUserStepsState(Feature.State.DISABLED)Instabug.setTrackingUserStepsState(Feature.State.DISABLED);Instabug automatically logs all network requests performed by your app from the start of the session. Requests details, along with their responses, are sent with each report. Instabug will also show you an alert at the top of the bug report in your dashboard when network requests have timed-out or taken too long to complete. Note that the maximum number of network logs sent with each report is 1,000.An example of network request logs in the Instabug dashboard.To log network requests, use InstabugNetworkLog then use the following method at the HttpUrlConnection, requestBody and responseBody.InstabugNetworkLog networkLog = new InstabugNetworkLog() networkLog.Log(urlConnection, requestBody,
2025-04-23CaptureSet Verbosity LevelEnable or Disable APMIn-App RepliesShow Replies ListPush NotificationsRegister Push TokenShow NotificationSet Channel IDEnable or Disable Push NotificationsSet Notification IconIn-App NotificationsManaging SoundsEnable or Disable In-App NotificationsCheck for Existing ChatsGet Unread CountEnable or Disable RepliesUser Identification/DataIdentify UserUser AttributesUser DataLog OutRetrieve UUIDReport DataLoggingInstabug LoggingNetwork Logging - iOSNetwork Logging - AndroidNetwork Logging - React NativeNetwork Logging - FlutterUser StepsUser EventsInstabug Debug LogsRepro StepsAttachmentsSet Attachment TypesAdd Extra AttachmentClear AttachmentsAuto Screen Recording [Beta]Session ProfilerView HierarchyTagsAdd TagsGet TagsReset TagsIn-App SurveysManually Show SurveyCheck if RespondedGet Available SurveysShow Available SurveyShow Survey Welcome MessageEnable or Disable Auto-ShowingEnable or Disable SurveysIn-App Feature RequestsShow Feature RequestsSetting Email RequirementEnable or Disable Feature RequestsUser Interface/DesignSet ThemeSet Primary ColorSet Floating Button PositionSet Video Recording Button PositionManipulating the Welcome MessageSet Welcome Message ModeManually Show Welcome MessageSet LocaleChange String ValuesSDK Event HandlersSet Pre-Invocation HandlerSet Pre-Sending HandlerSet Did-Dismiss HandlerSet Received-Reply HandlerSet Will-Show-Survey HandlerSet Dismissed-Survey HandlerOtherEncrypt User DefaultsPowered by Instabug can be invoked either through the normal event set or manually as shown in this API. You can show the Instabug invocation or immediately show an Instabug related view rather than the invocation.
2025-04-17This section covers how Instabug automatically attaches console logs, verbose logs, and all steps made by your users before a bug report is sent for Android apps.🚧Privacy PolicyIt is highly recommended to mention in your privacy policy that you may be collecting logging data in order to assist troubleshooting bugs.A variety of log types are sent with each crash or bug report. They appear within each report in your Instabug dashboard, as shown below. Log collection stops when Instabug is shown. We support the following types of logs:User StepsNetwork LogsInstabug LogsConsole LogsUser EventsAn example of the expanded logs view from your dashboard.User StepsInstabug can help you reproduce issues by tracking each step a user has taken until a report is sent. Note that the maximum number of user steps sent with each report is 100.User Steps are formatted as follows: Event in text/viewID of type class in parentView.The type of events captured are tap, double tap, long press, swipe, scroll and pinch.text/viewID refers to the text or the ID of the object that contains the event.Class refers to the class of the object that contains the event.ParentView refers to the view that contained the event.An example of the expanded logs view filtered by User Steps.User steps collection can be disabled by using the following API:KotlinJavaInstabug.setTrackingUserStepsState(Feature.State.DISABLED)Instabug.setTrackingUserStepsState(Feature.State.DISABLED);Network LogsInstabug automatically logs all network requests performed by your app from the start of the session. Requests details, along with their responses, are sent with each report. Instabug will also show you an alert at the top of the bug report in your dashboard when network requests have timed-out or taken too long to complete. Note that the maximum number of network logs sent with each report is 1,000.An example of network request logs in the Instabug dashboard.Logging HttpUrlConnection requestsTo log network requests, use InstabugNetworkLog then use the following method at the HttpUrlConnection, requestBody and responseBody.KotlinJavaInstabugNetworkLog networkLog = new InstabugNetworkLog() networkLog.Log(urlConnection, requestBody, responseBody)InstabugNetworkLog networkLog = new InstabugNetworkLog(); networkLog.Log(urlConnection, requestBody, responseBody);For a more detailed example, see the following network request.Java@Overrideprotected String doInBackground(Void... params) { HttpURLConnection urlConnection = null; BufferedReader reader = null; String moviesJsonStr = null; try { URL url = new URL("<YOUR_URL>"); urlConnection = (HttpURLConnection) url.openConnection(); urlConnection.setDoOutput(true); urlConnection.setRequestMethod("POST"); urlConnection.setUseCaches(false); urlConnection.setConnectTimeout(10000); urlConnection.setReadTimeout(10000); urlConnection.setRequestProperty("Content-Type", "application/json"); urlConnection.connect(); JSONObject jsonParam = new JSONObject(); try { jsonParam.put("PARAM_1", "one"); jsonParam.put("PARAM_2", "two"); } catch (JSONException e) { e.printStackTrace(); } OutputStreamWriter out = new OutputStreamWriter(urlConnection.getOutputStream()); out.write(jsonParam.toString()); out.close(); InputStream inputStream = urlConnection.getInputStream(); StringBuffer buffer
2025-04-20Instabug logs sent with each report is 1,000.InstabugLog.d("Message to log")InstabugLog.v("Message to log")InstabugLog.i("Message to log")InstabugLog.e("Message to log")InstabugLog.w("Message to log")InstabugLog.wtf("Message to log")InstabugLog.d("Message to log");InstabugLog.v("Message to log");InstabugLog.i("Message to log");InstabugLog.e("Message to log");InstabugLog.w("Message to log");InstabugLog.wtf("Message to log");Instabug captures all console logs and displays them on your dashboard with each report. Note that the maximum number of console logs sent with each report is 1,000 statements with a limit of 5,000 characters for each statement.To disable console logs.Instabug.Builder(this, "token") .setConsoleLogState(Feature.State.DISABLED) .build()new Instabug.Builder(this, "token") .setConsoleLogState(Feature.State.DISABLED) .build();🚧Best PracticesCurrently the limit of the number of user events sent with each report is 1,000. If you're planning on logging a large amount of unique data, the best practice here would be to use Instabug Logging instead. The reason for this is that having a very large amount of user events will negatively impact the performance of the dashboard. Having a large amount of user events will not affect dashboard performance if the user events are not unique.You can log custom user events throughout your application and they will automatically be included with each report. Note that the maximum number of user events sent with each report is 1,000.Instabug.logUserEvent("Logged in")Instabug.logUserEvent("Logged in");Updated 4 months ago Table of ContentsUser StepsNetwork LogsLogging HttpUrlConnection requestsLogging Okhttp requestsModifying RequestsInstabug LogsConsole LogsUser Events
2025-04-07= new StringBuffer(); if (inputStream == null) { return null; } reader = new BufferedReader(new InputStreamReader(inputStream)); String line; while ((line = reader.readLine()) != null) { buffer.append(line + "\n"); } if (buffer.length() == 0) { // Stream was empty. No point in parsing. return null; } moviesJsonStr = buffer.toString(); //logging network request to instabug InstabugNetworkLog networkLog = new InstabugNetworkLog(); networkLog.Log(urlConnection, jsonParam.toString(), moviesJsonStr); } catch(Exception e) { e.printStackTrace(); } return moviesJsonStr;}Logging Okhttp requestsFirst, you will need to compile Instabug with a network interceptor.Gradleimplementation 'com.instabug.library:instabug-with-okhttp-interceptor:14.0.0'To log Oktthp requests, use the InstabugOkhttpInterceptor as shown in the following example. KotlinJavaval instabugOkhttpInterceptor = InstabugOkhttpInterceptor()val client = OkHttpClient.Builder() .addInterceptor(interceptor) .addInterceptor(instabugOkhttpInterceptor) .build()InstabugOkhttpInterceptor instabugOkhttpInterceptor = new InstabugOkhttpInterceptor();OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(interceptor) .addInterceptor(instabugOkhttpInterceptor) .build();Modifying RequestsIn the event that you need to modify a network request prior to sending it to the dashboard, you can follow the below steps:1- Create a NetworkLogListener object and modify the captured network log as shown below.KotlinJavaval networkLogListener = NetworkLogListener { networkLog: NetworkLogSnapshot -> //Modify the received networkLog parameter return@NetworkLogListener networkLog}NetworkLogListener networkLogListener = new NetworkLogListener() { @Override public NetworkLogSnapshot onNetworkLogCaptured(NetworkLogSnapshot networkLog) { //Modify the received networkLog parameter return networkLog; // To exclude the network trace from being captured return null // return null; }};2- Register the created NetworkLogListener to your InstabugOkHttpInterceptor object. This can be done through two different methods:a. Pass it in the constructor. val instabugOkhttpInterceptor = InstabugOkhttpInterceptor(networkLogListener)b. Call registerNetworkLogsListener method on InstabugOkhttpInterceptor object.val instabugOkhttpInterceptor = InstabugOkhttpInterceptor()instabugOkhttpInterceptor.registerNetworkLogsListener(networkLogListener)// For the modifications to reflect in APM as well, you can use the below network logs listenerAPM.registerNetworkLogsListener(networkLogListener);In case you need to remove the network listener, you can use the below method:KotlinJavainstabugOkhttpInterceptor.removeNetworkLogsListener()// Use the below API to remove APM's network logs listenerAPM.registerNetworkLogsListener(null)instabugOkhttpInterceptor.removeNetworkLogsListener();// Use the below API to remove APM's network logs listenerAPM.registerNetworkLogsListener(null)Instabug LogsYou can log messages throughout your application's lifecycle to be sent with each report. InstabugLog works just like the regular Log class you use to show colorful logs in your logcat. Note that the maximum number of Instabug logs sent with each report is 1,000.KotlinJavaInstabugLog.d("Message to log")InstabugLog.v("Message to log")InstabugLog.i("Message to log")InstabugLog.e("Message to log")InstabugLog.w("Message to log")InstabugLog.wtf("Message to log")InstabugLog.d("Message to log");InstabugLog.v("Message to log");InstabugLog.i("Message to log");InstabugLog.e("Message to log");InstabugLog.w("Message to log");InstabugLog.wtf("Message to log");Console LogsInstabug captures all console logs and displays them on your dashboard with each report. Note that the maximum number of console logs sent with each report is 1,000 statements with a limit of 5,000 characters for each statement.To disable console logs.KotlinJavaInstabug.Builder(this, "token") .setConsoleLogState(Feature.State.DISABLED) .build()new Instabug.Builder(this, "token") .setConsoleLogState(Feature.State.DISABLED)
2025-04-12