nativescript-community / ui-webview

Extended WebView which adds many options such as custom scheme handlers, JavaScript execution, URL capturing, and more.
Apache License 2.0
13 stars 7 forks source link

angular import error #7

Open achebrol opened 1 year ago

achebrol commented 1 year ago

I am trying to use this package in my angular project and i see angular support is missing in latest version(1.4.4) but it works in old version 1.3.5.

import { WebViewExtModule } from '@nativescript-community/ui-webview/angular';

Can some one help?

akhil888binoy commented 1 year ago

It's possible that the latest version of @nativescript-community/ui-webview has removed support for Angular, or it could be a bug. Here are some steps you can take to troubleshoot the issue:

Check the package's documentation or GitHub repository to see if there are any known issues or changes in Angular support for the latest version. It's possible that the package may have changed its Angular API or dropped support altogether.

If you're using Angular 11 or later, make sure you have installed the @angular/compat package. This package provides backward compatibility with older Angular APIs and can help resolve issues with packages that haven't been updated to the latest version of Angular.

Try downgrading to an older version of @nativescript-community/ui-webview that supports Angular. You mentioned that version 1.3.5 worked for you, so you could try downgrading to that version until the package adds support for the latest version of Angular.

If none of the above steps work, consider filing a bug report with the package's maintainers. They may be able to provide further guidance or address the issue in a future release.

farfromrefug commented 1 year ago

@achebrol @akhil888binoy it is a bug.