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

Multi Device Support #31

Merged
merged 38 commits into from Oct 8, 2019

Conversation

@gmbnt
Copy link
Collaborator

commented Oct 7, 2019

No description provided.

Mikunj added 24 commits Sep 19, 2019
[Multi Device] Added Database.
Fix prekey bundle not being sent with the device pairing request.
@gmbnt gmbnt changed the title Multi Device Multi Device Support Oct 7, 2019
@Mikunj Mikunj closed this Oct 7, 2019
@Mikunj Mikunj reopened this Oct 7, 2019
@Mikunj Mikunj marked this pull request as ready for review Oct 7, 2019

fun handleDeviceLinkAuthorized() // TODO: Device link
fun handleDeviceLinkingDialogDismissed()
interface DeviceLinkingViewDelegate: DeviceLinkingDialogDelegate {

This comment has been minimized.

Copy link
@gmbnt

gmbnt Oct 7, 2019

Author Collaborator

?????

This comment has been minimized.

Copy link
@gmbnt

gmbnt Oct 7, 2019

Author Collaborator

This setup is now really weird

registerOrRestoreButton.setOnClickListener { registerOrRestore() }
Analytics.shared.track("Seed Screen Viewed")
}

override fun onDestroy() {
super.onDestroy()

This comment has been minimized.

Copy link
@gmbnt

gmbnt Oct 7, 2019

Author Collaborator

?

This comment has been minimized.

Copy link
@Mikunj

Mikunj Oct 7, 2019

Collaborator

woops, this was when i was still thinking about where to put the logic, we can remove this.

toggleModeButton.setOnClickListener { toggleMode() }
toggleRestoreModeButton.setOnClickListener { mode = Mode.Restore }
toggleRegisterModeButton.setOnClickListener { mode = Mode.Register }
toggleLinkModeButton.setOnClickListener { mode = Mode.Link }
registerOrRestoreButton.setOnClickListener { registerOrRestore() }

This comment has been minimized.

Copy link
@gmbnt

gmbnt Oct 7, 2019

Author Collaborator

This does more than register or restore now

@gmbnt gmbnt merged commit 7116f25 into dev Oct 8, 2019
@gmbnt gmbnt deleted the multi-device branch Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.