Skip to content

upsight/AdrallySDKAdMob

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

After importing the AdMob SDKs into your project (https://developers.google.com/mobile-ads-sdk/download);

iOS (AdRally SDK version 2.4.3)

  1. import libAdRallyAdMob.a to your project. This Library contains both the AdRally SDK as well as the AdMob adapter class for AdRally.

  2. Add the following libraries to your project under “Build Phases” > “Link Binary With Libraries”

  • Accelerate.framework
  • AdSupport.framework
  • AudioToolbox.framework
  • AVFoundation.framework
  • CoreGraphics.framework
  • CoreLocation.framework
  • CoreMedia.framework
  • CoreTelephony.framework
  • EventKit.framework
  • EventKitUI.framework
  • Foundation.framework
  • GameKit.framework
  • iAd.framework
  • libsqlite3.dylib
  • libxml2.dylib
  • libz.dylib
  • MediaPlayer.framework
  • MessageUI.framework
  • MobileCoreServices.framework
  • QuartzCore.framework
  • Social.framework (weak link)
  • StoreKit.framework
  • SystemConfiguration.framework
  • Twitter.framework
  • UIKit.framework
  • WebKit.framework
  1. Add -ObjC to your project's linker flags under "Build Settings" > "Linking" > "Other Linker Flags"

Android (AdRally SDK version 2.4.2)

  1. import FuseSDK.jar to your project. This Jar contains both the AdRally SDK as well as the AdMob adapter class for AdRally.
  2. In your manifest:
  • Add the following permissions if not already included
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />

<!-- The following permission is optional but can greatly improve ad performance. -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  • Add a <meta-data> tag that references the Google Play Services version
<meta-data android:name="com.google.android.gms.version"
  android:value="@integer/google_play_services_version" />
  • Add the following <activity> elements
<activity
    android:name="com.fusepowered.m2.mobileads.M2Activity"
    android:configChanges="keyboardHidden|orientation|screenSize" />
<activity
    android:name="com.fusepowered.m2.mobileads.M2RActivity"
    android:configChanges="keyboardHidden|orientation|screenSize" />
<activity
    android:name="com.fusepowered.m2.common.M2Browser"
    android:configChanges="keyboardHidden|orientation|screenSize" />
<activity
    android:name="com.fusepowered.m2.mobileads.M2RvpActivity"
    android:configChanges="keyboardHidden|orientation|screenSize" />

<activity
    android:name="com.fusepowered.u1.U1InterstitialActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:hardwareAccelerated="true"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />

<activity
    android:name="com.fusepowered.ads.adapters.FuseInterstitialActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:noHistory="true"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />

<activity
    android:name="com.fusepowered.l1.AdActivity"
    android:configChanges="orientation|keyboardHidden|screenSize"
    android:hardwareAccelerated="true" />
<activity
    android:name="com.fusepowered.l1.AdBrowserActivity" />

<activity
    android:name="com.fusepowered.ac.ACOActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity
    android:name="com.fusepowered.ac.ACFActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />
<activity
    android:name="com.fusepowered.ac.ACBActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />

<activity
    android:name="com.fusepowered.ads.adapters.MRaidActivity"
    android:hardwareAccelerated="true"
    android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|screenSize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
    android:windowSoftInputMode="adjustResize" />
<activity
    android:name="com.fusepowered.ads.adapters.MRaidVideoActivity"
    android:hardwareAccelerated="true"
    android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|screenSize"
    android:theme="@android:style/Theme.Black.NoTitleBar"
    android:windowSoftInputMode="adjustResize" />

<activity
    android:name="com.fusepowered.as.view.ASVastInterstitialActivity"
    android:theme="@android:style/Theme.Translucent"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<activity
    android:name="com.fusepowered.as.view.ASWebviewInterstitialActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<activity android:name="com.fusepowered.as.view.ASVpaidInterstitalActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />

<activity
    android:name="com.fusepowered.al.adview.ALInterstitialActivity" />
<activity
    android:name="com.fusepowered.al.adview.ALConfirmationActivity" />

<activity
    android:name="com.fusepowered.ads.adapters.ALActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />

<activity android:name="com.fusepowered.im.rendering.InMobiAdActivity"
    android:configChanges="keyboardHidden|orientation|keyboard|smallestScreenSize|screenSize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar"
    android:hardwareAccelerated="true" />

<activity
    android:name="com.google.android.gms.ads.AdActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.Translucent" />

<activity
    android:name="com.fusepowered.vast.activity.VASTActivity"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
    android:screenOrientation="sensorLandscape" />

<activity
    android:name="com.fusepowered.nx.monetization.activities.InterstitialActivity"
    android:configChanges="orientation|screenSize"
    android:hardwareAccelerated="true"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity
    android:name="com.fusepowered.nx.videoplayer.VideoActivity"
    android:configChanges="orientation|screenSize" />

<activity
    android:name="com.apptracker.android.module.AppModuleActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
    android:hardwareAccelerated="false" />

About

Repository for the Adrally SDK AdMob adaptor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published