Ionic 4 plugin

@Cordova and @Plugin… produce some error in v4, while in v3 have no issue with it, im facing this issue while migrating to v4