This is what happens when you try to do that - you pop up so many prompts that everyone just clicks "Allow" out of frustration anyways, which defeats the purpose.
The UI for it may be the toughest unsolved problem. Something must be done to simplify and group concepts. You can't just give the user a barrage of micro-permission dialogs.