surfstudio / flutter-otp-autofill

Made by Surf 🏄
Apache License 2.0
81 stars 43 forks source link

[FIX]: crash on android 14 #72

Closed GalimzyanovDanil closed 11 months ago

GalimzyanovDanil commented 11 months ago

Changes

Check if the device's Android version is Oreo or higher. If Oreo or higher, register the broadcast receiver with additional parameters to request permission for sending SMS. If below Oreo, register the broadcast receiver with basic parameters (without permission request).

Troubles (optional)

Closes: #70

Note (optional)

Checklist for self-check

Checklist for reviewers

Design:

Functionality:

Complexity:

Tests:

Naming:

Comments:

Documentation:

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6d152e6) 96.34% compared to head (899b0d4) 96.34%.

:exclamation: Current head 899b0d4 differs from pull request most recent head f243355. Consider uploading reports for the commit f243355 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #72 +/- ## ======================================= Coverage 96.34% 96.34% ======================================= Files 4 4 Lines 82 82 ======================================= Hits 79 79 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.