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

Cognito auth release service #615

Merged

Conversation

rlatapy-luna
Copy link
Contributor

Allow user to unbind connectionService bound in custom tab before finishing the context used. Avoid this kind of log error:
Activity <App Name> has leaked ServiceConnection <ServiceConnection Name>@438030a8 that was originally bound here

Allow deallocate resources and unbind services
Lead to double binding to service
@frankmuellr frankmuellr added cognito Issues with the AWS Android SDK for Cognito pull request labels Dec 13, 2018
@sunchunqiang sunchunqiang added the feature-request Request a new feature label Dec 17, 2018
@sunchunqiang sunchunqiang requested a review from minbi December 17, 2018 19:55
@minbi
Copy link
Contributor

minbi commented Dec 31, 2018

Thoughts (not a request for change, yet): This would require an explicit call to unbind the service. I wonder if we could do it as part of the user cancelling or finishing the sign-in event.

@rlatapy-luna rlatapy-luna force-pushed the cognitoAuth_release_service branch from 1ad93d2 to 8b2bbfd Compare January 18, 2019 10:06
@rlatapy-luna
Copy link
Contributor Author

rlatapy-luna commented Jan 18, 2019

Thoughts (not a request for change, yet): This would require an explicit call to unbind the service. I wonder if we could do it as part of the user cancelling or finishing the sign-in event.

I'm not sure we can be aware of sign-in finish as we are redirect to the app through the deep linking.

@minbi minbi changed the base branch from master to hosted-release February 5, 2019 22:55
@minbi minbi merged this pull request into aws-amplify:hosted-release Feb 5, 2019
@rlatapy-luna rlatapy-luna deleted the cognitoAuth_release_service branch February 12, 2019 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cognito Issues with the AWS Android SDK for Cognito feature-request Request a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants