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

[Bug]: OneSignal.sendTags FlutterError - PlatformException(0, The operation couldn’t be completed. (OneSignal Error error 0.), null, null) #697

Closed
3 tasks done
vqthanh1412489 opened this issue Jul 26, 2023 · 2 comments

Comments

@vqthanh1412489
Copy link

vqthanh1412489 commented Jul 26, 2023

What happened?

I got this crash on the Firebase Crashlytics dashboard when sent a tag with the method:
OneSignal.sendTags

Steps to reproduce?

1. Implement One-Signal in your app
2. Use .sendTags to send the tag of your devices.
3. Wait some time I have this error on the Firebase Crashlytics dashboard

What did you expect to happen?

I do not see this error Firebase Crashlytics dashboard or when it's happening

and if I got this error, What will happen after that?

OneSignal Flutter SDK version

onesignal_flutter: ^3.5.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

PlatformException(400, The operation couldn’t be completed. (OneSignalError error 400.), null, null)

or

PlatformException(500, The operation couldn’t be completed. (OneSignal Error error 500.), null, null)

message_codecs.dart - Line 652
StandardMethodCodec.decodeEnvelope + 652

platform_channel.dart - Line 310
MethodChannel._invokeMethod + 310

2
onesignal_flutter.dart - Line 243
OneSignal.sendTags + 243

onesignal_flutter.dart - Line 233
OneSignal.sendTag + 233

Code of Conduct

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

@vqthanh1412489 apologies that your issue was missed. Are you still having problems?

If so, can you please share how and when you are calling the sendTag method?

Please also note that we have released major updates to the Flutter SDK which includes many improvements and enhancements. In 5.0.0 SDKs and higher, the new method is addTag.

Please refer to our migration guide for full details.

Thanks!

@jennantilla
Copy link
Contributor

Closing due to no response.

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