Coder Social home page Coder Social logo

shakebugs / shake-flutter Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 5.0 3.86 MB

Bug reporting SDK for Flutter apps.

Home Page: https://shakebugs.com

License: MIT License

Kotlin 21.79% Ruby 1.11% Swift 1.01% Objective-C 20.00% Dart 55.55% HTML 0.53%
bug-reporting flutter-sdk shake-sdk bug-reports flutter sdk debugging

shake-flutter's Introduction

Shake Flutter SDK

pub package

Flutter plugin for bug reporting.

Features

Feature Available
Bug reporting
Crash reporting
Users

Requirements

Platform Version
Flutter 1.12
Android 7.0
iOS 12.0

How to use

Install Shake

Add Shake to your pubspec.yaml file.

dependencies:
      shake_flutter: ^17.0.1

Install package by running command in terminal.

flutter packages get

Start Shake

Call Shake.start() method in the main.dart file.

import 'dart:io';
import 'package:flutter/material.dart';
import 'package:shake_flutter/shake_flutter.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  String apiKey = Platform.isIOS ? 'ios-app-api-key' : 'android-app-api-key';
  Shake.start(apiKey);

  runApp(MyApp());
}

Replace ios-app-api-key and android-app-api-key with the actual values you have in your app settings.

Resources

shake-flutter's People

Contributors

ddoric-shake avatar mstanic-shake avatar ncvetko avatar smislav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shake-flutter's Issues

Execution failed for task ':shake_flutter:compileDebugKotlin'

Hi, shakebugs team.

Currently, I'm using the latest version of the shake_flutter package (16.2.1). However, I must update my Android project, including the Java version, to 17 because most dependencies must be updated in the pubspec file. The problem is that I get an error when I update. This is the error below:

Screenshot 2024-04-01 at 1 32 15 PM

Have you thought of updating the version to support Java 17?

Thanks for the package's support 👍

-[SHKSqliteDatabase constructInsertQueryForColumns:record:] crash_info_entry_1 Runner(5743,0x16c007000) malloc: Heap corruption detected, free list is damaged at 0x280f5e200 *** Incorrect guard value: 0

Could you help to take a look at this issue?
When the user started the app, it crashed, and then restart the app again, it works.

crash_info_entry_0 abort() called
crash_info_entry_1 Runner(5743,0x16c007000) malloc: Heap corruption detected, free list is damaged at 0x280f5e200 *** Incorrect guard value: 0

Crashed: sql_writer_queue
0 libsystem_kernel.dylib 0x7558 __pthread_kill + 8
1 libsystem_pthread.dylib 0x7118 pthread_kill + 268
2 libsystem_c.dylib 0x1d178 abort + 180
3 libsystem_malloc.dylib 0x1e0e4 malloc_vreport + 908
4 libsystem_malloc.dylib 0x1e38c malloc_zone_error + 104
5 libsystem_malloc.dylib 0x18658 nanov2_guard_corruption_detected + 44
6 libsystem_malloc.dylib 0x16810 nanov2_free_definite_size + 402
7 CoreFoundation 0x8fcf8 __CFStrAllocateMutableContents + 100
8 CoreFoundation 0x87168 __CFStringChangeSizeMultiple + 628
9 CoreFoundation 0x8157c __CFStringAppendBytes + 840
10 CoreFoundation 0x5100c __CFStringAppendFormatCore + 9656
11 CoreFoundation 0x841d4 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184
12 CoreFoundation 0x80aac _CFStringCreateWithFormatAndArgumentsAux2 + 44
13 Foundation 0x1aed8 +[NSString stringWithFormat:] + 68
14 Shake 0x3116c -[SHKSqliteDatabase constructInsertQueryForColumns:record:] + 530 (SHKSqliteDatabase.m:530)
15 Shake 0x309f0 -[SHKSqliteDatabase insertDatabaseRecord:] + 463 (SHKSqliteDatabase.m:463)
16 Shake 0x30158 __40-[SHKSqliteDatabase pushBlackBoxRecord:]_block_invoke + 328 (SHKSqliteDatabase.m:328)
17 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
18 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
19 libdispatch.dylib 0xb534 _dispatch_lane_serial_drain + 668
20 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384
21 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648
22 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288
23 libsystem_pthread.dylib 0xb7c start_wqthread + 8

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.