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

Send device-key header to register/update api #332

Merged
merged 2 commits into from
Jan 23, 2023

Conversation

amntoppo
Copy link
Contributor

Issue:

  • Device was sending 2 device-key from 2 different API:
    For Agent app: /loginv2 and register/update
    For SDK: register/client and register/update

Fix:

  • We were earlier sending x-authorization which is not required in register/update.
  • Changing this boolean will send device-key to the API
    connection.setRequestProperty(DEVICE_KEY_HEADER, userPreferences.getDeviceKeyString());

@amntoppoKM amntoppoKM merged commit d8c1baf into Kommunicate-io:master Jan 23, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants