Skip to content

Android gives error "ReferenceError: Can't find variable: Intl" #213

@MehmetKaplan

Description

@MehmetKaplan

First, an atomic example can be found in this snack:

https://snack.expo.dev/@mehmetkaplan/issue-react-native-paper-dates-android-intl

When I do the same in local machine, the error is:

ERROR  ReferenceError: Can't find variable: Intl

This error is located at:
    in HeaderContentSingle (created by DatePickerModalContentHeader)
    in RCTView (created by View)
    in View (created by DatePickerModalContentHeader)
    in RCTView (created by View)
    in View (created by DatePickerModalContentHeader)
    in RCTView (created by View)
    in View (created by DatePickerModalContentHeader)
    in DatePickerModalContentHeader (created by DatePickerModalContent)
    in RCTView (created by View)
    in View (created by DatePickerModalHeaderBackground)
    in RCTView (created by View)
    in View (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by DatePickerModalHeaderBackground)
    in DatePickerModalHeaderBackground (created by DatePickerModalContent)
    in DatePickerModalContent (created by DatePickerModal)
    in RCTView (created by View)
    in View (created by DatePickerModal)
    in RCTView (created by View)
    in View (created by DatePickerModal)
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer (created by Modal)
    in RCTView (created by View)
    in View (created by Modal)
    in VirtualizedListContextResetter (created by Modal)
    in RCTModalHostView (created by Modal)
    in Modal (created by DatePickerModal)
    in RCTView (created by View)
    in View (created by DatePickerModal)
    in DatePickerModal (created by DatePicker)
    in DatePicker (created by UpdateUserView)
    in RCTView (created by View)
    in View (created by GridBox)
...

The snack has the error:

image

Can be related with #37, but I think they are different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions