Cordova PluginResult Problem

For developers using the Construct 2 Javascript SDK

Post » Tue Jun 28, 2016 6:06 pm

Hi
im creating construct plugin for Magnet Ad Service
when i use this code:
Code: Select all
public void onReceive() {
        PluginResult pr = new PluginResult(PluginResult.Status.OK, "onMagnetInterstitialAdReceived");
        pr.setKeepCallback(true);
        MagnetCordovaPlugin.callbackContextKeepCallback.sendPluginResult(pr);
      }

it is return OK string

this is the cordova plugin i created:
Code: Select all
http://www.4shared.com/zip/M73Nj_Bmba/magnet-cordova-plugin.html
B
4
S
1
Posts: 8
Reputation: 316

Post » Wed Jun 29, 2016 9:27 am

Problem solved :)
B
4
S
1
Posts: 8
Reputation: 316


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest