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

fix: handle null from getDeviceId() #126

Closed

Conversation

justin-fiedler
Copy link
Contributor

@justin-fiedler justin-fiedler commented Jun 10, 2022

Update TS interface to have getDeviceId(): Promise<string|null>

Since in Java String can be null and I think the casting to a string might be the root cause of the linked issue.

@justin-fiedler justin-fiedler linked an issue Jun 10, 2022 that may be closed by this pull request
@justin-fiedler justin-fiedler deleted the AMP-55315-crash-trying-to-obtain-null-device-id branch June 10, 2022 23:10
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.

Invalid TS return type for getDeviceId()
1 participant