This is just from adding the documented side effect import (import 'nativescript-angular-webview-crypto';) and adding <polyfill-crypto></polyfill-crypto> to our main app template. I haven't tested with any other versions of Angular/NativeScript/TypeScript, and we're also using AOT compilation if that makes a difference.
Error at /home/gibson/cyph/tmp/node_modules/nativescript-angular-webview-crypto/index.ts:4:36: Argument of type '() => typeof WebViewCrypto' is not assignable to parameter of type 'ViewResolver'.
Type 'typeof WebViewCrypto' is not assignable to type 'ViewClass'.
Type 'WebViewCrypto' is not assignable to type 'View'.
Property 'android' is missing in type 'WebViewCrypto'.