-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ void main() { | |
customParameters: customParameters, | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
catcher = Catcher( | ||
|
@@ -67,7 +67,7 @@ class ChildWidget extends StatelessWidget { | |
ElevatedButton( | ||
onPressed: generateError, | ||
child: const Text('Generate error'), | ||
) | ||
), | ||
], | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ void main() { | |
Uri.parse('https://jsonplaceholder.typicode.com/posts'), | ||
printLogs: true, | ||
), | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ void main() { | |
logger: CustomCatcherLogger(), | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ import 'package:flutter/material.dart'; | |
void main() { | ||
final debugOptions = CatcherOptions(DialogReportMode(), [ | ||
EmailManualHandler(['[email protected]']), | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
final navigatorKey = GlobalKey<NavigatorState>(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,10 @@ import 'package:flutter/material.dart'; | |
void main() { | ||
final debugOptions = CatcherOptions(CustomPageReportMode(), [ | ||
EmailManualHandler(['[email protected]']), | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
@@ -118,7 +118,7 @@ class CustomPage extends StatelessWidget { | |
reportMode.onActionRejected(report); | ||
Navigator.pop(context); | ||
}, | ||
) | ||
), | ||
], | ||
), | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ void main() { | |
), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ void main() { | |
ConsoleHandler(), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,14 @@ void main() { | |
Uri.parse('https://jsonplaceholder.typicode.com/posts'), | ||
printLogs: true, | ||
), | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
], | ||
|
||
//Exclude these parameters from report. These params are device info params. | ||
excludedParameters: ['androidId', 'model'], | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ void main() { | |
HttpRequestType.post, | ||
Uri.parse('https://httpstat.us/200'), | ||
printLogs: true, | ||
) | ||
), | ||
], | ||
explicitExceptionHandlersMap: explicitMap, | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ void main() { | |
HttpRequestType.post, | ||
Uri.parse('https://httpstat.us/200'), | ||
printLogs: true, | ||
) | ||
), | ||
], | ||
explicitExceptionReportModesMap: explicitReportModesMap, | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
@@ -69,7 +69,7 @@ class ChildWidget extends StatelessWidget { | |
TextButton( | ||
onPressed: generateSecondError, | ||
child: const Text('Generate second error'), | ||
) | ||
), | ||
], | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ void main() { | |
}, | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ void main() { | |
final debugOptions = | ||
CatcherOptions(DialogReportMode(), [httpHandler, ConsoleHandler()]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,10 @@ import 'package:flutter_local_notifications/flutter_local_notifications.dart'; | |
void main() { | ||
final debugOptions = CatcherOptions(NotificationReportMode(), [ | ||
EmailManualHandler(['[email protected]']), | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ void main() { | |
HttpRequestType.post, | ||
Uri.parse('https://httpstat.us/200'), | ||
printLogs: true, | ||
) | ||
), | ||
], | ||
localizationOptions: [ | ||
LocalizationOptions( | ||
|
@@ -40,11 +40,11 @@ void main() { | |
' wysłać raport lub odrzuć aby odrzucić raport.', | ||
pageReportModeAccept: 'Akceptuj', | ||
pageReportModeCancel: 'Odrzuć', | ||
) | ||
), | ||
], | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ void main() { | |
), | ||
|
||
///Print logs in console | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
], | ||
); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ void main() { | |
reportOccurrenceTimeout: 30000, | ||
); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,10 @@ void main() { | |
final debugOptions = CatcherOptions(DialogReportMode(), [ | ||
SentryHandler( | ||
SentryClient(SentryOptions(dsn: 'YOUR DSN HERE')), | ||
) | ||
), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ void main() { | |
//ConsoleHandler() | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ void main() { | |
Uri.parse('https://jsonplaceholder.typicode.com/posts'), | ||
printLogs: true, | ||
), | ||
ConsoleHandler() | ||
ConsoleHandler(), | ||
]); | ||
final releaseOptions = CatcherOptions(PageReportMode(), [ | ||
EmailManualHandler(['[email protected]']) | ||
EmailManualHandler(['[email protected]']), | ||
]); | ||
|
||
catcher = Catcher( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,7 +146,7 @@ class PageWidgetState extends State<PageWidget> { | |
), | ||
), | ||
], | ||
) | ||
), | ||
], | ||
), | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters