Crashlytics reporting a crash when the user lost the internet connection
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Start at lib/src/flagsmith_client.dart around line 95, where the analytics syncing method is linked, and reproduce the behavior with the app offline. Done means losing connectivity while analytics is enabled no longer reports a crash and the error is logged instead.
Written by the indexing model from the issue text.
Description
Hi everyone,
When the enableAnalytics is enabled if the user had the app opened but out of the sudden lost the internet connection, the syncing method will throw an error that is not caught anywhere and thus reports a crash.
I believe that we should not throw the error and instead just log it. What do you think about it?
In the meantime, I'll disable the analytics to avoid any crashes.
- Dominant language
- Dart
- Stars
- 17
- Forks
- 18
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith-flutter-client
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Flagsmith/flagsmith-flutter-client#112 ·
Maintainers usually reply within 1 day
-
Dependency DashboardOpen
Difficulty 1/5 Under an hour Newbie friendliness 25/100
Flagsmith/flagsmith-flutter-client#103 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Flagsmith/flagsmith-flutter-client#93 ·
Maintainers usually reply within 1 day
All issues in Flagsmith/flagsmith-flutter-client
Similar issues
-
documentation good first issue help wanted
Difficulty 2/5 Half a day Newbie friendliness 72/100
Is0cre/MonkeyThrive#6 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
15-minutes 5-minutes algorithm any-language beginner-friendly c cpp csharp easy go good first issue hacktoberfest help wanted java javascript kotlin python rust swift typescript
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Huerte/algo-solutions-python#260 ·
Maintainers usually reply within 1 day
-
Android: a receive link with a query opens Receive empty, without the not-a-code messagePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
totaldrop-app/totaldrop#516 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
zjs81/meshcore-open#663 ·
Maintainers usually reply within 1 day