GithubHelp home page GithubHelp logo

freshplanet / ane-chartboost Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 28.0 17.68 MB

Air Native Extension for Chartboost (iOS + Android)

License: Apache License 2.0

ActionScript 12.84% Java 30.51% C 36.96% Objective-C 19.69%

ane-chartboost's People

Contributors

ataugeron avatar bmarsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ane-chartboost's Issues

iPad 里闪退

iPhone 里测试成功,但是iPad 里 闪退 (2 代 ,iOS 5.1.1 )

works on iPhone , but crashs on iPad2 (iOS 5.1.1)

Can you fix it ?
Thanks

Android build

Im building just for Android on Windows 8, i set the build config with relevant paths for flex and Android SDK, i also setup the JAVA_HOME variable. But i get errors below when compiling , any ideas? Cant seem to find Android, even though i setup the SDK path? cheers

    [javac] Compiling 7 source files to Flash\ANE-Chartboost\andr
oid\temp\classes
    [javac] ANE-Chartboost\android\src\com\freshplanet\ane\
AirChartboost\AirChartboostExtension.java:21: package android.util does not exist
    [javac] import android.util.Log;
    [javac]                    ^
    [javac] ANE-Chartboost\android\src\com\freshplanet\ane\
AirChartboost\AirChartboostExtension.java:23: package com.adobe.fre does not exist
    [javac] import com.adobe.fre.FREContext;
    [javac]                     ^
    [javac] Flash\ANE-Chartboost\android\src\com\freshplanet\ane\
AirChartboost\AirChartboostExtension.java:24: package com.adobe.fre does not exist

Extension XML is not present or is invalid

Hi,

I have included the ane in my project, but Flash Builder (4.7) is showing an error message in the tab Native Extension under it:
"Extension XML is not present or is invalid"

And an error message in the console : unable to load SWC AirChartboost.ane

Then it become impossible to build the project. Is there something to do about that ?

-- EDIT

It works after downloading all (in my case, the zip), right click download on the ane in the bin folder wasnt working.

Issue closed !

Crash On iPhone OS 5.1.1

Hardware Model: iPad1,1
OS Version: iPhone OS 5.1.1 (9B206)

: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKeyedSubscript:]: unrecognized selector sent to instance 0x935780'
*** First throw call stack:
(0x3586588f 0x33489259 0x35868a9b 0x35867915 0x357c2650 0x661fe1 0x661b9b 0x65f611 0x65ec0f 0x4bae54 0x33e1a8 0x5ff8ff 0x5fef4d 0x5ff2bb 0x5ff057 0x5fea03 0x5fe22b 0x5c82bb 0x5fec15 0x5fea03 0x5fe22b 0x5c82bb 0x5fec15 0x5fea03 0x5fe22b 0x5c82bb 0x5fec15 0x5fea03 0x5d00cb 0x5c7cdd 0x5fdc63 0x2bd7f8 0x2bd364 0x2bce64 0x2be994 0x1a0cb0 0x3fa744 0xedad0 0x29b980 0x29c848 0x32f7f92b 0x32f7f319 0x32f65695 0x32f64f3b 0x3355722b 0x35839523 0x358394c5 0x35838313 0x357bb4a5 0x357bb36d 0x33556439 0x32f93cd5 0x1dccd0 0x65e714)

Did fail to load interstitial for location "Default".

Hello, i'm having difficulties using Chartboost,
I've set up a publishing campaign from dashboard, i have my device as a test device, I've added an android application(which is on market, i've selected it from the list) and published.

In game, whenever i request an interstitial
AirChartboost.getInstance().showInterstitial();
i get this>

[Chartboost] Should request interstitials in first session? Yes.
[Chartboost] Should request interstitial for location "Default"? Yes.
[Chartboost] Did fail to load interstitial for location "Default".

it appears i'm not having any connection problems.

How can i solve this?

Extension Context Error

Hello i have this error when i try to call a method from my object because the Extension Context is null , how can i fix it?

SDK Update?

The current version of the ANE works with Chartboost SDK 3.0.5. This version of the SDK tracks UDID and submitting with this version might cause rejection from Apple.

Do you plan on updating to the latest version of the Chartboost SDK?

Thanks so much,
Chris

Did fail to load interstitial for location "Default".

Hi,

I always get this error message on my devices (many)

Did fail to load interstitial for location "Default".

But the game is live and display ads (according to chartboost stats)

But i can't see any of this add on any of my devices

Any Idea

(By the way Thanks for sharing this native extension)

[trace] FailToLoadInterstitial

Dear Developers of ANE-Chartboost,
Could you help me please?
I try to show the Chartboost ads in my app but I have received the trace messages without ads:
[trace] [Chartboost] Should request interstitials in first session? Yes.
[trace] [Chartboost] Should request interstitial for location "Default"? Yes.
[trace] [Chartboost] Did fail to load interstitial for location "Default".
[trace] FailToLoadInterstitial

Could you help me please to solve this problem?
Thank you in advance for your help,
Vlad

http request: null error

Chartboost fixed the error in the new sdk so I had a question on updating. Is there any coding involved when adding new charboost jar? I added new .jar edited the build paths and when I build I get alot of errors.

Air not showing ads on Android

Hi, I used the ANE released on June, it worked for US but not for China. I was told to update to the latest ANE, but it is not showing ads at all.

Ad-hoc release build "Error occurred while packaging the application"

When I do an Ad-hoc release build It keeps crashing and giving me the error below when packaging for iOS. But if I do a debug build that's a "fast" or "standard" build it compiles fine, and I can even see the ads.

Why would it crash when doing a release build? Does this ANE need an update?

I'm using FB 4.7 and AIR 3.8.

If I remove this 1 line "AirChartboost.getInstance().showInterstitial();", the release build compiles fine and I can put it on the test iOS device.

"Error occurred while packaging the application:

AOT Compilation has failed while optimizing function public::AdsHelper.showFullscreenAd
Exception in thread "main" java.lang.NullPointerException
at java.util.TreeMap.getEntry(TreeMap.java:324)
at java.util.TreeMap.containsKey(TreeMap.java:209)
at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6150)
at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:6019)
at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4733)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)
at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:534)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:343)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:611)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)
Compilation failed while executing : ADT"

Bug when combining with the Network ANE from Adobe

The com.adobe.extension.Network ANE from Adobe was working fine before I integrated the Charboost ANE (and I'm using 4 other ANE: FB / MobileBackup / InApp / Revmob)

I'm getting this message when running it on my iphone and trying to access to the MAC address of the device:
Error #3500: The extension context does not have a method with the name getInterfaces.

I think there is some kind of conflicts between the two ANEs, but don't really know where as I'm not an expert building ANE.

You'll find the the Network ANE from Adobe here: http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/networkinfo.html

Not working with android..works fine on iOS

Thanks for the ANE but I am facing some issues with android deployment.

No interstitial ad is displayed on android when test mode is 'disabled'.
and If the test mode is 'enabled' the app crashes

Works fine with iOS.
Test ad seen in test mode and Real ads seen when in live mode.

The difference between the iOS and Android apps
1 App ID and App signature
2 activity addition to the xml in case of android
3. Permissions that I have set currently are for internet, write external storage and read phone state.

Any idea why the ane is not working on android?

AirChartboost + AIR15

having runtime issues with new AIR15 from Adobe. App crash during initialization. Anyone else using AIR15?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.