don / ionic-ble-examples

Ionic Framework Bluetooth Low Energy Examples
102 stars 70 forks source link

So many errors in Ionic 5 #19

Open pedros89 opened 3 years ago

pedros89 commented 3 years ago

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

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.

MOODYWAA500 commented 3 years ago

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