cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <>
Subject [jira] [Commented] (CB-11670) Config.xml option to disable/change top menu items, icons
Date Fri, 05 Aug 2016 23:05:20 GMT


Tobias Bocanegra commented on CB-11670:

in order to change the menus, you need to edit the {{MainViewController.xib}} and add/remove
the menu items you desire. But then you also need to provide the action handlers, which have
to be in objc, for example call your JS code from there. As this all is not so easy, there
is no simple way of controlling this via config file. Maybe you could create a plugin that
manipulates the main menu.

As a side note: the OSX cordova port is mainly targeted for kiosk like apps, that run fullscreen
and have no desktop interaction. Similar to the mobile apps, which don't have menus either.
if you need a more sophisticated cross platform javascript framework for building desktop
apps, I suggest to look into [electron|]

> Config.xml option to disable/change top menu items, icons
> ---------------------------------------------------------
>                 Key: CB-11670
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: OSX
>         Environment: Mac OSX Elcapitan
>            Reporter: Abhishek Jha
>            Assignee: Tobias Bocanegra
>              Labels: documentation, easyfix
> Hello,
> By default the cordova-osx app loads with a pre-assumed icon, pre-assumed top menu with
edit, search etc but not everybody needs them. Infact we need the ability to change these
from any of these ways in our cordova code:
> 1. be it js 
> 2. or html meta tags 
> 3. or config.xml
> So that our app can use only things we want. 
> This request is keeping in mind that people using cordova-osx have only html/css/js/cordova
experience and no experience in xcode or objective-c.
> And also for the short term until this is fixed, please tell me how to change the menu,
icons etc in cordova-osx from xcode or whatever and put it in the github/documentation so
that people dont ask same question again.
> Thanks

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message