Out of curiosity, anyone ever tried or posted the way to add NWF JavaScript support from additional RPL files.
Let's say I create a new RPL with a single function named PrintHello() and want to access it from NWF JavaScript.
So far I found that the RPL must include the following functions:
void jsextension_load
void jsextension_unload
jsextension_load seems to create the JavaScript object in NWF by calling JSObjectMake() that is linked in libwebkitwiiu_rpl.rpl.
The config.xml file of your project must include the following tag with the name of the RPL (Example ext-example.rpl):
<feature name="ext-example"/>
Let's say I create a new RPL with a single function named PrintHello() and want to access it from NWF JavaScript.
Post automatically merged:
So far I found that the RPL must include the following functions:
void jsextension_load
void jsextension_unload
jsextension_load seems to create the JavaScript object in NWF by calling JSObjectMake() that is linked in libwebkitwiiu_rpl.rpl.
The config.xml file of your project must include the following tag with the name of the RPL (Example ext-example.rpl):
<feature name="ext-example"/>
Last edited by BigPanda,