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

Closed
1 task done
ValdemiroValid opened this issue Jan 29, 2024 · 2 comments
Closed
1 task done

[question]: Erro no eas buid onesignal #222

ValdemiroValid opened this issue Jan 29, 2024 · 2 comments

Comments

@ValdemiroValid
Copy link

ValdemiroValid commented Jan 29, 2024

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",
}]

@jennantilla
Copy link

Hello there! Apologies that this issue has gone stale--did the above suggestion work for you? I'm going to close this issue since it's been some time since the latest activity. Is this is still a problem on the latest SDK version, please open a new issue and we'll be happy to assist. Thanks!

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