Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8733221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:36:25+00:00 2026-06-13T09:36:25+00:00

By reading http://developer.chrome.com/extensions/management.html I get the impression if I add to my permissions manifest

  • 0

By reading http://developer.chrome.com/extensions/management.html I get the impression if I add to my permissions manifest thusly:

…
“permissions”: [“webRequest”, “storage”, “”, “management”],
…

I should now be able to do something like this:

if(chrome.management.get('installType') == "development") {
    DEVELOPMENT = true;
}

but the error message I receive,

Error during management.get: Failed to find extension with id installType 

leads me to think it REALLY wants an app id like:

chrome.runtime.id 

but the signature is pretty clear that that is not the case:

Error: Invocation of form management.get(string, string) doesn't match definition management.get(string id, optional function callback)

So my underlying question is: How do I do this neatly such that I can set a flag if I am in an unpacked (and therefore, me developing) mode and do additional stuff that will not be required when it’s in the extension store (in my case, change a web service endpoint)?

I couldn’t find a bunch of examples with management.get, so I’m thinking the either the invocation of .get I have above is flawed, my permissions are not correct, and/or the error message on .get is cut and paste from getAll : )

Let me know how I can clarify this, I’ve been bashing my head for an hour and probably could use some leading questions ; )

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:36:26+00:00Added an answer on June 13, 2026 at 9:36 am

    The installType property is part of the ExtensionInfo structure, so when you get your extension using get() or getAll() this property should be set for it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading the Gallery View tutorial : http://developer.android.com/resources/tutorials/views/hello-gallery.html . Is there anyway I
I am trying to get familiar with Java EE 6 by reading http://java.sun.com/javaee/6/docs/tutorial/doc/gexaf.html .
I was reading this http://developer.android.com/guide/topics/wireless/bluetooth.html#QueryingPairedDevices which is allot of help on how to pair,connect
I am reading Apple's sample codes at: http://developer.apple.com/library/mac/#samplecode/CocoaSlides/Introduction/Intro.html it works on a NSView #import
I was reading the new Android Design Standards here: http://developer.android.com/design/patterns/selection.html and was wondering first
I've been reading the following: http://developer.android.com/guide/practices/screens_support.html It's about the folders res-long-land-hdpi , res-notlong-land-dpi ,
I was reading this documentation page, http://developer.android.com/reference/android/util/Log.html . The section here caught my eye:
Reading from http://developer.android.com/guide/topics/wireless/bluetooth.html , The current Android Bluetooth API's require devices to be paired
I am reading this tutorial http://developer.android.com/guide/google/play/billing/billing_testing.html and it is really confusing me :) In
I was reading this two docs about Service in the Android SDK http://developer.android.com/reference/android/app/Service.html http://developer.android.com/guide/components/services.html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.