Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Tapjoy offerwall never makes callback
    primarykey
    data
    text
    <p>I am using TapJoys offerwall to give the users a way to get "free" game coins for stuff, however, the offerwall never makes the callback when i return to my activity.</p> <p>I think i have the relevant implements</p> <pre><code>public class MainActivity extends BaseGameActivity implements ITimerCallback, TapjoyAwardPointsNotifier, TapjoyEarnedPointsNotifier, TapjoyNotifier { </code></pre> <p>and i do connect to the server.</p> <pre><code>// Enables logging to the console. TapjoyLog.enableLogging(true); // Connect with the Tapjoy server. TapjoyConnect.requestTapjoyConnect(getApplicationContext(), appID, secretKey); TapjoyConnect.getTapjoyConnectInstance().setEarnedPointsNotifier(MainActivity.this); </code></pre> <p>I call the offerwall like this</p> <pre><code>TapjoyConnect.getTapjoyConnectInstance().showOffersWithCurrencyID( currencyID, false); </code></pre> <p>And my callback methods that never gets called</p> <pre><code>@Override public void earnedTapPoints(int amount) { displayText = "Earned points: " + amount; Log.d(TAG, displayText); gameToast(displayText); } @Override public void getUpdatePoints(String currencyName, int pointTotal) { displayText = "Earned points: " + pointTotal; Log.d(TAG, displayText); gameToast(displayText); } @Override public void getUpdatePointsFailed(String error) { Log.d(TAG, error); gameToast(displayText); } @Override public void getAwardPointsResponse(String s, int i) { displayText = s + i; Log.d(TAG, displayText); gameToast(displayText); } @Override public void getAwardPointsResponseFailed(String s) { Log.d(TAG, s); gameToast(s); } </code></pre> <p>None of the toasts get shown and there is nothing in the log...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload