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

After installing, getting Plugin is an expected type: object error #102

Closed
1 task done
pratikdhody opened this issue Jul 23, 2022 · 4 comments
Closed
1 task done

Comments

@pratikdhody
Copy link

How can we help?

Please advise how to install to React Native Expo project.

OneSignal Expo SDK version

1.0.2

Platform

iOS, Android

Relevant log output

Plugin is an unexpected type: object

Code of Conduct

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

had wrong config in app.json - ignore me.

@pratikdhody pratikdhody closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2022
@BioKobena
Copy link

Please, how to resolve this wrong ?

@jailsonmartinsfilho
Copy link

jailsonmartinsfilho commented Apr 28, 2024

Please, how to resolve this wrong ?

Brackets inside plugins are probably missing, everything involved in plugins should be in double brackets like this, for example:

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

@jailsonmartinsfilho
Copy link

Brackets inside plugins are probably missing, everything involved in plugins should be in double brackets like this, for example:

"plugins": [
      [
          "expo-font",
        {
          "fonts": ["./assets/Araboto.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

3 participants