bug: inject, insert a single line
Marius-Romanus opened this issue · 2 comments
Marius-Romanus commented
Hello, it seems that this happens again, if we insert two lines, it only inserts the first one.
- file: AndroidManifest.xml
target: manifest
inject: |
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
thanks, greetings!
mlynch commented
I'd have to look more closely but something else you could try in the meantime is a merge:
target: manifest
merge: |
<manifest>
<uses-permission <!--...-->
<uses-permission <!--..-->
</manifest>
Marius-Romanus commented
Hello, checked the merge works well, also it does not duplicate it if it already exists.