Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Fix issue 118#166

Open
oxcarga wants to merge 6 commits intoopentok:mainfrom
oxcarga:issue-118
Open

Fix issue 118#166
oxcarga wants to merge 6 commits intoopentok:mainfrom
oxcarga:issue-118

Conversation

@oxcarga
Copy link
Copy Markdown

@oxcarga oxcarga commented Apr 16, 2019

This PR adds a completion handler for OT.initPublisher method

Contributing checklist

  • Code must follow existing styling conventions
  • Added a descriptive commit message

Solves issue(s)

#118

Hope this makes sense; We needed this callback to know exactly the moment initPublisher returns so we can publish to session right after that.

@oxcarga oxcarga changed the title Issue 118 Fix issue 118 Apr 18, 2019
@oxcarga
Copy link
Copy Markdown
Author

oxcarga commented Apr 18, 2019

@msach22 is the project receiving PR? I've seen some old ones not merged yet, so just wondering :)

@msach22
Copy link
Copy Markdown

msach22 commented Apr 29, 2019

@oxcarga Thanks for filing the PR - to keep a consistent code base, how do you feel about making the PR like this:
https://github.com/opentok/cordova-plugin-opentok/blob/master/src/js/OTSession.coffee#L25

This would make sure that we're waiting on the code to complete in the native layer before executing the callback. I would also confirm that these callbacks are being called from the native layer.

oxcarga added 3 commits March 3, 2020 14:33
* origin/issue-118:
  Adding completion handler for initPublisher - issue opentok#118
…Using "requireCordovaModule" to load non-cordova module "q"
* origin/master:
  Fix error "Failed to install 'cordova-plugin-opentok': CordovaError: Using "requireCordovaModule" to load non-cordova module "q"
@mheap mheap changed the base branch from master to main March 22, 2021 09:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants