instance_ = nullptr;
}
+std::string WebRuntime::AppID() const {
+ auto app_data = common::ApplicationDataManager::GetCurrentAppData();
+ return app_data->app_id();
+}
+
std::string WebRuntime::GetMessage() const {
return "message from C++";
}
prototype->SetClassName(mate::StringToV8(isolate, "WRT"));
// TODO: Needs adding necessary interface methods
mate::ObjectTemplateBuilder(isolate, prototype->PrototypeTemplate())
+ .SetProperty("appID", &WebRuntime::AppID)
.SetMethod("getMessage", &WebRuntime::GetMessage)
.SetMethod("getPath", &WebRuntime::GetPath)
.SetMethod("isTizenWebApp", &WebRuntime::isTizenWebApp)
app.on('ready', function(event) {
runtime_debug('ready');
_this.extensionManager = new ExtensionManager(EXTENSIONS_PATH);
- if (!options.noExtensions) {
+ if (!options.noExtensions && wrt.appID !== 'NVPDzvckj9.RuntimeAddonSetting') {
_this.extensionManager.build();
}
_this.extensionManager.activateAll(app);