ionic-ble-examples icon indicating copy to clipboard operation
ionic-ble-examples copied to clipboard

So many errors in Ionic 5

Open pedros89 opened this issue 5 years ago • 1 comments

Hello, I have just downloaded the code to test it to implement it in my application but there are so many errors. Anybody could post a link where the code has been corrected for usage in Ionic 5 in home.page.ts and detail.page.ts some errors are: cannot find modules... URL does not point to a valid file.. BLE refers to a value, but is being used as a type here... Property 'present' does not exist on type <HTMLIonToastElement>

in app.component.ts cannot resolve all paramenters for MyApp 'StatusBar ' refers to a value, but is being used as a type here 'ion-nav- is a not known element

If you have a link with this example working for Ionic 5 it would be great as this code is obsolete.

pedros89 avatar Nov 20 '20 08:11 pedros89

same here < but ionic 4+ have change a lot of thing and one of the things is nav-push = push data to pages

this.navCtrl.push(DetailPage, { device: device

, now they use router and ActivatedRoute now , put with the selected thing i got lose i hope someone helps you

MOODYWAA500 avatar Aug 18 '21 22:08 MOODYWAA500