URL scheme not populating launchArgs nor calling app open event on Android

Hi,

I’m trying to set up URL scheme handling in my Corona app, receiving parameters. I can correctly receive parameters in 3 out of 4 of the following scenarios:

  • App cold open iOS: works (launchArgs are not populated, but the applicationOpen event is triggered)

  • App resume iOS: works (via applicationOpen event)

  • App cold open Android: does not work (launchArgs are not populated, and applicationOpen event is not triggered)

  • App resume Android: works (via applicationOpen event)

First, it seems inconsistent that ‘applicationOpen’ is called on cold open on iOS but not Android.

Second, I don’t know why I can’t get to populate launchArgs, I’m basically just doing something like this in my main.lua:

local launchArgs = ... printTable(launchArgs) -- prints nil

The app gets called via:

appname://?key=value

Thanks,

No takers? :slight_smile:

We will probably need you to put together a simple project that demonstrates the problem. It needs to be complete project with main.lua, config.lua, build.settings and any assets needed to run and put that in a zip file and email it to support@coronalabs.com. In the body of the email provide a description of the problem and the steps to reproduce it.

Thanks

Rob

I have the same problem. Except I’m not developing for iOS

As I suggested above, we need simple project that demonstrates the problem. We need a .zip file with at a minimum main.lua, config.lua and build.settings and any other assets, ID’s etc. as needed so we can build, install and test the project and see it fail.

Please put that in a .zip file and use the “Report a bug” link at the top of the page.

Thanks

Rob

I sent a zip file to that email address shortly after that post.  I didn’t use the Report a Bug feature. Let me know if I need to resend

I don’t see any tickets based on your email address.

Rob

No takers? :slight_smile:

We will probably need you to put together a simple project that demonstrates the problem. It needs to be complete project with main.lua, config.lua, build.settings and any assets needed to run and put that in a zip file and email it to support@coronalabs.com. In the body of the email provide a description of the problem and the steps to reproduce it.

Thanks

Rob

I have the same problem. Except I’m not developing for iOS

As I suggested above, we need simple project that demonstrates the problem. We need a .zip file with at a minimum main.lua, config.lua and build.settings and any other assets, ID’s etc. as needed so we can build, install and test the project and see it fail.

Please put that in a .zip file and use the “Report a bug” link at the top of the page.

Thanks

Rob

I sent a zip file to that email address shortly after that post.  I didn’t use the Report a Bug feature. Let me know if I need to resend

I don’t see any tickets based on your email address.

Rob