title: Google Maps API Key referrer for file:///
body: <p>I have a situation with an application that I deploy a Google Map that can be displayed in three different locations:</p>
  
  <ul>
  <li>In Application Webview</li>
  <li>Preview in browser</li>
  <li>Published to a server</li>
  </ul>
  
  <p>So I need the user to have added some referrers to there api key to cover them for the time they publish to their own server.</p>
  
  <p>They can add a referrer just fine for both the published map on their own server, and the preview in browser locally aspects.</p>
  
  <p>But I can't figure out what you add as a referrer for the situation when the map is previewed in the applications web view, and the url for the page at that point is a file:/// referenced url?</p>
  
  <p>If we leave all referrers blank for a complete wildcard api key it works in the webview in app.</p>
  
  <p>I have tried about as many configurations as I can think of for a referrer for file:/// url but no luck:</p>
  
  <p>I tried:</p>
  
  <p>file</p>
  
  <p>file*</p>
  
  <p>file/*</p>
  
  <p>file:///*</p>