radimitrov / CSharpShellApp

85 stars 18 forks source link

AndroidManifest question #245

Open sedoLevi609 opened 1 year ago

sedoLevi609 commented 1 year ago

Can you somehow implement the edit of AndroidManifest for scenarios(even to work in compiled apk), when I need to add queries/intent for Map or for features that requires these only for Android 11, like adding this:

Screenshot_20230221_094140_com huawei browser

?

Or for features, like camera(mediapicker) on android 11?

radimitrov commented 1 year ago

Queries? I think it is all basically strings so yes, should be implementable.

sedoLevi609 commented 1 year ago

@radimitrov Will you please implement it?

radimitrov commented 1 year ago

@sedoLevi609 Yes, I'm implementing it

sedoLevi609 commented 1 year ago

@radimitrov I see I can add queries to AndroidManifest, but should I do something after setting the queries text or it's doing auto-save after I change the text in queries? (I tried to search it in compiled apk(as zip) androidmanifest, but I can't see my queries, though as I see the androidmanifest.xml end is only from symbols, so I can't read it, and can't see my queries in the part that is readable)

radimitrov commented 1 year ago

@sedoLevi609 It should autosave. AndroidManifest.xml is stored (and edited in this case) in AXML or binary XML. You can use an app like Apk Analyzer to examine installed app's manifest as plain text.