Skip to content

[Bug]: Wrong VersionHeader and empty token in Android SDK #771

@BogdanBobkov

Description

@BogdanBobkov

What happened?

Hi, guys!
We have updated our Unity SDK to v5.1.11, but we have encountered two issues related to it:

  1. The properties OneSignal.Version and OneSignalPlatform.VersionHeader are incorrect, I think these should be updated to the latest version.
    image
    image
  2. The "token" property is empty during the first SDK initialization on Android. We are not sure what this is for, but it seems to be a bug.
    image

Steps to reproduce?

For the second issue:
1. Install the application.
2. Launch the application.
3. Wait for the SDK to initialize.
4. Check out the Charles Proxy or some other app.

What did you expect to happen?

For the second issue, we expect the 'token' property to be filled, as it was in Unity SDK v5.0.6.
image

Unity version

2022.3.37f1

OneSignal Unity SDK version

5.1.11

Platform

iOS, Android, Other

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions