Instabug-Flutter
Instabug-Flutter copied to clipboard
feat: update cr setup
Description of the change
Added
InstabugWidget, a wrapper used to wrap the main application to provide out of the box automatic Crash Reporting support.
Example:
void main() {
WidgetsFlutterBinding.ensureInitialized();
Instabug.init(
token: 'APP_TOKEN',
invocationEvents: [InvocationEvent.floatingButton],
debugLogsLevel: LogLevel.verbose,
);
final app = InstabugWidget(
child: const MyApp(),
);
runApp(app);
}
Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Related issues
https://instabug.atlassian.net/browse/MOB-19013
Checklists
Development
- [ ] Lint rules pass locally
- [ ] The code changed/added as part of this pull request has been covered with tests
Code review
- [ ] This pull request has a descriptive title and information useful to a reviewer
- [ ] Issue from task tracker has a link to this pull request
Coverage Report
| Label | Coverage | Status |
|---|---|---|
| Dart | 83.8% | ✅ |
Generated by :no_entry_sign: dangerJS against 52108778838c46c80866bc01539bbfb62713f928
@MoKamall This PR seems to include more changes than intended. It should focus solely on adding the InstabugWidget wrapper, but it also contains commits related to the network body size and crashes. Could you separate the necessary commits to make it easier to review?
@AndrewAminInstabug Please check again now.