Search code examples
androidmapsgoogle-chrome-arc

Google Maps in Chrome ARC


I recently saw that ARC is now supporting a few Google Play Services including Google Maps.

When using the ARC Welder, I specify the following metadata:

{"usePlayServices":["maps"]}

According to the documentation here, I must also include the crx_key value in the metadata. When doing so, the additional metadata appears as such:

{
 "usePlayServices":["maps"],
 "crx_key":"<KEY FROM WEBSTORE>"
}

Attempting to Launch the App causes an "Error Loading Extension" message:

Error Message

Any ideas as to why I'm receiving this error? I made sure the key has no white spaces/line returns as mentioned in the documentation.


Solution

  • When copying your public key from the web store, it's important to select exactly the right thing. The highlighted portion below is the public key, make sure not to select the -----BEGIN/END PUBLIC KEY----- annotations, and to remove any line breaks / whitespace (as you said you already had).

    The public key here is MIIB...QAB