hy guys, I just added the native photo library of ionic 2 to my project through following commands:
$ ionic plugin add cordova-plugin-photo-library --variable PHOTO_LIBRARY_USAGE_DESCRIPTION=“To choose photos”
$ npm install --save @ionic-native/photo-library
However now I am not able to build for ios. Following error occurs on ionic serve and also on ionic build ios
Module ‘"/Volumes/El Capitan/IonicApp/ionic2/TrendoBK/node_modules/ionic-native/dist/es5/index"’ has no exported member ‘PhotoLibrary’
Module ‘"/Volumes/El Capitan/IonicApp/ionic2/TrendoBK/node_modules/ionic-native/dist/es5/index"’ has no
exported member ‘LibraryItem’
Anybody facing the same issue or solved the issue, please let me know.
Thanks