From 4d5a595d4936f419a9a14ef35f52232e91725f11 Mon Sep 17 00:00:00 2001 From: d0c Date: Wed, 19 Apr 2017 22:44:34 +0200 Subject: [PATCH] fix --- hooks/after_prepare/030_remove_permissions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/after_prepare/030_remove_permissions.js b/hooks/after_prepare/030_remove_permissions.js index d053b3d..a39f532 100755 --- a/hooks/after_prepare/030_remove_permissions.js +++ b/hooks/after_prepare/030_remove_permissions.js @@ -32,8 +32,8 @@ fs.readFile( manifestFile, "utf8", function( err, data ) { result = result.replace(search, ''); } - fs.writeFile( manifestFile, data, "utf8", function( err ){ + fs.writeFile( manifestFile, result, "utf8", function( err ){ if (err) return console.log( "Error writing AndroidManifest.xml", err ); }); -} ); \ No newline at end of file +} );