So, i have a project in Android Studio, which I use in a plugin, which is used in an Ionic project, via an aar file. I generate the aar file by clicking in the right side of Android Studio, (where it says Graddle), expanding my project/task/build, and clicking in assemble release. The Graddle starts to work, and I have, in myProject/build/outputs/aar, an aar file. It was ok, for a time. I detected some errors in that code, corrected them, and generated the aar again.
Then, I take that aar file, copied it, and pasted in the folder specified in plugin.xml file:
<resource-file src="aar/library.aar" target="aar/library.aar" />
Then, I compile the project (the plugin, I should say) using packagr:
"packagr": "ng-packagr -p package.json && cd dist && npm pack && move *.tgz ../../"
This way, a tgz file is generated. after that, I go to the project root (the one that uses the plugin) and do
npm install @namespace/my-plugin-name
Everything looks ok. I run the project in a device...and the changes in the aar are not reflected.
Am I doing something wrong? Why are the changes not reflected?