Monday, 8 August 2016

javascript, ng2, Ionic

To see current versions:

npm outdated -g

---------------------------------------------------------------------------
To clean npm cache

npm cache clean

---------------------------------------------------------------------------
To debug ionic app on device:

ionic cordova run android --device -l --debug


Then inspect with chrome


In case of error google play missing related:

https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/77

---------------------------------------------------------------------------

Error mipmap when running app using google maps,

edit file:

app_path\platforms\android\res\xml\authenticator.xml

comment out

<!-- <account-authenticator
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:accountType="@string/account_type"
    android:icon="@mipmap/icon"
    android:smallIcon="@mipmap/icon"
    android:label="@string/app_name"/> -->


---------------------------------------------------------------------------

To get Google Map API Key:

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v1.4.0/Installation/windows/cli/README.md

No comments:

Post a Comment