danielsogl / awesome-cordova-plugins

Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
https://danielsogl.gitbook.io/awesome-cordova-plugins/
Other
2.38k stars 2.43k forks source link

SMS is not compatible with Angular Ivy #4713

Closed ivopashov closed 1 week ago

ivopashov commented 4 months ago

I'm submitting a ... (check one with "x")

Current behavior: Hey, just created a fresh IONIC app and I try using the SMS plugin but get

g]   node_modules/@awesome-cordova-plugins/sms/ngx/index.d.ts:40:22
[ng]     40 export declare class SMS extends AwesomeCordovaNativePlugin {
[ng]                             ~~~
[ng]     This likely means that the library (@awesome-cordova-plugins/sms/ngx) which declares SMS is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
[ng] 

I also run latest angular/ionic/sms plugin:

    "@angular/core": "^17.0.2",
    "@ionic/angular": "^7.0.0",
    "@capacitor/core": "5.6.0",
    "@awesome-cordova-plugins/core": "^6.6.0",
    "@awesome-cordova-plugins/sms": "^6.6.0",

Expected behavior: SMS plugin works

Steps to reproduce: Nothing specific. Try install and import the SMS plugin.

Related code:

N/A

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Ionic:

   Ionic CLI                     : 7.1.1 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 7.6.3
   @angular-devkit/build-angular : 17.0.9
   @angular-devkit/schematics    : 17.0.9
   @angular/cli                  : 17.0.9
   @ionic/angular-toolkit        : 9.0.0

Capacitor:

   Capacitor CLI      : 5.6.0
   @capacitor/android : not installed
   @capacitor/core    : 5.6.0
   @capacitor/ios     : not installed

Utility:

   cordova-res : not installed globally
   native-run  : 2.0.0

System:

   NodeJS : v20.10.0 (/usr/local/bin/node)
   npm    : 10.2.3
   OS     : macOS Unknown
johndoeetfils commented 2 months ago

J'ai le même problème sur tous les @awesome-cordova-plugins !!!

github-actions[bot] commented 2 weeks ago

There has been no recent activity and this issue has been marked inactive.