Hi. I’ve got the error Uncaught ReferenceError: plugin is not defined. It is point googlemaps.js. I use it anywhere. My app has some cordova plugins but don’t has the plugin.
Just want to ping this and say I’m also having a similar issue. It only seems to be on a clean install of ionic2 within the last 8 hours or so.
For those with this issue that aren’t using googlemaps and don’t need this code to actually work a simple, albeit ugly, workaround is to comment out the offending codeblock within www/build/js/app.bundle.js:
In 1.3.9 bug comes again , plugin is not defined on serve and on android build.
D/StatusBar.MSimNetworkController( 1192): refreshSignalCluster, mMSimPhoneSignalIconId[0]=com.android.systemui:drawable/old_stat_sys_signal_4_fully mMSimDataSignalIconId[0]=com.android.systemui:drawable/old_stat_sys_signal_4_fully mMSimDataTypeIconId[0]=com.android.systemui:drawable/stat_sys_data_fully_connected_4g mMSimMobileActivityIconId[0]=(null) mNoMSimIconId[0]=(null)
I/chromium(15111): [INFO:CONSOLE(33659)] "EXCEPTION: Error: Uncaught (in promise): EXCEPTION: Error in :0:0
I/chromium(15111): ORIGINAL EXCEPTION: ReferenceError: plugin is not defined
I/chromium(15111): ORIGINAL STACKTRACE:
I/chromium(15111): ReferenceError: plugin is not defined
I/chromium(15111): at new GoogleMap (file:///android_asset/www/build/js/app.bundle.js:73664:32)