{"id":23338757,"url":"https://github.com/appfeel/tappx-phonegap-build","last_synced_at":"2026-01-21T17:33:31.994Z","repository":{"id":65514534,"uuid":"57396303","full_name":"appfeel/tappx-phonegap-build","owner":"appfeel","description":"Phonegap Build Tappx plugin","archived":false,"fork":false,"pushed_at":"2019-01-05T01:16:25.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T09:43:42.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appfeel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-29T15:54:39.000Z","updated_at":"2019-01-05T01:16:27.000Z","dependencies_parsed_at":"2023-01-26T21:05:18.174Z","dependency_job_id":null,"html_url":"https://github.com/appfeel/tappx-phonegap-build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Ftappx-phonegap-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Ftappx-phonegap-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Ftappx-phonegap-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Ftappx-phonegap-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appfeel","download_url":"https://codeload.github.com/appfeel/tappx-phonegap-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666005,"owners_count":20975785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-21T03:16:20.352Z","updated_at":"2026-01-21T17:33:31.948Z","avatar_url":"https://github.com/appfeel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Tappx Phonegap and Cordova plugin\n===============================\n\nThis is the [Tappx](http://www.tappx.com/?h=dec334d63287772de859bdb4e977fce6) plugin for Phonegap \u0026 Cordova. Start monetizing your Phonegap or Cordova apps with this plugin.\n\n---\n## Platform SDK supported ##\n\n* iOS, using AdMob SDK for iOS, v7.3.1\n* Android, using Google Play Service for Android, v7.5\n\n---\n## Install\n\nAdd the following tag to your `config.xml` file to show [Tappx](http://www.tappx.com/?h=dec334d63287772de859bdb4e977fce6) ads with your **Phonegap Build** apps:\n\n```xml\n\u003cgap:plugin name=\"tappx-phonegap-build\" source=\"npm\"/\u003e\n```\n\n\nTo use the plugin with [**Cordova** or with **Phonegap CLI**](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface) type the following command in your command line:\n\n```shell\ncordova plugin add tappx-phonegap\n```\n\n---\n## Setup\n\n*Note: Before continuing, ensure that you have a proper [Tappx](http://www.tappx.com/?h=dec334d63287772de859bdb4e977fce6) account, and optionally, an [Admob](https://apps.admob.com/admob/signup) account.*\n\nPlace the following code in your `deviceready` event:\n```javascript\n    function onDeviceReady() {\n      document.removeEventListener('deviceready', onDeviceReady, false);\n\n      // Set AdMobAds options:\n      admob.setOptions({\n        publisherId:          \"NONE\",                                    // Replace with your AdMob id (if you don't have any, set it to \"NONE\")\n        tappxIdiOS:           \"/XXXXXXXXX/Pub-XXXX-iOS-IIII\",            // Replace with your Tappx Id for iOS\n        tappxIdAndroid:       \"/XXXXXXXXX/Pub-XXXX-Android-AAAA\",        // Replace with your Tappx Id for Android\n        tappxShare:           1                                          // Do not use lower tappxShare ratio if you have set publixherId to \"NONE\"\n      });\n\n      // Start showing banners (will show atomatically as autoShowBanner is set to true by default)\n      admob.createBannerView();\n\n      // Request interstitial (will present automatically as autoShowInterstitial is set to true by default)\n      admob.requestInterstitial();\n    }\n\n    document.addEventListener(\"deviceready\", onDeviceReady, false);\n```\n\n`tappxShare` parameter will specify the amout of traffic you want to share to Tappx, being 0 = 0% and 1 = 100%.\n\nIn example, if you would like to share 80% traffic source to Tappx and the rest to Admob, this would be the corresponding configuration:\n\n```javascript\n      // Set AdMobAds options:\n      admob.setOptions({\n        publisherId:          \"ca-app-pub-XXXXXXXXXXXXXXXX/BBBBBBBBBB\",  // Replace with your AdMob id\n        tappxIdiOS:           \"/XXXXXXXXX/Pub-XXXX-iOS-IIII\",            // Replace with your Tappx Id for iOS\n        tappxIdAndroid:       \"/XXXXXXXXX/Pub-XXXX-Android-AAAA\",        // Replace with your Tappx Id for Android\n        tappxShare:           0.8                                        // Do not use lower tappxShare ratio if you have set publixherId to \"NONE\"\n      });\n```\n\n---\n## Full documentation ##\n\nVisit the [wiki](https://github.com/appfeel/tappx-phonegap/wiki) pages to know in detail about Tappx Cordova plugin, where you will find the following topics:\n\n* [Home](https://github.com/appfeel/tappx-phonegap/wiki)\n* [Index](https://github.com/appfeel/tappx-phonegap/wiki/Index)\n* [Change Log](https://github.com/appfeel/tappx-phonegap/wiki/Change-Log)\n* [Testimonials](https://github.com/appfeel/tappx-phonegap/wiki/Testimonials)\n* [Setup](https://github.com/appfeel/tappx-phonegap/wiki/Setup)\n* [Javascript API](https://github.com/appfeel/tappx-phonegap/wiki/Javascript-API)\n  * [setOptions](https://github.com/appfeel/tappx-phonegap/wiki/setOptions)\n  * Banners\n    * [createBannerView](https://github.com/appfeel/tappx-phonegap/wiki/createBannerView)\n    * [showBannerAd](https://github.com/appfeel/tappx-phonegap/wiki/showBannerAd)\n    * [destroyBannerView](https://github.com/appfeel/tappx-phonegap/wiki/destroyBannerView)\n  * Interstitials\n    * [requestInterstitialAd](https://github.com/appfeel/tappx-phonegap/wiki/requestInterstitialAd)\n    * [showInterstitialAd](https://github.com/appfeel/tappx-phonegap/wiki/showInterstitialAd)\n  * In app purchase\n    * [recordResolution](https://github.com/appfeel/tappx-phonegap/wiki/recordResolution)\n    * [recordPlayBillingResolution](https://github.com/appfeel/tappx-phonegap/wiki/recordPlayBillingResolution)\n* [Complete example code](https://github.com/appfeel/tappx-phonegap/wiki/Complete-example-code)\n* [Contributing](https://github.com/appfeel/tappx-phonegap/wiki/Contributing)\n* [Screenshots](https://github.com/appfeel/tappx-phonegap/wiki/Screenshots)\n* [Angular.js, Ionic apps](https://github.com/appfeel/tappx-phonegap/wiki/Angular.js,-Ionic-apps)\n\n---\n## License ##\n```\nThe MIT License\n\nCopyright (c) 2014 AppFeel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n\n---\n## Credits ##\n\n* [appFeel](http://www.appfeel.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfeel%2Ftappx-phonegap-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappfeel%2Ftappx-phonegap-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfeel%2Ftappx-phonegap-build/lists"}