Skip to main content
Participant
December 4, 2016
Question

Coercion failed with ANE's classes

  • December 4, 2016
  • 0 replies
  • 237 views

I experience something that looks like an ApplicationDomain related error with 2 ANEs, but I can't spot how that even happen... and how to get rid of those.

Excerpt:

TypeError: Error #1034: Type Coercion failed: cannot convert com.freshplanet.ane.AirInAppPurchase::InAppPurchaseProducts@10a8c7e51 to com.freshplanet.ane.AirInAppPurchase.InAppPurchaseProducts

I use other ANEs in the same app that don't have the same issue.

I reached a dead-end of trial and error attempts to solve that. Any idea where I should look into?

Tested with AIR SDK 23 and 24 (beta)

EDIT: When the app is built in release mode, the feature works. My problem is kinda solved (it's now just that I can test it in debug mode).

This topic has been closed for replies.