ionic-team / ionic-starter-super

The Ionic 2 Super Starter 🎮

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Cannot find name 'Camera' and Cannot find name 'GoogleMaps'

davidgv88 opened this issue · comments

Error

captura de pantalla 2017-05-12 a las 9 20 32

FIX

ionic plugin add --save cordova-plugin-camera
npm install --save @ionic-native/camera

And:

ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
npm install --save @ionic-native/google-maps

Would there be any option to automatically install these two packages?

I will add them Into the package.json