I'm adding them for the demo levels of my game, keeping the rest paid. Looks like AppleTV owners have deep wallets. That is of course when applovin works on appletv (in Gideros).
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I think i'll try some apps as paid and some free with ads later when applovin works on appletv too in my case. I currently await the submission pass on the first one before I open the flood gates of app ports to this device
I tried to build AppLoving for Appletv with the same code, unfortunately it builds all for simulator and lauches too. And I don't have a device to try to build for real architecture.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Hmm, but you don't get that error when you are using AppLoving with ios SDK as previously?
I have no idea where did that came from. and I don't experience anything like that when building in apple tv simulator. Does Apple TV does not have UIViews anymore?
I have no idea as never used AppLovin with iOS before (I use Chartboost for iOS) and only used AppLovin with Android until now
I downloaded the tvOS AppLovin SDK and pulled all the ads stuff on github from gideros/gideros/plugins/ads/source/iOS/Plugins/Ads & Frameworks Followed their guide to implant it along with that.
That is what I get on compile to either simulator and real device.
Maybe I am using the wrong ads framework compared to you but I thought the path above is the one I should be using and the only other giderosplugins dir on github is Mar'15 and that is old stuff.
I went thru it all again just now and tried stuck your fixed AppLovin.m code over what I rebuilt (with a clean each time) and now I get this single error on both simulator and real device so something got a bit better at least
// // AdsProtocol.h // Ads // // Created by Arturs Sosins on 6/25/13. // Copyright (c) 2013 Gideros Mobile. All rights reserved. //
Nope, I rebuilt everything again this morning using the newly TV macro'd AdsApplovin.mm you provided above earlier and the latest AppLovin tvOS sdk etc. It results in this build error on both TV simulator and real device. I only target Apple TV in my build and no mobile devices as it's just a TV only app.
Comments
Will wrap them in macro then
Likes: MobAmuse
Hope we can get this working soon
Likes: SinisterSoft
Likes: MobAmuse
https://deluxepixel.com
And I don't have a device to try to build for real architecture.
So maybe you @MobAmuse or someone else can tinker around Applovin part and enclose unsupported stuff into such macro:
https://github.com/gideros/gideros/commit/f6ae468f2a182f4034d8ac89153a02022fe8540a
And of course you can try this latest code, maybe this one check was already enough?
https://raw.githubusercontent.com/gideros/gideros/f6ae468f2a182f4034d8ac89153a02022fe8540a/plugins/ads/source/iOS/Plugins/Ads/frameworks/AdsApplovin.m
Likes: MobAmuse
Likes: MobAmuse
https://deluxepixel.com
Likes: SinisterSoft
Likes: MobAmuse
https://deluxepixel.com
//
// AdsClass.h
// Ads
//
// Created by Arturs Sosins on 6/25/13.
// Copyright (c) 2013 Gideros Mobile. All rights reserved.
//
#import
#include "ads.h"
@interface AdsClass : NSObject
+(void)init;
+(void)cleanup;
+(UIViewController*)getRootViewController;
^^^
Expected a type
I also get the same for building for real device too.//
// AdsProtocol.h
// Ads
//
// Created by Arturs Sosins on 6/25/13.
// Copyright (c) 2013 Gideros Mobile. All rights reserved.
//
#import
@protocol AdsProtocol
-(id)init;
-(void)destroy;
-(void)setKey:(NSMutableArray*)parameters;
-(void)loadAd:(NSMutableArray*)parameters;
-(void)showAd:(NSMutableArray*)parameters;
-(void)hideAd:(NSString*)type;
-(void)enableTesting;
-(UIView*)getView;
^^^
Expected a type
I have no idea where did that came from. and I don't experience anything like that when building in apple tv simulator. Does Apple TV does not have UIViews anymore?
Likes: MobAmuse
I downloaded the tvOS AppLovin SDK and pulled all the ads stuff on github from gideros/gideros/plugins/ads/source/iOS/Plugins/Ads & Frameworks
Followed their guide to implant it along with that.
That is what I get on compile to either simulator and real device.
Maybe I am using the wrong ads framework compared to you but I thought the path above is the one I should be using and the only other giderosplugins dir on github is Mar'15 and that is old stuff.
I've probably done something wrong again
//
// AdsProtocol.h
// Ads
//
// Created by Arturs Sosins on 6/25/13.
// Copyright (c) 2013 Gideros Mobile. All rights reserved.
//
#import
@protocol AdsProtocol
-(id)init;
-(void)destroy;
-(void)setKey:(NSMutableArray*)parameters;
-(void)loadAd:(NSMutableArray*)parameters;
-(void)showAd:(NSMutableArray*)parameters;
-(void)hideAd:(NSString*)type;
-(void)enableTesting;
-(UIView*)getView;
^^^
Expected a type
@SinisterSoft Any joy with any of this?
Gone in paid for now with several TV apps anyway.
Cheers,