ivopr / tamagui-expo

An Expo template with Tamagui
270 stars 22 forks source link

warning: matchMedia implementation is not provided #16

Closed garrettboatman closed 1 year ago

garrettboatman commented 1 year ago

Getting this warning on a fresh build.

Screenshot 2023-01-12 at 4 51 27 PM

Seeing this in Tamagui docs: https://tamagui.dev/docs/core/use-media

@tamagui/core doesn't provide media capabilities out of the box to native apps. To enable media queries for React Native, you need to provide matchMedia implementation:

Is it as simple as using the createMedia function in config? In case it is, I'll create a simple PR.

ivopr commented 1 year ago

:tada: This issue has been resolved in version 2.0.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: