[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
108
S
26
G
268
Posts: 4,456
Reputation: 150,247

Post » Tue May 30, 2017 7:51 am

Thanks for sharing! @rexrainbow
B
157
S
27
G
17
Posts: 910
Reputation: 32,588

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
24
S
7
G
4
Posts: 326
Reputation: 3,878

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
108
S
26
G
268
Posts: 4,456
Reputation: 150,247

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
108
S
26
G
268
Posts: 4,456
Reputation: 150,247

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
49
S
7
G
1
Posts: 39
Reputation: 2,653

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
108
S
26
G
268
Posts: 4,456
Reputation: 150,247

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
49
S
7
G
1
Posts: 39
Reputation: 2,653


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 2 guests