Tapjoy Currency Integration?

Social Media Widgets / In-App Purchases / HTTP

Moderators: ezraanderson, scottwb

Tapjoy Currency Integration?

Postby andrew.lundell » Sat Apr 13, 2013 4:58 pm

As far as I can tell, the only supported way to integrate Moai with tapjoy currency is to use a call-back URL and a the Moai cloud.

...I'm not 100% confident I know how to do that without making an error that I won't notice until after deployment.

Is there a piece of example code for tapjoy currency integration I could look at?

Thank you very much.

-Andy
Last edited by andrew.lundell on Sun Apr 14, 2013 3:05 pm, edited 1 time in total.
@apLundell <-- Follow Me!
andrew.lundell
 
Posts: 67
Joined: Fri Oct 07, 2011 10:07 pm

Re: Tapjoy Currency Integration

Postby andrew.lundell » Sat Apr 13, 2013 5:08 pm

I should add that I'm happy managing the currency device-side, all I really need from the server is a listing of how much currency TapJoy has added.
@apLundell <-- Follow Me!
andrew.lundell
 
Posts: 67
Joined: Fri Oct 07, 2011 10:07 pm

Re: Tapjoy Currency Integration?

Postby kreios » Mon Jan 20, 2014 4:49 am

Andrew,

Did you ever get TapJoy working?
I put a full day into it and after managing to work around several exceptions the best I could do is show the offer wall.
I couldn't figure out how to get how much currency the user had. But even calling the function to get the user id gave me an exception.

I'm guessing that this API hasn't been touched for a while and is now a bit out of date, but it seems only half implemented to begin with.
kreios
 
Posts: 66
Joined: Wed Jun 12, 2013 5:50 pm

Re: Tapjoy Currency Integration?

Postby ezraanderson » Mon Jan 20, 2014 11:51 am

~
Check this thread.
Dead Dark: A roguelike, zombie apocalypse survival game
My Website | My Facebook | My Twitter | My Games on Itunes | My Games on Android
User avatar
ezraanderson
 
Posts: 1094
Joined: Wed Nov 21, 2012 2:24 pm
Location: Canada

Re: Tapjoy Currency Integration?

Postby kreios » Wed Apr 02, 2014 5:48 am

Currently trying to get Tapjoy working with the new 1.5 framework, but so far no luck in figuring out how to get it compiled.
Moai is currently giving me the "attempt to index global 'MOAITapjoy' (a nill value)" error
kreios
 
Posts: 66
Joined: Wed Jun 12, 2013 5:50 pm

Re: Tapjoy Currency Integration?

Postby ezraanderson » Wed Apr 02, 2014 10:13 am

~
l 'MOAITapjoy' (a nill value)" error


Most likely means the modules not being built or registered in the moai.lib, I have not tried to get tapjoy to work but try just searching the source code directory for tapjoy references.

which platform are you trying ios or android?
Dead Dark: A roguelike, zombie apocalypse survival game
My Website | My Facebook | My Twitter | My Games on Itunes | My Games on Android
User avatar
ezraanderson
 
Posts: 1094
Joined: Wed Nov 21, 2012 2:24 pm
Location: Canada

Re: Tapjoy Currency Integration?

Postby kreios » Wed Apr 02, 2014 2:01 pm

I'm using iOS.
I can see the references to the tapjoy sdk in the project, but there is no MOAITapjoy class
Using MOAITapjoyIOS works, but gives me the following error when trying to initialize tapjoy:

"2014-04-03 07:31:46.591 moai[56029:907] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/.../Library/Application Support/iPhone Simulator/6.1/Applications/2510C68C-BF3D-4F3A-98F6-96463E5D1347/moai.app> (loaded)' with name 'TJCLoadingView''
*** First throw call stack:
(0x3b82012 0x3731e7e 0x3b81deb 0x2e99ef9 0x2e9b8da 0x280af9 0x2812f6 0x28116b 0x2810b0 0x278a72 0x278968 0x2cbcc3f 0x2776ed 0x26dda4 0x26dc4e 0x40e6014 0x40d809f 0x40d8061 0x26dbe3 0x26fba1 0x1aa964 0x5b94c2 0x5d727a 0x5b9ce7 0x5abd63 0x1d89d3 0x1e6e8e 0xbed6 0xa686 0x2c7b157 0x2c7b747 0x2c7c94b 0x2c8dcb5 0x2c8ebeb 0x2c80698 0x39ccdf9 0x3b05f3f 0x3b0596f 0x3b28734 0x3b27f44 0x3b27e1b 0x2c7c17a 0x2c7dffc 0xd676 0x8795 0x1)
libc++abi.dylib: terminate called throwing an exception"

Thats at the following line inside MOAITapjoyIOS::_init :
[ Tapjoy requestTapjoyConnect:ID secretKey:key ];
kreios
 
Posts: 66
Joined: Wed Jun 12, 2013 5:50 pm

Re: Tapjoy Currency Integration?

Postby kreios » Thu Apr 03, 2014 6:28 am

Turns out I wasn't including the bundle resources from the TJ SDK :?
kreios
 
Posts: 66
Joined: Wed Jun 12, 2013 5:50 pm

Re: Tapjoy Currency Integration?

Postby RurouniGPL » Fri May 29, 2015 1:04 am

Hi!

How can I resolve the ""2014-04-03 07:31:46.591 moai[56029:907] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/.../Library/Application Support/iPhone Simulator/6.1/Applications/2510C68C-BF3D-4F3A-98F6-96463E5D1347/moai.app> (loaded)' with name 'TJCLoadingView''" error?

Where did you include what?

Thanks!

Edit: Solved. But now Tapjoy Asks me for: "requestTapjoyConnect must be called and device ID must be available. SDK is disabled." :( I'll see how I solve that!
RurouniGPL
 
Posts: 244
Joined: Wed Jun 27, 2012 11:54 am


Return to Advertising + Networking + IAPs

Who is online

Users browsing this forum: No registered users and 0 guests

cron

x