Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 231011

Newbie question about committing Android Java files into repo

$
0
0

Hi,

In my project I am using the cordova-file-opener2 package and I needed to modify something in the file node_modules\cordova-plugin-file-opener2\src\android\io\github\pwlin\cordova\plugins\fileopener2\FileProvider.java.

If I modify the file after building the app in Android Studio, the changes won’t persist because the file will be reverted whenever I ran ionic cap sync. So to make the update permanent, I will have to modify it directly in the node_modules folder.

Can anyone give me some guidance for committing modified Java source files that originated from Cordova plugins?

Thank you in advance.


Viewing all articles
Browse latest Browse all 231011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>