Simple thing but important - there is no callback declaration in event RequestPermissionsEventData in TypeScript. Without calling this callback the WebRTC will not start, even the permissions will be granted.
This callback is implemented in the plugin, but there is no proper declaration available.
Which platform(s) does your issue occur on?
Problem description
Simple thing but important - there is no
callback
declaration in event RequestPermissionsEventData in TypeScript. Without calling this callback the WebRTC will not start, even the permissions will be granted.This callback is implemented in the plugin, but there is no proper declaration available.
Code
Instead of this:
Should be this:
as was on @nota/nativescript-webview-ext plugin (which this is based on).
Currently needs to use ts-ignore to compile TS with no declaration ie.
Please update this declaration on next version. Thanks.