Giter VIP home page Giter VIP logo

cordova-plugin-smaato's People

Contributors

gogodigimo avatar phfsantos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cordova-plugin-smaato's Issues

googleplayservices

Hello there, hope you are all doing well.
I'm having a problem while I try to install the plugin smaato, here is the npm error:

$ cordova plugin add cordova-plugin-smaato
Fetching plugin "cordova-plugin-smaato" via npm
Installing "cordova-plugin-smaato" for android
Notice: [email protected] has been automatically converted to cordova-plugin-googleplayservices and fetched from npm. This is due to our old plugins registry shutting down.
Fetching plugin "[email protected]" via npm
Failed to install 'cordova-plugin-smaato':CordovaError: Failed to fetch plugin [email protected] via registry.

Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: version not found: [email protected]
    at c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\fetch.js:146:33
    at _rejected (c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:797:24)
    at c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:823:30
    at Promise.when (c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1035:31)
    at Promise.promise.promiseDispatch (c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:741:41)
    at c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:557:44
    at flush (c:\Users\Cedrik\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
    at doNTCallback0 (node.js:408:9)
    at process._tickCallback (node.js:337:13)
Error: Failed to fetch plugin [email protected] via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: version not found: [email protected]

Doesn't work with PhoneGap Build created apps.

If I create an app with visual studio on my local machine, the ads display perfectly. However, if I run the same code through PhoneGap Build, the resulting xap file doesn't show the apps when run in the same emulator I was using the local build. Is there possibly something I'm missing here? Any guidance would be much appreciated.

Windows 10 click count

I finally got this set up in my cordova project and do receive the banner ads. Also, when I click on an ad the ad does open up into the window like I would expect however my click count does not change in Smaato even after waiting a day. Has anybody seen this and if so is there a config or something I am missing? Currently this is all I have:

var simpleAd = new Smaato(newEle, {
publisherId: myPubId,
adId: myAdId
});
$timeout(function () {
simpleAd.show();
}, 7000);

Iframe is empty using cordova

Hello,
i've followed the example rules.
1- create an account
2 - set up your publisher ID (juste replaced the publisherId in example code and let banners ids as it is)
3 - run the example code (corrected with document.body.appendChild(div); )

the iframe is created but with the following code

<div style="display: block; overflow: hidden; position: fixed; height: 90px; width: 728px; bottom: 0px; left: -184px;"><iframe sandbox="allow-scripts allow-popups allow-forms allow-top-navigation" seamless="seamless" scrolling="no" name="webview" style="width: 100%; height: 100%; overflow: hidden; position: relative; z-index: 2001;"></iframe></div>

And so, i don't see any add :'(
Could you help me ?

thanks

Getting a build error for Android with PhoneGap

Anyone else getting a build error for Android with this plugin?

Any insight @phfsantos ?

Build Log:

` Build Date: 2017-08-16 17:02:31 +0000
Subproject Path: CordovaLib
Configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preReleaseBuild UP-TO-DATE
:checkReleaseManifest
:preDebugBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:prepareComAndroidSupportAppcompatV72531Library
:prepareComAndroidSupportCardviewV72531Library
:prepareComAndroidSupportCustomtabs2531Library
:prepareComAndroidSupportSupportCompat2531Library
:prepareComAndroidSupportSupportCoreUi2531Library
:prepareComAndroidSupportSupportCoreUtils2531Library
:prepareComAndroidSupportSupportFragment2531Library
:prepareComAndroidSupportSupportMediaCompat2531Library
:prepareComAndroidSupportSupportV132340Library
:prepareComAndroidSupportSupportV42531Library
:prepareComAndroidSupportSupportVectorDrawable2531Library
:prepareComFacebookAndroidFacebookAndroidSdk4250Library
:prepareComGoogleAndroidGmsPlayServicesAds830Library
:prepareComGoogleAndroidGmsPlayServicesAnalytics1102Library
:prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1102Library
:prepareComGoogleAndroidGmsPlayServicesBase1102Library
:prepareComGoogleAndroidGmsPlayServicesBasement1102Library
:prepareComGoogleAndroidGmsPlayServicesGcm1102Library
:prepareComGoogleAndroidGmsPlayServicesIid1102Library
:prepareComGoogleAndroidGmsPlayServicesTagmanagerV4Impl1102Library
:prepareComGoogleAndroidGmsPlayServicesTasks1102Library
:prepareMeLeolinShortcutBadger1114Library
:prepareProjectCordovaLibUnspecifiedReleaseLibrary
:prepareReleaseDependencies
:compileReleaseAidl
:compileReleaseRenderscript
:generateReleaseBuildConfig
:generateReleaseResValues
:generateReleaseResources
:mergeReleaseResources
:processReleaseManifest
:processReleaseResourceswarning: string 'com_facebook_loginview_log_in_button_continue_f1gender' has no default translation.
warning: string 'com_facebook_loginview_log_in_button_continue_m2gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_action_f1gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_action_m2gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_button_f1gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_button_m2gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_as_f1gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_as_m2gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_using_facebook_f1gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_using_facebook_m2gender' has no default translation.
warning: string 'com_facebook_send_button_text_f1gender' has no default translation.
warning: string 'com_facebook_send_button_text_m2gender' has no default translation.
warning: string 'com_facebook_share_button_text_f1gender' has no default translation.
warning: string 'com_facebook_share_button_text_m2gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_cancel_f1gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_cancel_m2gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_continue_as_f1gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_continue_as_m2gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_title_f1gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_title_m2gender' has no default translation.
warning: string 'com_facebook_tooltip_default_f1gender' has no default translation.
warning: string 'com_facebook_tooltip_default_m2gender' has no default translation.

:generateReleaseSources
:incrementalReleaseJavaCompilationSafeguard
:compileReleaseJavaWithJavac
:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:compileReleaseNdk UP-TO-DATE
:compileReleaseSources
:mergeReleaseShaders
:compileReleaseShaders
:generateReleaseAssets
:mergeReleaseAssets
:transformClassesWithDexForRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':transformClassesWithDexForRelease'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzbf;

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.19 secs
Error: /project/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
warning: string 'com_facebook_loginview_log_in_button_continue_f1gender' has no default translation.
warning: string 'com_facebook_loginview_log_in_button_continue_m2gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_action_f1gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_action_m2gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_button_f1gender' has no default translation.
warning: string 'com_facebook_loginview_log_out_button_m2gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_as_f1gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_as_m2gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_using_facebook_f1gender' has no default translation.
warning: string 'com_facebook_loginview_logged_in_using_facebook_m2gender' has no default translation.
warning: string 'com_facebook_send_button_text_f1gender' has no default translation.
warning: string 'com_facebook_send_button_text_m2gender' has no default translation.
warning: string 'com_facebook_share_button_text_f1gender' has no default translation.
warning: string 'com_facebook_share_button_text_m2gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_cancel_f1gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_cancel_m2gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_continue_as_f1gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_continue_as_m2gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_title_f1gender' has no default translation.
warning: string 'com_facebook_smart_login_confirmation_title_m2gender' has no default translation.
warning: string 'com_facebook_tooltip_default_f1gender' has no default translation.
warning: string 'com_facebook_tooltip_default_m2gender' has no default translation.

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':transformClassesWithDexForRelease'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzbf;

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) `

Banners are covering some content

Hi,
I just tried integrating this into an Ionic 2 app.
Had some errors but i have figured that out.

The challenge now is ,unlike the admob plugin, the banners doesnt render outside my normal content,so its in effect covering any content i have at the bottom(i am using a leaderboard positioned at the bottom).

Also, the interstitial doesnt dissapear after its clicked, and it appears by default even though i set autoshow to false.

Thanks

Any readme ?

Hello,

Could you give us information on how use your plugin please ?

Thanks in advance

Failed to execute 'appendChild' on 'Node'

Just tried using this plugin to call an interstitial ad, however get the following errors:
Uncaught HierarchyRequestError: Failed to execute 'appendChild' on 'Node': Only one element on document allowed.
Failed to execute 'appendChild' on 'Node': Only one element on document allowed.

Any idea why this happens? I'm not using any other div tags on the page...
Also is this plugin still supported/working?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.