SponsorPay Integrates PhoneGap Plugin into Its Platform

As a monetization solution, we want our partners to have every advantage possible. Our goal has always been to help developers maximize their app(s)’ revenue. The best way to do this is by targeting users that wouldn’t otherwise make an IAP. That’s why we offer eCPM’s and an ad-funded model that is optimal for both the user and the developer. Users can perform simple tasks such as installing an app to be rewarded with virtual currency or premium content.

As we continue to grow, with our platform now servicing nearly 40 million unique users a month, we’re always searching for new ways to spur on the continued growth our mobile partners as well.

One of the biggest problems in the mobile world is the cross-platform conundrum. There have been very few applications that have successfully crossed over from one platform to another. One of the biggest challenges for cross-platform apps occurs during the development stage because each platform requires different frameworks and languages. That’s why we’ve implemented the PhoneGap framework into our own platform.

As an open source framework for quickly building cross-platform mobile apps using HTML5, Javascript and CSS, PhoneGap tries to remedy cross-platform issues. PhoneGap uses standards-based web technologies to bridge web applications and mobile devices.

The SponsorPay PhoneGap plugin

The plugin bridges the native SDK for each platform to the PhoneGap JavaScript executing environment and leverage the cross-platform PhoneGap development model to provide a common JavaScript API on both iOS and Android. The plugin is structured as a bridge layer that sits between the PhoneGap application and the native SDK for each platform. The bridge itself is integrated into a JavaScript and a native layer.

Integration requires:

  • Dropping in the corresponding native SDK for the platform of choice (iOS or Android)
  • Adding the corresponding JavaScript files to your PhoneGap project
  • Registering the plugin in the plugin.xml file (for Android) or Cordova.plist (for iOS)
  • Adding the corresponding permissions and activities to the Android manifest (depending on the desired features)
  • Modifying the ExternalHosts settings on iOS to let the SDK access the network correctly.

You can find the plugin on SponsorPay’s developer site.

Read these next

Contact Us

    By sharing your information you are agreeing to receive communications in regards to any questions or requests submitted on this form. Fyber will keep your information solely for internal tracking purposes and will not use this information for any other purpose. You may request to delete the information provided at any time.

    If you send us a message by clicking the "Send" button, we use a recaptcha service provided by Google LLC to check whether the message was sent by a natural person or a computer program ("bot") in order to ensure that only valid user requests are forwarded to us. Google LLC processes personal information from your browser, such as your browser settings and your click behavior on this screen. Please refer to the Privacy Policy for further information on data processing procedures of our third-party services.

    Error: SSL certificate problem: certificate has expired