question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

expo google fonts types say `__metdata__` but the actual object uses `__metadata__`

See original GitHub issue

Summary

If you look at the typings for Google fonts loaded using Expo, it has __metdata__ but it should be __metadata__. It’s just a one character typo, but needs the fonts to be all regenerated.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

Android, iOS, Web

SDK Version (managed workflow only)

42

Environment

Expo CLI 4.11.0 environment info: System: OS: macOS 11.5.2 Shell: 5.8 - /bin/zsh Binaries: Node: 12.18.0 - ~/.nvm/versions/node/v12.18.0/bin/node Yarn: 1.22.11 - ~/.nvm/versions/node/v12.18.0/bin/yarn npm: 6.14.11 - ~/.nvm/versions/node/v12.18.0/bin/npm Watchman: 2021.08.30.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 IDEs: Android Studio: 4.1 AI-201.8743.12.41.6858069 Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild npmPackages: expo: ~42.0.1 => 42.0.3 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz => 0.63.2 react-native-web: ~0.13.12 => 0.13.18 npmGlobalPackages: expo-cli: 4.11.0 Expo Workflow: managed

Reproducible demo or steps to reproduce from a blank project

npm install @expo-google-fonts/libre-baskerville

Then look at the typings file.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ccheevercommented, Sep 18, 2021

No, next time this package is released. That is independent of the Expo SDK release cycle. I’ll try to do one soon but it takes me a few hours because all the packages have to be regenerated and published to npm, etc. and there are over 1000 of them.

0reactions
trajanocommented, Sep 18, 2021

I guess this would be a job for Github actions so you don’t have to do it manually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Little hack that I made · Issue #6 · expo/google-fonts - GitHub
Hey there. I just made this little code so I can keep all my fonts in a single file, and easily access and...
Read more >
Font - Expo Documentation
expo -font allows loading fonts from the web and using them in React Native components. See more detailed usage information in the Fonts...
Read more >
googlefonts — Font Bakery 0.8.10 documentation
We support a superset of the OpenType axis registry axis set, and use additional metadata for each axis. Axes present in a font...
Read more >
Visitor and Account Metadata - Pendo Help Center
Visitor and Account Metadata can be assigned specific data types in Pendo. You can select the data type for any specific piece of...
Read more >
Google adds new valid page metadata help document
Google said you should only place valid metadata inside the <head> . Valid metadata includes the following HTML elements: title; meta; link ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found