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]: Erro no eas buid onesignal #222

Open
1 task done
ValdemiroValid opened this issue Jan 29, 2024 · 1 comment
Open
1 task done

[question]: Erro no eas buid onesignal #222

ValdemiroValid opened this issue Jan 29, 2024 · 1 comment

Comments

@ValdemiroValid
Copy link

How can we help?

Boa tarde, estou tentando fazer um build com expo utilizado a biblioteca onesignal no expo .
O meu app.json esta assim.
"extra": {
"oneSignalAppId": "396c8a6c-4943-49ab-8b28-51e1309f71cb",
"eas": {
"projectId": "396c8a6c-4943-49ab-8b28-51e1309f71cb"
}
},
"plugins": [
"onesignal-expo-plugin",
{
"mode": "development"
}
]

mas na hora do build recebo a seguinte mensagem.

You are trying to use the OneSignal plugin without any props. Property "mode" is required. Please see https://github.com/OneSignal/onesignal-expo-plugin for more info.

OneSignal Expo SDK version

2.0.2

Platform

Android

Relevant log output

No response

Code of Conduct

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

wilkinsonj commented Jan 30, 2024

Try this:

"plugins": [
["onesignal-expo-plugin",
{
mode: "development",
}]

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