Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix v5 imports for file-transfer plugin #2537

Merged
merged 1 commit into from
Jun 23, 2018

Conversation

nicolashenry
Copy link
Contributor

Imports in v5 are broken for file-transfer plugin, for example :

import { IonicNativePlugin, instanceAvailability, cordovaInstance } from '@ionic-native/core';

which is wrong because the checkAvailability function import is removed from the original file which break FileTransferObject constructor.

It should be :

import { IonicNativePlugin, instanceAvailability, cordovaInstance, checkAvailability } from '@ionic-native/core';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants