Ionic-native upgrading from 4.20 to 5.0.0

#1

I’ve a working Ionic 3 app using ionic-native 4.20 if i upgrade to 5.0.0 i’ve this error running:
[app-scripts] [16:40:28] typescript: src/app/app.component.ts, line: 25
[app-scripts] Cannot find name ‘StatusBar’.
[app-scripts] L24: public statusBar: StatusBar,
[app-scripts] L25: public splashScreen: SplashScreen,
[app-scripts] L26: public translate: TranslateService,
[app-scripts] Cannot find name ‘SplashScreen’.
[app-scripts] L25: public splashScreen: SplashScreen,
[app-scripts] [16:40:28] typescript: src/app/app.component.ts, line: 26
[app-scripts] L26: public translate: TranslateService,
[app-scripts] L27: public store: Store,
[app-scripts] [16:40:28] typescript: src/app/app.module.ts, line: 95
[app-scripts] Argument of type ‘{ declarations: (typeof TabsPage | typeof LoginPage | typeof TermsOfServicePage | typeof
[app-scripts] OtpVerif…’ is not assignable to parameter of type ‘NgModule’. Types of property ‘providers’ are
[app-scripts] incompatible. Type ‘(typeof IonicErrorHandler | typeof Store | typeof LoggerService | DeviceOriginal |
[app-scripts] typeof ApiServ…’ is not assignable to type ‘Provider’. Type ‘typeof IonicErrorHandler | typeof Store |
[app-scripts] typeof LoggerService | DeviceOriginal | typeof ApiServi…’ is not assignable to type ‘Provider’. Type
[app-scripts] ‘DeviceOriginal’ is not assignable to type ‘Provider’. Type ‘DeviceOriginal’ is not assignable to type
[app-scripts] ‘ClassProvider’. Property ‘provide’ is missing in type ‘DeviceOriginal’.
[app-scripts] [16:40:28] typescript: src/pages/home/home.ts, line: 40
[app-scripts] [16:40:28] typescript: src/pages/signup/signup.ts, line: 80
[app-scripts] [16:40:28] typescript: src/providers/api.service.ts, line: 15
[app-scripts] [16:40:28] typescript: src/providers/geolocation.service.ts, line: 24
[app-scripts] L95: @NgModule({
[app-scripts] L96: declarations: [
[app-scripts] Cannot find name ‘Network’.
[app-scripts] L39: public datetimePipe: DatetimePipe,
[app-scripts] L40: public network: Network,
[app-scripts] L41: public alertCtrl: AlertController,
[app-scripts] Cannot find name ‘Sim’.
[app-scripts] L79: public formBuilder: FormBuilder,
[app-scripts] L80: private sim: Sim
[app-scripts] Cannot find name ‘Device’.
[app-scripts] L14: public store: Store,
[app-scripts] L15: public device: Device) {
[app-scripts] L16: this.state = store.getState();
[app-scripts] Argument of type ‘{ timeout: number; enableHighAccuracy: boolean; }’ is not assignable to parameter of type
[app-scripts] ‘PositionCallback’. Type ‘{ timeout: number; enableHighAccuracy: boolean; }’ provides no match for the
[app-scripts] signature ‘(position: Position): void’.
[app-scripts] L23: return new Promise((resolve, reject) => {
[app-scripts] L24: this.geolocation.getCurrentPosition(this.GEOLOCATION_SETTINGS).then((user_position) => {
[app-scripts] L25: console.log(“getGeolocation - SUCCESS”, user_position);
[app-scripts] [16:40:28] copy finished in 3.03 s

Some help ?
my Ionic Info:
Ionic:

ionic (Ionic CLI) : 4.9.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4, browser 5.0.4, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic 5.2.1, cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 3.1.0, (and 10 other plugins)

System:

Android SDK Tools : 26.1.1 (/Users/mauro/Library/Android/sdk/)
ios-deploy : 2.0.0
ios-sim : 5.0.13
NodeJS : v10.15.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS Mojave
Xcode : Xcode 10.1 Build version 10B61