CoronaView run parameters

Hello,

I’m integrating the CoronaCards SDK on iOS, and the documentation seems incomplete regarding this method:

@interface CoronaView : GLKView

  • (NSInteger)runWithPath:(NSString*)path parameters:(NSDictionary *)params;

@end

What are the different parameters ?

Is there a way to give a special path for the licence for example?

Thank you,

Rémy.

 

 

 

Indeed, documentation is missing. Valid keys are:

  • “orientation” value expected to be NSString as in build.settings

  • “contentWidth” and “contentHeight” - value NSNumber

Also, whole dictionary would be pushed as launch args to the main.lua (local launchArgs = …)

Have fun!

@vlads

We are currently running a CoronaCards project for both Android and iOS and we are having trouble getting landscape to work. 

How do we set the orientation (and any other parameters) for Android? Thanks!

Indeed, documentation is missing. Valid keys are:

  • “orientation” value expected to be NSString as in build.settings

  • “contentWidth” and “contentHeight” - value NSNumber

Also, whole dictionary would be pushed as launch args to the main.lua (local launchArgs = …)

Have fun!

@vlads

We are currently running a CoronaCards project for both Android and iOS and we are having trouble getting landscape to work. 

How do we set the orientation (and any other parameters) for Android? Thanks!