[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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

Post » Tue May 30, 2017 7:51 am

Thanks for sharing! @rexrainbow
B
162
S
27
G
17
Posts: 917
Reputation: 32,793

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
28
S
9
G
4
Posts: 359
Reputation: 4,246

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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest