Skip to content

Android build is failed for Kotlin 1.7.10 because of enum switch in 4.3.0 version #470

@KostyaRolique

Description

@KostyaRolique

Flutter build is failed with this error:
/opt/homebrew/Caskroom/flutter/3.3.4/flutter/.pub-cache/hosted/pub.dartlang.org/device_calendar-4.3.0/android/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt: (784, 9): ‘when’ expression must be exhaustive, add necessary ‘DAILY’, ‘HOURLY’, ‘MINUTELY’, ‘SECONDLY’ branches or ‘else’ branch instead

During the research I found out that android source code for release 4.3.0 isn't published (especially the file CalendarDelegate.kt):
https://github.com/builttoroam/device_calendar/releases/tag/4.3.0
https://pub.dev/packages/device_calendar/versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions