Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

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.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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