I want to get extension id of my chrome extension in extension codes. I know that extension id is a fixed string after being published to web store. But before it is published, the id changes when loaded from local folder. If I can get the id in codes, it will make debugging and testing much easier.
chrome.runtime.id
works! Thanks to @Robbi,
More info about propertyId can be found over Chrome Docs