Later, `params.get()` compares result as a string (not a boolean) value, so I think `params.put()` should pass it as a string:

```
    params.put("hasNativeMenus", (options.hasNativeMenus ? "true" : "false"));
```