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

sendTag throws errors #605

Closed
3 tasks done
NikosTsesmelis opened this issue Oct 19, 2022 · 2 comments
Closed
3 tasks done

sendTag throws errors #605

NikosTsesmelis opened this issue Oct 19, 2022 · 2 comments

Comments

@NikosTsesmelis
Copy link

NikosTsesmelis commented Oct 19, 2022

What happened?

I keep getting these 2 errors:

PlatformException(0, The operation couldn’t be completed. (OneSignalError error 0.), null, null). Error thrown null.
Non-fatal Exception: FlutterError
0 ??? 0x0 StandardMethodCodec.decodeEnvelope + 653 (message_codecs.dart:653)
1 ??? 0x0 MethodChannel._invokeMethod + 296 (platform_channel.dart:296)
2 ??? 0x0 OneSignal.sendTags + 243 (onesignal_flutter.dart:243)
3 ??? 0x0 OneSignal.sendTag + 233 (onesignal_flutter.dart:233)

PlatformException(OneSignal, Encountered an error updating tags (-1): Unable to update tags: the current user is not registered with OneSignal, null, null). Error thrown null.
at StandardMethodCodec.decodeEnvelope(message_codecs.dart:653)
at MethodChannel._invokeMethod(platform_channel.dart:296)
at OneSignal.sendTags(onesignal_flutter.dart:243)
at OneSignal.sendTag(onesignal_flutter.dart:233)

Steps to reproduce?

calling OneSignal.shared.sendTag

What did you expect to happen?

not getting these errors

OneSignal Flutter SDK version

3.4.1

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@NikosTsesmelis NikosTsesmelis changed the title [Bug]: sendTag throws errors Oct 19, 2022
@gagandeep-nickelfox
Copy link

Same thing happened to me, any luck finding solution?

@jennantilla
Copy link
Contributor

Hello everyone, apologies that this issue has gone stale. I'm going to close it due to inactivity.

We have released major updates to the Flutter SDK which includes many improvements and enhancements. Please refer to our migration guide for full details!

If you are still having issues after upgrading, please open a new issue and we'll be happy to investigate further!

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