I am using barcode scanner module on my Titanium Android app to scan barcode. However, because of this library my app is requesting too many permissions from users which include READ_HISTORY_BOOKMARKS and WRITE_CONTACT. Obviously this is unnecessary and too intrusive for end-users.
Is there any way that I can remove some of the permissions?
I have already tried editing custom AndroidManifest file. But it always adds back those permissions in the .gen file.

I tried editing tiapp.xml, but as it only adds to AndroidManifest.xml, that doesn't help either. Of course, I know I have to modified the module as my last resort. I just wonder if there are other options. can someone provide more constructive answers?
–
coderekMay 22 '12 at 11:19

have you removed your 'build' folder and build from scratch? The android manifest is build from the tiapp. So if you remove it there, it should be done
–
Rene PotMay 22 '12 at 11:27

Thanks for all the hints! I got the solution. Just need to change the AndroidManifest.xml in the timodule.xml.
–
coderekMay 22 '12 at 12:23