Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: I keep getting this error after i updated the expo font in the app.json plugin #233

Open
1 task done
princechibez opened this issue Jun 5, 2024 · 1 comment

Comments

@princechibez
Copy link

How can we help?

"plugins": [ "expo-router", "expo-font", { "fonts": [ "./assets/fonts/Rubik-Regular.ttf" ] } ],

OneSignal Expo SDK version

51

Platform

No response

Relevant log output

PluginError: Plugin is an unexpected type: object

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mrrenaud
Copy link

This is absolutely not related to onesignal-expo-plugin, but your plugin config is not correct.
Take a look at the documentation : https://docs.expo.dev/versions/latest/sdk/font/

It should look like this :

"plugins": [
    "expo-router", 
    [ 
        "expo-font", 
         { 
             "fonts": [ "./assets/fonts/Rubik-Regular.ttf" ]
          }
    ]
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants