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

feat: add clearUserID to AppEventsLogger (setUserId(null) throws exception from SDK) #185

Merged
merged 2 commits into from Jan 17, 2022

Conversation

sichan75
Copy link
Contributor

Issue occurred when called setUserID(null) of AppEventLogger. clearing user id is required when the user signed out.

I found that the clearUserID is missing; facebook-android-sdk, facebook-ios-sdk

I added clearUserID in this PR.

스크린샷 2022-01-14 오후 7 23 17

@sichan75 sichan75 changed the title Add clearUserID to AppEventsLogger feat: Add clearUserID to AppEventsLogger Jan 17, 2022
@mikehardy mikehardy changed the title feat: Add clearUserID to AppEventsLogger feat: add clearUserID to AppEventsLogger (setUserId(null) throws exception from SDK) Jan 17, 2022
Copy link
Collaborator

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

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

wow, you added the mock entry and you targeted the beta branch so you are already working with the current typescript code, this looks fantastic. Thank you! I kicked off the CI jobs for it and assuming they pass (they should pass...) I'll generate a new beta release

@mikehardy mikehardy added pending-merge Just waiting on clean CI test run. Any maintainer should feel free to merge if CI is passing. and removed pending-merge Just waiting on clean CI test run. Any maintainer should feel free to merge if CI is passing. labels Jan 17, 2022
@mikehardy mikehardy merged commit b3cd260 into thebergamo:beta Jan 17, 2022
github-actions bot pushed a commit that referenced this pull request Jan 17, 2022
## [7.0.0-beta.5](v7.0.0-beta.4...v7.0.0-beta.5) (2022-01-17)

### Features

* add clearUserID to AppEventsLogger (`setUserId(null)` throws exception from SDK) ([#185](#185)) ([b3cd260](b3cd260))

### Bug Fixes

* **android, build:** delete jcenter from rootProject - should not affect consuming apps ([#184](#184)) ([dd6aaf8](dd6aaf8))
@mikehardy
Copy link
Collaborator

There was a slight release hiccup so the release bot didn't add a message to this, but it did just launch as 7.0.0-beta.5, hopefully it works for you when installed directly from npmjs.com

mikehardy pushed a commit that referenced this pull request Jan 21, 2022
mikehardy pushed a commit that referenced this pull request Jan 21, 2022
## [7.0.0-beta.5](v7.0.0-beta.4...v7.0.0-beta.5) (2022-01-17)

### Features

* add clearUserID to AppEventsLogger (`setUserId(null)` throws exception from SDK) ([#185](#185)) ([b3cd260](b3cd260))

### Bug Fixes

* **android, build:** delete jcenter from rootProject - should not affect consuming apps ([#184](#184)) ([dd6aaf8](dd6aaf8))
github-actions bot pushed a commit that referenced this pull request Jan 21, 2022
## [7.0.0](v6.2.0...v7.0.0) (2022-01-21)

### ⚠ BREAKING CHANGES

* **release:** use conventional commits style for commit parsing
* update dependencies
* migrate to typescript (#155)

### Features

* add clearUserID to AppEventsLogger (`setUserId(null)` throws exception from SDK) ([#185](#185)) ([03306a6](03306a6))
* export all module types ([#173](#173)) ([bd7f968](bd7f968))
* **ios:** AEM logger ([#165](#165)) ([be1e861](be1e861))

### Bug Fixes

* **android, build:** delete jcenter from rootProject - should not affect consuming apps ([#184](#184)) ([a76c285](a76c285))
* **android, deprecation:** Replace deprecated GameRequestDialog ([#172](#172)) ([a0c20d2](a0c20d2))
* **android:** remove dead code ([#176](#176)) ([a24bdb4](a24bdb4))
* **iOS:** update deprecated methods ([81fc259](81fc259))
* **release:** use conventional commits style for commit parsing ([c311031](c311031)), closes [#164](#164)
* update dependencies ([ddc968f](ddc968f))

### Code Refactoring

* migrate to typescript ([#155](#155)) ([d55e203](d55e203))
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

2 participants