[plugin] rex_jsshell (invoke javascript function)

Post your work in progress addons and get feedback

Post » Sat May 27, 2017 2:30 pm

Document, plugin and sample capx files are included.

It is similar with call javascript plugin, but my plugin could receiving callback of javascript function.
It is possible to use this plugin to invoke javascript function of cordova plugin.
B
109
S
27
G
277
Posts: 4,482
Reputation: 154,924

Post » Tue May 30, 2017 7:51 am

Thanks for sharing! @rexrainbow
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Tue May 30, 2017 10:12 pm

It was missing for me. Thank you!
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
26
S
8
G
4
Posts: 336
Reputation: 4,050

Post » Fri Jun 02, 2017 3:26 am

Update

Add "Action:Set object type", "Action:Create instance" to create javascript object.
Add "Action:Add C2 function callback" to trigger c2 function as callback.
B
109
S
27
G
277
Posts: 4,482
Reputation: 154,924

Post » Thu Jul 06, 2017 3:00 am

Add more examples : A simple test of deepstream.io's client
- Deepstream.io
- DeepstreamHub

This example also could run at C3, too.
B
109
S
27
G
277
Posts: 4,482
Reputation: 154,924

Post » Fri Sep 15, 2017 7:04 am

Hi @rexrainbow.
Can you give us a really simple example .capx file how to use this plugin to call function from cordova plugin.
Because many cordova plugin don't have c2 plugin, so this is really useful.
Thank you.
B
53
S
10
G
2
Posts: 43
Reputation: 3,511

Post » Fri Sep 15, 2017 7:54 am

@mickeyboy

Example of invoking cordova plugin, made by @gonzdevour .It requires rex_hash plugin I guess.
B
109
S
27
G
277
Posts: 4,482
Reputation: 154,924

Post » Fri Sep 15, 2017 8:13 am

rexrainbow wrote:@mickeyboy

Example of invoking cordova plugin, made by @gonzdevour .It requires rex_hash plugin I guess.


Thank you.
B
53
S
10
G
2
Posts: 43
Reputation: 3,511

Post » Fri Nov 17, 2017 4:33 am

Update:

- Fix possible bug in expression:Prop
- Add messages when invoking invalid function, or getting invalid property.
B
109
S
27
G
277
Posts: 4,482
Reputation: 154,924


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests