User Tools

Site Tools


proton:admanager_tapjoy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
proton:admanager_tapjoy [2012/08/24 06:35]
seth
proton:admanager_tapjoy [2013/01/16 03:29] (current)
seth
Line 13: Line 13:
  
 Android note: If the tapjoy info was manually set in android/​src/​Main.java,​ the android build will ignore this. (to keep compatibility with old projects that did it that way) Android note: If the tapjoy info was manually set in android/​src/​Main.java,​ the android build will ignore this. (to keep compatibility with old projects that did it that way)
 +
 +== Troubleshooting ==
 +
 +If you see a *"​Error getting tapjoy ad - message - Tapjoy Ad request failed to receive any data."​* error in the log, chances are your ID isn't correct or you haven'​t added a "​currency"​ yet in your tapjoy account. ​ Tapjoy will NOT serve ads until you've setup currency or had the app specifically set by TJ to serve "​Non-rewarded"​ ads.  (You have to email them to do that)
  
 === Enabling Tapjoy for iOS build === === Enabling Tapjoy for iOS build ===
 +**NOTE** These directions are for Tapjoy V8.X.  They changed stuff in V9 and it doesn'​t work anymore. ​
 +
 +However, a V9 version is also supported but is missing the show banner feature at the moment (my game doesn'​t use it.. so I'm waiting to add it).  To use the V9 version, add TapjoyManagerV9.* instead of TapjoyManager.* below. ​ Also, define RT_TAPJOY_V9 project wide, in addition to the normal RT_TAPJOY_ENABLED.
 +
 +
 Download the Tapjoy iOS Publisher (+Virtual Goods) SDK and put the **TapjoyConnectVirtualGoodsSDK_iOS** directory in /​shared/​iOS. Download the Tapjoy iOS Publisher (+Virtual Goods) SDK and put the **TapjoyConnectVirtualGoodsSDK_iOS** directory in /​shared/​iOS.
  
Line 35: Line 44:
  
 === Enabling Tapjoy for Android build === === Enabling Tapjoy for Android build ===
 +**NOTE:​** ​ Tapjoy 8.X is supported, but not the new V9 where they broke the API.  Nobody wants to go into the java stuff and update it, so we're using the older version.
 +
 Download the Tapjoy Android Virtual Publishers SDK and copy the **com/​tapjoy** directory to **/​shared/​android/​optional_src/​com**. ​ (This is where Proton will expect to find the SDK files when doing the build) Download the Tapjoy Android Virtual Publishers SDK and copy the **com/​tapjoy** directory to **/​shared/​android/​optional_src/​com**. ​ (This is where Proton will expect to find the SDK files when doing the build)
  
Line 44: Line 55:
 </​code>​ </​code>​
  
-Edit android/​src/​Main.java and change // #define RT_TAPJOY_SUPPORT to //#define RT_TAPJOY_SUPPORT+Edit android/​src/​Main.java and change
 + 
 +<​code>​ 
 +// #define RT_TAPJOY_SUPPORT 
 + 
 +to 
 + 
 +//#define RT_TAPJOY_SUPPORT 
 +</​code>​
  
 Also look below in that file and change this to valid info: Also look below in that file and change this to valid info:
proton/admanager_tapjoy.1345790120.txt.gz · Last modified: 2012/08/24 06:35 by seth