Admobs ADs missing in PhoneGap InAppBrowser - android

I'm building a Android application using jQuery Mobile and PhoneGap. I incorporated admob into the project using the phonegap admob plugin from Github. In my project, I open external links using PhoneGap's InAppBrowser feature. My ADs show up well in the App at the bottom of the screen, however upon clicking an external link in the App and the InAppBrowser window appears...the ads disappear. But when I'm done with the external link in the InAppBrowser window and then go back to the main App view, the ADs show up normally. What's the best way to fix this please? I'm using PhoneGap 2.9

Related

Using Mobile Ads SDK with IONIC

I'm making an hibrid App using Ionic, Angular and Capacitor.
I need to use the Google Mobile Ads SDK to show banners. I try with the AdMob plugin for capacitor, but it lacks of Native Ads, that are the main core of my App.
I added the SDK directly in Android Studio but I don't know which files I have to edit to insert the banners in the right position.
It's possible using this approach, or I have to try others possibilities?
You cant have NATIVE ADS on Ionic solution, because the Webview schema.
Some plugin use a absolute position to have native, but the scroll is very bad.

Google native ad click not working in android

I am using google native ad GoogleNativeAdsAddon-1.0.0.jar , native ad showing properly but click event on image and text not working. means it is not redirecting on any webpage . i also debug the code and find contentAd.performClick(NativeContentAd.ASSET_HEADLINE);
for headline not redirecting on any page . for testing i am using test id of native ad
The add-on jar for Google's native ad architecture is no longer necessary, and no longer works. Just use the latest version of the SDK (8.4.0 at the moment). It has all the resources necessary to show native ads from AdMob and DFP.

Open Intel XDK links in system browser?

I've been working on an HTML5 app in the Intel XDK lately and part of the app is buttons that link to external websites. I'm having a problem with the apps opening in the same window, which then causes the user to get stuck in the browser. I'm using the Jquery mobile framework currently. I constantly call the link to open in a "_blank" target, and have also tried several other things such as "window.load". What do I do to get this to work? The app has to work with android and iOS. Any help is appreciated.
Use the Cordova inAppBrowser plugin, see the docs here: https://github.com/apache/cordova-plugin-inappbrowser You will want to use _system target with it.

XDK - open link in browser without using Cordova

I want you to open a link in my app via browser not in Appview. I ma making my html5 mobile app via xdk. I don't want to use cordova in my app as my app is heavy enogh and don't want to make it heavier because of just one link.
I saw this :
www.kidzout.com
But the problem is I must install Cordova InAppBrowser plugin for this to work. Do you have any solution without using Cordova or external plugins? Do you think is it possible at all?
You can open a link in the native browser(Mobile Safari, Android, etc.) from within a HTML5 Mobile app using the intel.xdk API formerly AppMobi.
In the head, include a reference to the intelxdk.js file.
<script src="intelxdk.js"></script>
Use this for opening your link:
Launch in Browser
For more information, go to http://www.html5dev-software.intel.com/documentation/jsAPI/device/launchExternal/index.html
If you are opening a remote URL in your webview and adding javascript is not an option, you can make a patch in native code.
Here I show the workaround for Android:
https://stackoverflow.com/a/35037737/813951

AdMob with Android Phonegap. Open native browser/market

Is it possible to open AdMob web links in native browser and market links in market app?
I.e. now when I click on the add my Phonegap WebView overrides by Ad content and there is no way back except pressing Back button (I should click many times to go back in some cases).
I'm using Phonegap 1.0 and "Smartphone Web" AdMob.
I would imagine this is a setting in the admob code you put in your UIWebView

Categories

Resources