(xml: string, entry: string)
| 240 | } |
| 241 | |
| 242 | function insertAndroidPrefEntry(xml: string, entry: string): string { |
| 243 | const normalized = normalizeAndroidPrefsXml(xml); |
| 244 | return normalized.replace('</map>', `${entry}\n</map>`); |
| 245 | } |
| 246 | |
| 247 | function removeAndroidPrefEntry(xml: string, key: string): string { |
| 248 | const escapedKey = escapeRegex(key); |
no test coverage detected