danielsogl / awesome-cordova-plugins

Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
https://danielsogl.gitbook.io/awesome-cordova-plugins/
Other
2.4k stars 2.42k forks source link

[2.0.0-rc.0] - Cannot use native plugins #602

Closed vlados closed 7 years ago

vlados commented 8 years ago

After migrating to 2.0 RC0 I am unable to use native plugins. Example https://github.com/driftyco/ionic/issues/8261

baltazaroliveira commented 7 years ago

Have you used the UA-17772329-19? If yes i don´t have records...

Build-tools 23 (Android 6) Maybe the problem? Trying to change to build-tools 22 but don´t achieve..

What i do

npm rm -g ionic cordova npm i -g ionic@latest cordova@latest

Deleted node_modules folder Deleted platforms folder Deleted GA plugin

npm install // chart js npm install chart.js --save // crypto js npm install crypto-js --save

ionic plugin add cordova-plugin-google-analytics ionic platform add android ionic prepare android

ionic run android

After all i that i get in Chrome Developer Tools that the track is made, but i don´t see in GA.

image

  1. Start

image

2 and 3

image

I don´t get any records :-(

Network

image

Maybe plugin problem. I don´t know. I have do this procedure a lot of times...

Thanks in Advance

baltazaroliveira commented 7 years ago

After doing a lot of debug tests, i came to the conclusion that the problem come from my device. I test my app with another device and i get records. I have test also with native apps that i create and no records..

Conclusion: I have a app 'AddAway' that is blocking the GA requests. I revert the changes. Reboot and all Ok.

Thanks a lot for all responses especially to @ihadeed and @mlynch.

Problem Solved :-)