onesignal-expo-plugin
onesignal-expo-plugin copied to clipboard
[question]: I keep getting this error after i updated the expo font in the app.json plugin
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
- [X] I agree to follow this project's Code of Conduct
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" ]
}
]
],