Skip to content

Conversation

aoshika-lv
Copy link
Contributor

@aoshika-lv aoshika-lv commented Sep 24, 2020

Make _getInitialDeviceId fall back to the other options/a base64Id, if the device Id is not available in the params via amp_device_id in case deviceIdFromUrlParam is true #302

Fixes #302

Please let me know, if there are any problems.

Checklist

  • Does your PR title have the correct title format
  • Does your PR have a breaking change? - No

Copy link
Contributor

@kelvin-lu kelvin-lu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks so much for doing this for us - we can publish a minor patch for this soon :)

Copy link
Contributor

@jooohhn jooohhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small nit. Thank you for the PR!

@aoshika-lv
Copy link
Contributor Author

@kelvin-lu
Thank you so much!
I'm fixing it now, please wait for a while.

@aoshika-lv aoshika-lv requested a review from jooohhn September 25, 2020 03:03
@aoshika-lv
Copy link
Contributor Author

@jooohhn
I've fixed it. Please re-review at your convenience. Thanks!

@jooohhn jooohhn merged commit e0d39fd into amplitude:master Sep 25, 2020
github-actions bot pushed a commit that referenced this pull request Sep 25, 2020
## [7.2.2](v7.2.1...v7.2.2) (2020-09-25)

### Bug Fixes

* Unavailable deviceId fallbacks ([#303](#303)) ([e0d39fd](e0d39fd)), closes [#302](#302)
@github-actions
Copy link

🎉 This PR is included in version 7.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

About the behavior that amp_device_id is not set when deviceIdFromUrlParam is true
3 participants